-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
goos: linux | ||
goarch: amd64 | ||
pkg: github.com/mkevac/gopherconrussia2019/biggerbatch | ||
BenchmarkBiggerBatchBitmapIndex-8 1000000 1139 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndex-8 1000000 1137 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndex-8 1000000 1136 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndex-8 1000000 1132 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndex-8 1000000 1139 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlined-8 1000000 1380 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlined-8 1000000 1386 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlined-8 1000000 1386 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlined-8 1000000 1389 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlined-8 1000000 1386 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexNoBoundsCheck-8 1000000 1014 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexNoBoundsCheck-8 1000000 1014 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexNoBoundsCheck-8 1000000 1015 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexNoBoundsCheck-8 1000000 1015 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexNoBoundsCheck-8 1000000 1015 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlinedAndNoBoundsCheck-8 1000000 1396 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlinedAndNoBoundsCheck-8 1000000 1384 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlinedAndNoBoundsCheck-8 1000000 1392 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlinedAndNoBoundsCheck-8 1000000 1391 ns/op 0 B/op 0 allocs/op | ||
BenchmarkBiggerBatchBitmapIndexInlinedAndNoBoundsCheck-8 1000000 1391 ns/op 0 B/op 0 allocs/op | ||
PASS | ||
ok github.com/mkevac/gopherconrussia2019/biggerbatch 25.185s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name time/op | ||
BiggerBatchBitmapIndex-8 1.14µs ± 0% | ||
BiggerBatchBitmapIndexInlined-8 1.39µs ± 0% | ||
BiggerBatchBitmapIndexNoBoundsCheck-8 1.01µs ± 0% | ||
BiggerBatchBitmapIndexInlinedAndNoBoundsCheck-8 1.39µs ± 0% | ||
|
||
name alloc/op | ||
BiggerBatchBitmapIndex-8 0.00B | ||
BiggerBatchBitmapIndexInlined-8 0.00B | ||
BiggerBatchBitmapIndexNoBoundsCheck-8 0.00B | ||
BiggerBatchBitmapIndexInlinedAndNoBoundsCheck-8 0.00B | ||
|
||
name allocs/op | ||
BiggerBatchBitmapIndex-8 0.00 | ||
BiggerBatchBitmapIndexInlined-8 0.00 | ||
BiggerBatchBitmapIndexNoBoundsCheck-8 0.00 | ||
BiggerBatchBitmapIndexInlinedAndNoBoundsCheck-8 0.00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
goos: linux | ||
goarch: amd64 | ||
pkg: github.com/mkevac/gopherconrussia2019/roar | ||
BenchmarkRoaringBitmapIndex-8 200000 11522 ns/op 13280 B/op 12 allocs/op | ||
BenchmarkRoaringBitmapIndex-8 200000 12724 ns/op 13280 B/op 12 allocs/op | ||
BenchmarkRoaringBitmapIndex-8 200000 10170 ns/op 13024 B/op 12 allocs/op | ||
BenchmarkRoaringBitmapIndex-8 200000 10119 ns/op 13280 B/op 12 allocs/op | ||
BenchmarkRoaringBitmapIndex-8 200000 10019 ns/op 13024 B/op 12 allocs/op | ||
BenchmarkCRoaringBitmapIndex-8 200000 11936 ns/op 16 B/op 2 allocs/op | ||
BenchmarkCRoaringBitmapIndex-8 100000 12385 ns/op 16 B/op 2 allocs/op | ||
BenchmarkCRoaringBitmapIndex-8 200000 10492 ns/op 16 B/op 2 allocs/op | ||
BenchmarkCRoaringBitmapIndex-8 200000 9506 ns/op 16 B/op 2 allocs/op | ||
BenchmarkCRoaringBitmapIndex-8 200000 8919 ns/op 16 B/op 2 allocs/op | ||
PASS | ||
ok github.com/mkevac/gopherconrussia2019/roar 23.257s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name time/op | ||
RoaringBitmapIndex-8 10.9µs ±17% | ||
CRoaringBitmapIndex-8 10.6µs ±16% | ||
|
||
name alloc/op | ||
RoaringBitmapIndex-8 13.2kB ± 1% | ||
CRoaringBitmapIndex-8 16.0B ± 0% | ||
|
||
name allocs/op | ||
RoaringBitmapIndex-8 12.0 ± 0% | ||
CRoaringBitmapIndex-8 2.00 ± 0% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
goos: linux | ||
goarch: amd64 | ||
pkg: github.com/mkevac/gopherconrussia2019/simple | ||
BenchmarkSimpleBitmapIndex-8 200000 8985 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndex-8 200000 8940 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndex-8 200000 8960 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndex-8 200000 8914 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndex-8 200000 8982 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlined-8 200000 9024 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlined-8 200000 9020 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlined-8 200000 9067 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlined-8 200000 9006 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlined-8 200000 9055 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexNoBoundsCheck-8 200000 8022 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexNoBoundsCheck-8 200000 8045 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexNoBoundsCheck-8 200000 7991 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexNoBoundsCheck-8 200000 8063 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexNoBoundsCheck-8 200000 7996 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlinedAndNoBoundsCheck-8 200000 8013 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlinedAndNoBoundsCheck-8 200000 8056 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlinedAndNoBoundsCheck-8 200000 8019 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlinedAndNoBoundsCheck-8 200000 8119 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleBitmapIndexInlinedAndNoBoundsCheck-8 200000 8152 ns/op 0 B/op 0 allocs/op | ||
PASS | ||
ok github.com/mkevac/gopherconrussia2019/simple 36.097s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name time/op | ||
SimpleBitmapIndex-8 8.96µs ± 0% | ||
SimpleBitmapIndexInlined-8 9.03µs ± 0% | ||
SimpleBitmapIndexNoBoundsCheck-8 8.02µs ± 0% | ||
SimpleBitmapIndexInlinedAndNoBoundsCheck-8 8.07µs ± 1% | ||
|
||
name alloc/op | ||
SimpleBitmapIndex-8 0.00B | ||
SimpleBitmapIndexInlined-8 0.00B | ||
SimpleBitmapIndexNoBoundsCheck-8 0.00B | ||
SimpleBitmapIndexInlinedAndNoBoundsCheck-8 0.00B | ||
|
||
name allocs/op | ||
SimpleBitmapIndex-8 0.00 | ||
SimpleBitmapIndexInlined-8 0.00 | ||
SimpleBitmapIndexNoBoundsCheck-8 0.00 | ||
SimpleBitmapIndexInlinedAndNoBoundsCheck-8 0.00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
goos: linux | ||
goarch: amd64 | ||
pkg: github.com/mkevac/gopherconrussia2019/simplesimd | ||
BenchmarkSimpleSIMDBitmapIndex-8 10000000 154 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleSIMDBitmapIndex-8 10000000 154 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleSIMDBitmapIndex-8 10000000 154 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleSIMDBitmapIndex-8 10000000 154 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleSIMDBitmapIndex-8 10000000 158 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarFasterBitmapIndex-8 1000000 1039 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarFasterBitmapIndex-8 1000000 1039 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarFasterBitmapIndex-8 1000000 1038 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarFasterBitmapIndex-8 1000000 1037 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarFasterBitmapIndex-8 1000000 1039 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarBitmapIndex-8 1000000 1244 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarBitmapIndex-8 1000000 1253 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarBitmapIndex-8 1000000 1230 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarBitmapIndex-8 1000000 1246 ns/op 0 B/op 0 allocs/op | ||
BenchmarkSimpleScalarBitmapIndex-8 1000000 1245 ns/op 0 B/op 0 allocs/op | ||
PASS | ||
ok github.com/mkevac/gopherconrussia2019/simplesimd 20.352s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name time/op | ||
SimpleSIMDBitmapIndex-8 154ns ± 0% | ||
SimpleScalarFasterBitmapIndex-8 1.04µs ± 0% | ||
SimpleScalarBitmapIndex-8 1.24µs ± 1% | ||
|
||
name alloc/op | ||
SimpleSIMDBitmapIndex-8 0.00B | ||
SimpleScalarFasterBitmapIndex-8 0.00B | ||
SimpleScalarBitmapIndex-8 0.00B | ||
|
||
name allocs/op | ||
SimpleSIMDBitmapIndex-8 0.00 | ||
SimpleScalarFasterBitmapIndex-8 0.00 | ||
SimpleScalarBitmapIndex-8 0.00 |