MCPcopy Create free account
hub / github.com/devfeel/dotweb / BenchmarkTestGet

Function BenchmarkTestGet

cache/cache_test.go:30–35  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

28}
29
30func BenchmarkTestGet(b *testing.B) {
31 DoSet(runtimeCache)
32 for i := 0; i < b.N; i++ {
33 DoGet(runtimeCache)
34 }
35}

Callers

nothing calls this directly

Calls 2

DoSetFunction · 0.85
DoGetFunction · 0.85

Tested by

no test coverage detected