- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for benchmarkCacheGetSetConcurrent (0.27 sec)
-
pkg/cache/ttlCache_test.go
c := NewTTL(5*time.Minute, 1*time.Minute) benchmarkCacheSetConcurrent(c, b) } func BenchmarkTTLGetSetConcurrent(b *testing.B) { c := NewTTL(5*time.Minute, 1*time.Minute) benchmarkCacheGetSetConcurrent(c, b) } func BenchmarkTTLSetRemove(b *testing.B) { c := NewTTL(5*time.Minute, 1*time.Minute) benchmarkCacheSetRemove(c, b)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.5K bytes - Viewed (0) -
pkg/cache/cache_test.go
c.Set("foo3", "bar") c.Set("foo4", "bar") c.Set("foo5", "bar") c.Set("foo6", "bar") c.Set("foo7", "bar") } wg.Done() }() } wg.Wait() } func benchmarkCacheGetSetConcurrent(c Cache, b *testing.B) { c.Set("foo1", "bar") c.Set("foo2", "bar") c.Set("foo3", "bar") c.Set("foo4", "bar") c.Set("foo5", "bar") c.Set("foo6", "bar") c.Set("foo7", "bar")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:49 UTC 2023 - 8.5K bytes - Viewed (0)