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

Function BenchmarkCacheSetExpiring

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

Source from the content-addressed store, hash-verified

1591}
1592
1593func BenchmarkCacheSetExpiring(b *testing.B) {
1594 benchmarkCacheSet(b, 5*time.Minute)
1595}
1596
1597func BenchmarkCacheSetNotExpiring(b *testing.B) {
1598 benchmarkCacheSet(b, NoExpiration)

Callers

nothing calls this directly

Calls 1

benchmarkCacheSetFunction · 0.85

Tested by

no test coverage detected