MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / BenchmarkCacheSetNotExpiring

Function BenchmarkCacheSetNotExpiring

pkg/util/cache/cache_test.go:1597–1599  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

1595}
1596
1597func BenchmarkCacheSetNotExpiring(b *testing.B) {
1598 benchmarkCacheSet(b, NoExpiration)
1599}
1600
1601func benchmarkCacheSet(b *testing.B, exp time.Duration) {
1602 b.StopTimer()

Callers

nothing calls this directly

Calls 1

benchmarkCacheSetFunction · 0.85

Tested by

no test coverage detected