(b *testing.B)
| 24 | ) |
| 25 | |
| 26 | func 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 | |
| 35 | func BenchmarkMapGetHit(b *testing.B) { |
| 36 | b.Run("impl=runtimeMap", func(b *testing.B) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…