MCPcopy Create free account
hub / github.com/cockroachdb/swiss / BenchmarkMapIter

Function BenchmarkMapIter

bench_test.go:26–33  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

24)
25
26func BenchmarkMapIter(b *testing.B) {
27 b.Run("impl=runtimeMap", func(b *testing.B) {
28 b.Run("t=Int", benchSizes(benchmarkRuntimeMapIter[int64], genKeys[int64]))
29 })
30 b.Run("impl=swissMap", func(b *testing.B) {
31 b.Run("t=Int", benchSizes(benchmarkSwissMapIter[int64], genKeys[int64]))
32 })
33}
34
35func BenchmarkMapGetHit(b *testing.B) {
36 b.Run("impl=runtimeMap", func(b *testing.B) {

Callers

nothing calls this directly

Calls 1

benchSizesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…