Skip to content

Commit

Permalink
Fix composite benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchabran committed Apr 26, 2021
1 parent 1dd306a commit 378a3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,7 @@ func BenchmarkCompositeIndexSet(b *testing.B) {
func BenchmarkCompositeIndexIteration(b *testing.B) {
for size := 10; size <= 10000; size *= 10 {
b.Run(fmt.Sprintf("%.05d", size), func(b *testing.B) {
idx, cleanup := getIndex(b, false)
idx, cleanup := getIndex(b, false, document.AnyType, document.AnyType)
defer cleanup()

for i := 0; i < size; i++ {
Expand Down

0 comments on commit 378a3ba

Please sign in to comment.