Removed benchmark
This commit is contained in:
parent
b04f7dd9fe
commit
2c37bcf6dd
@ -6,21 +6,7 @@ import (
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
func BenchmarkDBAnimeListGetMap(b *testing.B) {
|
||||
user, _ := arn.GetUser("4J6qpK1ve")
|
||||
|
||||
b.ReportAllocs()
|
||||
b.ResetTimer()
|
||||
|
||||
b.RunParallel(func(pb *testing.PB) {
|
||||
for pb.Next() {
|
||||
animeList, _ := arn.GetAnimeList(user.ID)
|
||||
noop(animeList)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
func BenchmarkDBAnimeListGet(b *testing.B) {
|
||||
func BenchmarkDatabaseGetAnimeList(b *testing.B) {
|
||||
b.ReportAllocs()
|
||||
b.ResetTimer()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user