(b *testing.B)
| 13 | const benchmarkItemCount = 1024 |
| 14 | |
| 15 | func setupHashMap(b *testing.B) *hashmap.Map[uintptr, uintptr] { |
| 16 | b.Helper() |
| 17 | |
| 18 | m := hashmap.New[uintptr, uintptr]() |
| 19 | for i := uintptr(0); i < benchmarkItemCount; i++ { |
| 20 | m.Set(i, i) |
| 21 | } |
| 22 | return m |
| 23 | } |
| 24 | |
| 25 | func setupHaxMap(b *testing.B) *haxmap.HashMap[uintptr, uintptr] { |
| 26 | b.Helper() |
no test coverage detected
searching dependent graphs…