Skip to content

Commit

Permalink
put the 10k bench back
Browse files Browse the repository at this point in the history
  • Loading branch information
iFrostizz committed Apr 26, 2024
1 parent 214005b commit 058d7e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions merkle/merkle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ var resDb merkledb.MerkleDB
var resErr error

func BenchmarkMerkleTxRoot(b *testing.B) {
b.ReportAllocs()

for _, size := range []int{10, 100, 1000} {
for _, size := range []int{10, 100, 1000, 10000} {
ctx := context.TODO()
tracer := trace.Noop
merkleItems := make([][]byte, 0, size)
Expand Down Expand Up @@ -49,4 +47,6 @@ func BenchmarkMerkleTxRoot(b *testing.B) {
resDb = db
resErr = err
}

b.ReportAllocs()
}

0 comments on commit 058d7e7

Please sign in to comment.