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

Function BenchmarkCacheGetExpiring

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

Source from the content-addressed store, hash-verified

1442}
1443
1444func BenchmarkCacheGetExpiring(b *testing.B) {
1445 benchmarkCacheGet(b, 5*time.Minute)
1446}
1447
1448func BenchmarkCacheGetNotExpiring(b *testing.B) {
1449 benchmarkCacheGet(b, NoExpiration)

Callers

nothing calls this directly

Calls 1

benchmarkCacheGetFunction · 0.85

Tested by

no test coverage detected