Skip to content

Commit

Permalink
bench 13
Browse files Browse the repository at this point in the history
  • Loading branch information
aliszka committed Oct 24, 2024
1 parent 32fbd91 commit bdca690
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bitmap_conc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@ func Benchmark_AndNot_Alt(b *testing.B) {
}
}

// go test -v -bench Benchmark_AndNot_AltStandalone -benchmem -run ^$ github.com/weaviate/sroar -cpuprofile cpu.prof
func Benchmark_AndNot_AltStandalone(b *testing.B) {
for i := 0; i < b.N; i++ {
bm := superset.Clone()
for j, l := 0, len(subsets); j < l; j++ {
bm = AndNotAlt(bm, subsets[j])
}
}
}

// var bm *Bitmap
// var control []uint64
// var controls [][]uint64
Expand Down

0 comments on commit bdca690

Please sign in to comment.