go test -bench BenchmarkFromBitmap -run -
(b *testing.B)
| 854 | |
| 855 | // go test -bench BenchmarkFromBitmap -run - |
| 856 | func 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 | |
| 871 | func TestRle16RandomIntersectAgainstOtherContainers010(t *testing.T) { |
| 872 | t.Run("runContainer16 `and` operation against other container types should correctly do the intersection", func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…