Explicit PrefetchAnime call

This commit is contained in:
2017-07-05 14:34:33 +02:00
parent 9d28c652c0
commit a94b69d671
5 changed files with 6 additions and 15 deletions

View File

@ -29,6 +29,7 @@ func BenchmarkRenderThread(b *testing.B) {
func BenchmarkRenderAnimeList(b *testing.B) {
user, _ := arn.GetUser("4J6qpK1ve")
animeList := user.AnimeList()
animeList.PrefetchAnime()
b.ReportAllocs()
b.ResetTimer()