MCPcopy Index your code
hub / github.com/RoaringBitmap/roaring / BenchmarkFromBitmap16

Function BenchmarkFromBitmap16

runcontainer_test.go:856–869  ·  view source on GitHub ↗

go test -bench BenchmarkFromBitmap -run -

(b *testing.B)

Source from the content-addressed store, hash-verified

854
855// go test -bench BenchmarkFromBitmap -run -
856func BenchmarkFromBitmap16(b *testing.B) {
857 b.StopTimer()
858 seed := int64(42)
859 rand.Seed(seed)
860
861 tr := trial{n: 10000, percentFill: .95, ntrial: 1, numRandomOpsPass: 100}
862 _, _, bc := getRandomSameThreeContainers(tr)
863
864 b.StartTimer()
865
866 for j := 0; j < b.N; j++ {
867 newRunContainer16FromBitmapContainer(bc)
868 }
869}
870
871func TestRle16RandomIntersectAgainstOtherContainers010(t *testing.T) {
872 t.Run("runContainer16 `and` operation against other container types should correctly do the intersection", func(t *testing.T) {

Callers

nothing calls this directly

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…