From cb2a6f9a9204cd9d013d4ab7ab54e0d5a21189a3 Mon Sep 17 00:00:00 2001 From: Maria Ines Parnisari Date: Tue, 28 Nov 2023 12:01:00 -0800 Subject: [PATCH] test benchmark alert --- benchmark_cache_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmark_cache_test.go b/benchmark_cache_test.go index 7e66aef9..dc1a1e5c 100644 --- a/benchmark_cache_test.go +++ b/benchmark_cache_test.go @@ -47,6 +47,7 @@ func BenchmarkCache(b *testing.B) { for i := 0; i < b.N; i++ { key := strconv.Itoa(i) _, _ = cache.GetItem(key) + time.Sleep(1 * time.Second) } })