Skip to content

Commit

Permalink
chore: separate typedarena benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
joetifa2003 committed Sep 7, 2024
1 parent fca9501 commit b393c26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ func BenchmarkBinaryTreeArena(b *testing.B) {
alloc.Destroy()
}
})
}

for _, chunkSize := range []int{50, 100, 150, 250, 500} {
b.Run(fmt.Sprintf("batchallocator chunk size %d", chunkSize), func(b *testing.B) {
for n := 0; n < b.N; n++ {
alloc := batchallocator.New(allocator.NewCallocator())
Expand Down

0 comments on commit b393c26

Please sign in to comment.