Skip to content

Instantly share code, notes, and snippets.

@maciej
Created December 8, 2017 11:12
Show Gist options
  • Save maciej/e95ead17836a305ea1752a952808e7a6 to your computer and use it in GitHub Desktop.
Save maciej/e95ead17836a305ea1752a952808e7a6 to your computer and use it in GitHub Desktop.
Comparing Roaring Benchmarks between go1.9 and go1.10beta1 (Retina MBP, 13-inch, Early 2015, dual core Intel Core i5 2,7GHz)
benchmark old ns/op new ns/op delta
BenchmarkMarshalMsgarrayContainer-4 37.9 35.0 -7.65%
BenchmarkAppendMsgarrayContainer-4 10.3 9.88 -4.08%
BenchmarkUnmarshalarrayContainer-4 29.9 28.6 -4.35%
BenchmarkEncodearrayContainer-4 20.4 19.3 -5.39%
BenchmarkDecodearrayContainer-4 61.5 55.9 -9.11%
BenchmarkIntersectionBitset-4 12523 10656 -14.91%
BenchmarkIntersectionRoaring-4 1101 1067 -3.09%
BenchmarkIntersectionCardinalityRoaring-4 258 257 -0.39%
BenchmarkUnionBitset-4 7441033 6834360 -8.15%
BenchmarkUnionRoaring-4 290690 248336 -14.57%
BenchmarkSetRoaring-4 72.1 70.7 -1.94%
BenchmarkSetBitset-4 26.7 25.7 -3.75%
BenchmarkGetTestRoaring-4 137 136 -0.73%
BenchmarkGetTestBitSet-4 19.4 19.1 -1.55%
BenchmarkCountRoaring-4 52.8 50.9 -3.60%
BenchmarkCountBitset-4 33493 32947 -1.63%
BenchmarkIterateRoaring-4 983572 882745 -10.25%
BenchmarkSparseIterateRoaring-4 830407 843858 +1.62%
BenchmarkIterateBitset-4 589623 578005 -1.97%
BenchmarkSparseContains-4 111840 114741 +2.59%
BenchmarkSparseIterateBitset-4 2613962 2596726 -0.66%
BenchmarkSerializationSparse-4 237745 191871 -19.30%
BenchmarkSerializationMid-4 85710 83120 -3.02%
BenchmarkSerializationDense-4 9870 9538 -3.36%
BenchmarkEqualsSparse-4 100646 98288 -2.34%
BenchmarkEqualsClone-4 97408 97286 -0.13%
BenchmarkSequentialAdd-4 11513648 11722278 +1.81%
BenchmarkXor-4 1185115 1185772 +0.06%
BenchmarkXorLopsided-4 200348 188764 -5.78%
BenchmarkMarshalMsgbitmapContainer-4 54.9 50.7 -7.65%
BenchmarkAppendMsgbitmapContainer-4 20.6 18.8 -8.74%
BenchmarkUnmarshalbitmapContainer-4 53.1 52.4 -1.32%
BenchmarkEncodebitmapContainer-4 38.6 37.9 -1.81%
BenchmarkDecodebitmapContainer-4 115 109 -5.22%
BenchmarkMarshalMsgbitmapContainerShortIterator-4 48.1 42.4 -11.85%
BenchmarkAppendMsgbitmapContainerShortIterator-4 14.7 14.0 -4.76%
BenchmarkUnmarshalbitmapContainerShortIterator-4 48.8 46.2 -5.33%
BenchmarkEncodebitmapContainerShortIterator-4 41.9 36.0 -14.08%
BenchmarkDecodebitmapContainerShortIterator-4 105 98.2 -6.48%
Benchmark100OrigNumberOfTrailingZeros-4 731 659 -9.85%
Benchmark100CountTrailingZeros-4 53.8 52.0 -3.35%
BenchmarkIntersectionLargeParallel-4 2966175 3053714 +2.95%
BenchmarkIntersectionLargeRoaring-4 5472371 5286448 -3.40%
BenchmarkPopcount-4 72.8 72.6 -0.27%
BenchmarkMarshalMsgaddHelper16-4 76.9 73.6 -4.29%
BenchmarkAppendMsgaddHelper16-4 38.4 37.2 -3.12%
BenchmarkUnmarshaladdHelper16-4 130 126 -3.08%
BenchmarkEncodeaddHelper16-4 100 92.9 -7.10%
BenchmarkDecodeaddHelper16-4 259 246 -5.02%
BenchmarkMarshalMsginterval16-4 53.1 50.4 -5.08%
BenchmarkAppendMsginterval16-4 21.6 21.3 -1.39%
BenchmarkUnmarshalinterval16-4 58.3 55.1 -5.49%
BenchmarkEncodeinterval16-4 40.4 41.8 +3.47%
BenchmarkDecodeinterval16-4 100 95.5 -4.50%
BenchmarkMarshalMsgrunContainer16-4 47.3 43.3 -8.46%
BenchmarkAppendMsgrunContainer16-4 14.7 14.9 +1.36%
BenchmarkUnmarshalrunContainer16-4 48.0 46.0 -4.17%
BenchmarkEncoderunContainer16-4 34.7 37.5 +8.07%
BenchmarkDecoderunContainer16-4 88.9 87.8 -1.24%
BenchmarkMarshalMsgrunIterator16-4 64.2 59.7 -7.01%
BenchmarkAppendMsgrunIterator16-4 25.3 25.3 +0.00%
BenchmarkUnmarshalrunIterator16-4 96.9 103 +6.30%
BenchmarkEncoderunIterator16-4 67.2 67.5 +0.45%
BenchmarkDecoderunIterator16-4 213 203 -4.69%
BenchmarkMarshalMsguint16Slice-4 26.9 25.4 -5.58%
BenchmarkAppendMsguint16Slice-4 9.05 8.48 -6.30%
BenchmarkUnmarshaluint16Slice-4 10.5 10.4 -0.95%
BenchmarkEncodeuint16Slice-4 10.6 11.3 +6.60%
BenchmarkDecodeuint16Slice-4 17.2 17.0 -1.16%
BenchmarkFromBitmap16-4 15801 15642 -1.01%
BenchmarkMarshalMsgaddHelper32-4 77.5 72.3 -6.71%
BenchmarkAppendMsgaddHelper32-4 37.8 38.0 +0.53%
BenchmarkUnmarshaladdHelper32-4 129 125 -3.10%
BenchmarkEncodeaddHelper32-4 91.7 99.6 +8.62%
BenchmarkDecodeaddHelper32-4 258 242 -6.20%
BenchmarkMarshalMsginterval32-4 55.5 49.9 -10.09%
BenchmarkAppendMsginterval32-4 21.4 21.8 +1.87%
BenchmarkUnmarshalinterval32-4 55.7 56.0 +0.54%
BenchmarkEncodeinterval32-4 40.3 42.1 +4.47%
BenchmarkDecodeinterval32-4 98.8 96.3 -2.53%
BenchmarkMarshalMsgrunContainer32-4 47.8 43.5 -9.00%
BenchmarkAppendMsgrunContainer32-4 14.7 14.5 -1.36%
BenchmarkUnmarshalrunContainer32-4 48.0 46.1 -3.96%
BenchmarkEncoderunContainer32-4 35.0 33.3 -4.86%
BenchmarkDecoderunContainer32-4 90.9 88.1 -3.08%
BenchmarkMarshalMsgrunIterator32-4 63.8 59.7 -6.43%
BenchmarkAppendMsgrunIterator32-4 24.9 25.6 +2.81%
BenchmarkUnmarshalrunIterator32-4 99.8 94.9 -4.91%
BenchmarkEncoderunIterator32-4 67.6 81.1 +19.97%
BenchmarkDecoderunIterator32-4 211 220 +4.27%
BenchmarkMarshalMsguint32Slice-4 27.3 27.2 -0.37%
BenchmarkAppendMsguint32Slice-4 8.89 8.46 -4.84%
BenchmarkUnmarshaluint32Slice-4 10.4 10.8 +3.85%
BenchmarkEncodeuint32Slice-4 10.9 11.0 +0.92%
BenchmarkDecodeuint32Slice-4 17.2 18.4 +6.98%
BenchmarkFromBitmap32-4 15839 17090 +7.90%
BenchmarkMarshalMsgcontainerSerz-4 39.9 36.7 -8.02%
BenchmarkAppendMsgcontainerSerz-4 18.7 18.3 -2.14%
BenchmarkUnmarshalcontainerSerz-4 66.0 63.8 -3.33%
BenchmarkEncodecontainerSerz-4 40.5 46.2 +14.07%
BenchmarkDecodecontainerSerz-4 108 106 -1.85%
BenchmarkMarshalMsgroaringArray-4 64.1 61.1 -4.68%
BenchmarkAppendMsgroaringArray-4 24.0 24.5 +2.08%
BenchmarkUnmarshalroaringArray-4 97.4 93.5 -4.00%
BenchmarkEncoderoaringArray-4 67.0 66.7 -0.45%
BenchmarkDecoderoaringArray-4 212 206 -2.83%
benchmark old MB/s new MB/s speedup
BenchmarkAppendMsgarrayContainer-4 966.81 1012.14 1.05x
BenchmarkUnmarshalarrayContainer-4 334.96 349.42 1.04x
BenchmarkEncodearrayContainer-4 490.10 518.68 1.06x
BenchmarkDecodearrayContainer-4 162.67 178.91 1.10x
BenchmarkAppendMsgbitmapContainer-4 1069.40 1170.15 1.09x
BenchmarkUnmarshalbitmapContainer-4 414.56 419.68 1.01x
BenchmarkEncodebitmapContainer-4 570.66 579.90 1.02x
BenchmarkDecodebitmapContainer-4 190.61 201.79 1.06x
BenchmarkAppendMsgbitmapContainerShortIterator-4 612.94 640.98 1.05x
BenchmarkUnmarshalbitmapContainerShortIterator-4 184.31 194.71 1.06x
BenchmarkEncodebitmapContainerShortIterator-4 214.68 249.78 1.16x
BenchmarkDecodebitmapContainerShortIterator-4 85.65 91.64 1.07x
BenchmarkAppendMsgaddHelper16-4 1067.23 1103.10 1.03x
BenchmarkUnmarshaladdHelper16-4 314.43 324.43 1.03x
BenchmarkEncodeaddHelper16-4 406.14 441.26 1.09x
BenchmarkDecodeaddHelper16-4 157.79 166.37 1.05x
BenchmarkAppendMsginterval16-4 647.98 657.05 1.01x
BenchmarkUnmarshalinterval16-4 240.21 253.92 1.06x
BenchmarkEncodeinterval16-4 346.49 335.13 0.97x
BenchmarkDecodeinterval16-4 139.40 146.60 1.05x
BenchmarkAppendMsgrunContainer16-4 747.60 739.88 0.99x
BenchmarkUnmarshalrunContainer16-4 229.24 239.37 1.04x
BenchmarkEncoderunContainer16-4 317.18 293.12 0.92x
BenchmarkDecoderunContainer16-4 123.75 125.30 1.01x
BenchmarkAppendMsgrunIterator16-4 1499.12 1503.05 1.00x
BenchmarkUnmarshalrunIterator16-4 392.04 366.24 0.93x
BenchmarkEncoderunIterator16-4 565.23 563.00 1.00x
BenchmarkDecoderunIterator16-4 177.86 186.67 1.05x
BenchmarkAppendMsguint16Slice-4 110.48 117.90 1.07x
BenchmarkUnmarshaluint16Slice-4 95.58 96.51 1.01x
BenchmarkEncodeuint16Slice-4 93.90 88.77 0.95x
BenchmarkDecodeuint16Slice-4 58.14 58.94 1.01x
BenchmarkAppendMsgaddHelper32-4 1084.30 1079.12 1.00x
BenchmarkUnmarshaladdHelper32-4 315.78 325.59 1.03x
BenchmarkEncodeaddHelper32-4 446.95 411.50 0.92x
BenchmarkDecodeaddHelper32-4 158.70 168.76 1.06x
BenchmarkAppendMsginterval32-4 653.05 643.37 0.99x
BenchmarkUnmarshalinterval32-4 251.25 250.18 1.00x
BenchmarkEncodeinterval32-4 347.48 332.28 0.96x
BenchmarkDecodeinterval32-4 141.70 145.40 1.03x
BenchmarkAppendMsgrunContainer32-4 749.65 758.03 1.01x
BenchmarkUnmarshalrunContainer32-4 229.13 238.45 1.04x
BenchmarkEncoderunContainer32-4 314.44 330.43 1.05x
BenchmarkDecoderunContainer32-4 121.06 124.92 1.03x
BenchmarkAppendMsgrunIterator32-4 1523.70 1483.06 0.97x
BenchmarkUnmarshalrunIterator32-4 380.93 400.35 1.05x
BenchmarkEncoderunIterator32-4 562.46 468.43 0.83x
BenchmarkDecoderunIterator32-4 179.37 172.72 0.96x
BenchmarkAppendMsguint32Slice-4 112.54 118.17 1.05x
BenchmarkUnmarshaluint32Slice-4 95.87 92.76 0.97x
BenchmarkEncodeuint32Slice-4 91.89 91.15 0.99x
BenchmarkDecodeuint32Slice-4 58.10 54.26 0.93x
BenchmarkAppendMsgcontainerSerz-4 373.74 382.37 1.02x
BenchmarkUnmarshalcontainerSerz-4 106.05 109.76 1.03x
BenchmarkEncodecontainerSerz-4 172.74 151.48 0.88x
BenchmarkDecodecontainerSerz-4 64.24 66.01 1.03x
BenchmarkAppendMsgroaringArray-4 1914.08 1880.66 0.98x
BenchmarkUnmarshalroaringArray-4 472.49 492.01 1.04x
BenchmarkEncoderoaringArray-4 686.74 689.42 1.00x
BenchmarkDecoderoaringArray-4 215.98 223.10 1.03x
benchmark old allocs new allocs delta
BenchmarkMarshalMsgarrayContainer-4 1 1 +0.00%
BenchmarkAppendMsgarrayContainer-4 0 0 +0.00%
BenchmarkUnmarshalarrayContainer-4 0 0 +0.00%
BenchmarkEncodearrayContainer-4 0 0 +0.00%
BenchmarkDecodearrayContainer-4 0 0 +0.00%
BenchmarkMarshalMsgbitmapContainer-4 1 1 +0.00%
BenchmarkAppendMsgbitmapContainer-4 0 0 +0.00%
BenchmarkUnmarshalbitmapContainer-4 0 0 +0.00%
BenchmarkEncodebitmapContainer-4 0 0 +0.00%
BenchmarkDecodebitmapContainer-4 0 0 +0.00%
BenchmarkMarshalMsgbitmapContainerShortIterator-4 1 1 +0.00%
BenchmarkAppendMsgbitmapContainerShortIterator-4 0 0 +0.00%
BenchmarkUnmarshalbitmapContainerShortIterator-4 0 0 +0.00%
BenchmarkEncodebitmapContainerShortIterator-4 0 0 +0.00%
BenchmarkDecodebitmapContainerShortIterator-4 0 0 +0.00%
BenchmarkMarshalMsgaddHelper16-4 1 1 +0.00%
BenchmarkAppendMsgaddHelper16-4 0 0 +0.00%
BenchmarkUnmarshaladdHelper16-4 0 0 +0.00%
BenchmarkEncodeaddHelper16-4 0 0 +0.00%
BenchmarkDecodeaddHelper16-4 0 0 +0.00%
BenchmarkMarshalMsginterval16-4 1 1 +0.00%
BenchmarkAppendMsginterval16-4 0 0 +0.00%
BenchmarkUnmarshalinterval16-4 0 0 +0.00%
BenchmarkEncodeinterval16-4 0 0 +0.00%
BenchmarkDecodeinterval16-4 0 0 +0.00%
BenchmarkMarshalMsgrunContainer16-4 1 1 +0.00%
BenchmarkAppendMsgrunContainer16-4 0 0 +0.00%
BenchmarkUnmarshalrunContainer16-4 0 0 +0.00%
BenchmarkEncoderunContainer16-4 0 0 +0.00%
BenchmarkDecoderunContainer16-4 0 0 +0.00%
BenchmarkMarshalMsgrunIterator16-4 1 1 +0.00%
BenchmarkAppendMsgrunIterator16-4 0 0 +0.00%
BenchmarkUnmarshalrunIterator16-4 0 0 +0.00%
BenchmarkEncoderunIterator16-4 0 0 +0.00%
BenchmarkDecoderunIterator16-4 0 0 +0.00%
BenchmarkMarshalMsguint16Slice-4 1 1 +0.00%
BenchmarkAppendMsguint16Slice-4 0 0 +0.00%
BenchmarkUnmarshaluint16Slice-4 0 0 +0.00%
BenchmarkEncodeuint16Slice-4 0 0 +0.00%
BenchmarkDecodeuint16Slice-4 0 0 +0.00%
BenchmarkMarshalMsgaddHelper32-4 1 1 +0.00%
BenchmarkAppendMsgaddHelper32-4 0 0 +0.00%
BenchmarkUnmarshaladdHelper32-4 0 0 +0.00%
BenchmarkEncodeaddHelper32-4 0 0 +0.00%
BenchmarkDecodeaddHelper32-4 0 0 +0.00%
BenchmarkMarshalMsginterval32-4 1 1 +0.00%
BenchmarkAppendMsginterval32-4 0 0 +0.00%
BenchmarkUnmarshalinterval32-4 0 0 +0.00%
BenchmarkEncodeinterval32-4 0 0 +0.00%
BenchmarkDecodeinterval32-4 0 0 +0.00%
BenchmarkMarshalMsgrunContainer32-4 1 1 +0.00%
BenchmarkAppendMsgrunContainer32-4 0 0 +0.00%
BenchmarkUnmarshalrunContainer32-4 0 0 +0.00%
BenchmarkEncoderunContainer32-4 0 0 +0.00%
BenchmarkDecoderunContainer32-4 0 0 +0.00%
BenchmarkMarshalMsgrunIterator32-4 1 1 +0.00%
BenchmarkAppendMsgrunIterator32-4 0 0 +0.00%
BenchmarkUnmarshalrunIterator32-4 0 0 +0.00%
BenchmarkEncoderunIterator32-4 0 0 +0.00%
BenchmarkDecoderunIterator32-4 0 0 +0.00%
BenchmarkMarshalMsguint32Slice-4 1 1 +0.00%
BenchmarkAppendMsguint32Slice-4 0 0 +0.00%
BenchmarkUnmarshaluint32Slice-4 0 0 +0.00%
BenchmarkEncodeuint32Slice-4 0 0 +0.00%
BenchmarkDecodeuint32Slice-4 0 0 +0.00%
BenchmarkMarshalMsgcontainerSerz-4 1 1 +0.00%
BenchmarkAppendMsgcontainerSerz-4 0 0 +0.00%
BenchmarkUnmarshalcontainerSerz-4 0 0 +0.00%
BenchmarkEncodecontainerSerz-4 0 0 +0.00%
BenchmarkDecodecontainerSerz-4 0 0 +0.00%
BenchmarkMarshalMsgroaringArray-4 1 1 +0.00%
BenchmarkAppendMsgroaringArray-4 0 0 +0.00%
BenchmarkUnmarshalroaringArray-4 0 0 +0.00%
BenchmarkEncoderoaringArray-4 0 0 +0.00%
BenchmarkDecoderoaringArray-4 0 0 +0.00%
benchmark old bytes new bytes delta
BenchmarkMarshalMsgarrayContainer-4 16 16 +0.00%
BenchmarkAppendMsgarrayContainer-4 0 0 +0.00%
BenchmarkUnmarshalarrayContainer-4 0 0 +0.00%
BenchmarkEncodearrayContainer-4 0 0 +0.00%
BenchmarkDecodearrayContainer-4 0 0 +0.00%
BenchmarkMarshalMsgbitmapContainer-4 48 48 +0.00%
BenchmarkAppendMsgbitmapContainer-4 0 0 +0.00%
BenchmarkUnmarshalbitmapContainer-4 0 0 +0.00%
BenchmarkEncodebitmapContainer-4 0 0 +0.00%
BenchmarkDecodebitmapContainer-4 0 0 +0.00%
BenchmarkMarshalMsgbitmapContainerShortIterator-4 32 32 +0.00%
BenchmarkAppendMsgbitmapContainerShortIterator-4 0 0 +0.00%
BenchmarkUnmarshalbitmapContainerShortIterator-4 0 0 +0.00%
BenchmarkEncodebitmapContainerShortIterator-4 0 0 +0.00%
BenchmarkDecodebitmapContainerShortIterator-4 0 0 +0.00%
BenchmarkMarshalMsgaddHelper16-4 64 64 +0.00%
BenchmarkAppendMsgaddHelper16-4 0 0 +0.00%
BenchmarkUnmarshaladdHelper16-4 0 0 +0.00%
BenchmarkEncodeaddHelper16-4 0 0 +0.00%
BenchmarkDecodeaddHelper16-4 0 0 +0.00%
BenchmarkMarshalMsginterval16-4 32 32 +0.00%
BenchmarkAppendMsginterval16-4 0 0 +0.00%
BenchmarkUnmarshalinterval16-4 0 0 +0.00%
BenchmarkEncodeinterval16-4 0 0 +0.00%
BenchmarkDecodeinterval16-4 0 0 +0.00%
BenchmarkMarshalMsgrunContainer16-4 32 32 +0.00%
BenchmarkAppendMsgrunContainer16-4 0 0 +0.00%
BenchmarkUnmarshalrunContainer16-4 0 0 +0.00%
BenchmarkEncoderunContainer16-4 0 0 +0.00%
BenchmarkDecoderunContainer16-4 0 0 +0.00%
BenchmarkMarshalMsgrunIterator16-4 64 64 +0.00%
BenchmarkAppendMsgrunIterator16-4 0 0 +0.00%
BenchmarkUnmarshalrunIterator16-4 0 0 +0.00%
BenchmarkEncoderunIterator16-4 0 0 +0.00%
BenchmarkDecoderunIterator16-4 0 0 +0.00%
BenchmarkMarshalMsguint16Slice-4 5 5 +0.00%
BenchmarkAppendMsguint16Slice-4 0 0 +0.00%
BenchmarkUnmarshaluint16Slice-4 0 0 +0.00%
BenchmarkEncodeuint16Slice-4 0 0 +0.00%
BenchmarkDecodeuint16Slice-4 0 0 +0.00%
BenchmarkMarshalMsgaddHelper32-4 64 64 +0.00%
BenchmarkAppendMsgaddHelper32-4 0 0 +0.00%
BenchmarkUnmarshaladdHelper32-4 0 0 +0.00%
BenchmarkEncodeaddHelper32-4 0 0 +0.00%
BenchmarkDecodeaddHelper32-4 0 0 +0.00%
BenchmarkMarshalMsginterval32-4 32 32 +0.00%
BenchmarkAppendMsginterval32-4 0 0 +0.00%
BenchmarkUnmarshalinterval32-4 0 0 +0.00%
BenchmarkEncodeinterval32-4 0 0 +0.00%
BenchmarkDecodeinterval32-4 0 0 +0.00%
BenchmarkMarshalMsgrunContainer32-4 32 32 +0.00%
BenchmarkAppendMsgrunContainer32-4 0 0 +0.00%
BenchmarkUnmarshalrunContainer32-4 0 0 +0.00%
BenchmarkEncoderunContainer32-4 0 0 +0.00%
BenchmarkDecoderunContainer32-4 0 0 +0.00%
BenchmarkMarshalMsgrunIterator32-4 64 64 +0.00%
BenchmarkAppendMsgrunIterator32-4 0 0 +0.00%
BenchmarkUnmarshalrunIterator32-4 0 0 +0.00%
BenchmarkEncoderunIterator32-4 0 0 +0.00%
BenchmarkDecoderunIterator32-4 0 0 +0.00%
BenchmarkMarshalMsguint32Slice-4 5 5 +0.00%
BenchmarkAppendMsguint32Slice-4 0 0 +0.00%
BenchmarkUnmarshaluint32Slice-4 0 0 +0.00%
BenchmarkEncodeuint32Slice-4 0 0 +0.00%
BenchmarkDecodeuint32Slice-4 0 0 +0.00%
BenchmarkMarshalMsgcontainerSerz-4 8 8 +0.00%
BenchmarkAppendMsgcontainerSerz-4 0 0 +0.00%
BenchmarkUnmarshalcontainerSerz-4 0 0 +0.00%
BenchmarkEncodecontainerSerz-4 0 0 +0.00%
BenchmarkDecodecontainerSerz-4 0 0 +0.00%
BenchmarkMarshalMsgroaringArray-4 64 64 +0.00%
BenchmarkAppendMsgroaringArray-4 0 0 +0.00%
BenchmarkUnmarshalroaringArray-4 0 0 +0.00%
BenchmarkEncoderoaringArray-4 0 0 +0.00%
BenchmarkDecoderoaringArray-4 0 0 +0.00%
goos: darwin
goarch: amd64
pkg: github.com/RoaringBitmap/roaring
BenchmarkMarshalMsgarrayContainer-4 50000000 35.0 ns/op 16 B/op 1 allocs/op
BenchmarkAppendMsgarrayContainer-4 200000000 9.88 ns/op 1012.14 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalarrayContainer-4 50000000 28.6 ns/op 349.42 MB/s 0 B/op 0 allocs/op
BenchmarkEncodearrayContainer-4 100000000 19.3 ns/op 518.68 MB/s 0 B/op 0 allocs/op
BenchmarkDecodearrayContainer-4 20000000 55.9 ns/op 178.91 MB/s 0 B/op 0 allocs/op
HeapInUse 55377920
HeapObjects 984043
BenchmarkMemoryUsage-4
HeapInUse 53395456
HeapObjects 984040
HeapInUse 57393152
HeapObjects 984084
HeapInUse 59416576
HeapObjects 984114
HeapInUse 54910976
HeapObjects 984043
HeapInUse 58490880
HeapObjects 984107
2000000000 0.00 ns/op
BenchmarkIntersectionBitset-4 100000 10656 ns/op
BenchmarkIntersectionRoaring-4 1000000 1067 ns/op
BenchmarkIntersectionCardinalityRoaring-4 5000000 257 ns/op
BenchmarkUnionBitset-4 200 6834360 ns/op
BenchmarkUnionRoaring-4 5000 248336 ns/op
11.9 MB BenchmarkSizeBitset-4 11.9 MB 11.9 MB 11.9 MB 11.9 MB 11.9 MB 2000000000 0.00 ns/op
0.2 MB BenchmarkSizeRoaring-4 0.2 MB 0.2 MB 0.2 MB 0.2 MB 0.2 MB 2000000000 0.00 ns/op
BenchmarkSetRoaring-4 20000000 70.7 ns/op
BenchmarkSetBitset-4 50000000 25.7 ns/op
BenchmarkGetTestRoaring-4 10000000 136 ns/op
BenchmarkGetTestBitSet-4 100000000 19.1 ns/op
BenchmarkCountRoaring-4 30000000 50.9 ns/op
BenchmarkCountBitset-4 50000 32947 ns/op
BenchmarkIterateRoaring-4 2000 882745 ns/op
BenchmarkSparseIterateRoaring-4 2000 843858 ns/op
BenchmarkIterateBitset-4 3000 578005 ns/op
BenchmarkSparseContains-4 10000 114741 ns/op
BenchmarkSparseIterateBitset-4 500 2596726 ns/op
BenchmarkSerializationSparse-4 10000 191871 ns/op
BenchmarkSerializationMid-4 20000 83120 ns/op
BenchmarkSerializationDense-4 200000 9538 ns/op
BenchmarkEqualsSparse-4 20000 98288 ns/op
BenchmarkEqualsClone-4 20000 97286 ns/op
BenchmarkSequentialAdd-4 100 11722278 ns/op
BenchmarkXor-4 2000 1185772 ns/op
BenchmarkXorLopsided-4 10000 188764 ns/op
BenchmarkMarshalMsgbitmapContainer-4 30000000 50.7 ns/op 48 B/op 1 allocs/op
BenchmarkAppendMsgbitmapContainer-4 100000000 18.8 ns/op 1170.15 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalbitmapContainer-4 30000000 52.4 ns/op 419.68 MB/s 0 B/op 0 allocs/op
BenchmarkEncodebitmapContainer-4 50000000 37.9 ns/op 579.90 MB/s 0 B/op 0 allocs/op
BenchmarkDecodebitmapContainer-4 20000000 109 ns/op 201.79 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgbitmapContainerShortIterator-4 30000000 42.4 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsgbitmapContainerShortIterator-4 100000000 14.0 ns/op 640.98 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalbitmapContainerShortIterator-4 30000000 46.2 ns/op 194.71 MB/s 0 B/op 0 allocs/op
BenchmarkEncodebitmapContainerShortIterator-4 50000000 36.0 ns/op 249.78 MB/s 0 B/op 0 allocs/op
BenchmarkDecodebitmapContainerShortIterator-4 20000000 98.2 ns/op 91.64 MB/s 0 B/op 0 allocs/op
Benchmark100OrigNumberOfTrailingZeros-4 2000000 659 ns/op
Benchmark100CountTrailingZeros-4 30000000 52.0 ns/op
BenchmarkIntersectionLargeParallel-4 500 3053714 ns/op
BenchmarkIntersectionLargeRoaring-4 300 5286448 ns/op
BenchmarkPopcount-4 20000000 72.6 ns/op
BenchmarkMarshalMsgaddHelper16-4 20000000 73.6 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgaddHelper16-4 50000000 37.2 ns/op 1103.10 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshaladdHelper16-4 10000000 126 ns/op 324.43 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeaddHelper16-4 20000000 92.9 ns/op 441.26 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeaddHelper16-4 5000000 246 ns/op 166.37 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsginterval16-4 30000000 50.4 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsginterval16-4 100000000 21.3 ns/op 657.05 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalinterval16-4 30000000 55.1 ns/op 253.92 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeinterval16-4 30000000 41.8 ns/op 335.13 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeinterval16-4 20000000 95.5 ns/op 146.60 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgrunContainer16-4 30000000 43.3 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsgrunContainer16-4 100000000 14.9 ns/op 739.88 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalrunContainer16-4 30000000 46.0 ns/op 239.37 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderunContainer16-4 50000000 37.5 ns/op 293.12 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderunContainer16-4 20000000 87.8 ns/op 125.30 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgrunIterator16-4 20000000 59.7 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgrunIterator16-4 50000000 25.3 ns/op 1503.05 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalrunIterator16-4 20000000 103 ns/op 366.24 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderunIterator16-4 20000000 67.5 ns/op 563.00 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderunIterator16-4 5000000 203 ns/op 186.67 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsguint16Slice-4 50000000 25.4 ns/op 5 B/op 1 allocs/op
BenchmarkAppendMsguint16Slice-4 200000000 8.48 ns/op 117.90 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshaluint16Slice-4 100000000 10.4 ns/op 96.51 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeuint16Slice-4 100000000 11.3 ns/op 88.77 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeuint16Slice-4 100000000 17.0 ns/op 58.94 MB/s 0 B/op 0 allocs/op
BenchmarkFromBitmap16-4 100000 15642 ns/op
BenchmarkMarshalMsgaddHelper32-4 20000000 72.3 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgaddHelper32-4 50000000 38.0 ns/op 1079.12 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshaladdHelper32-4 10000000 125 ns/op 325.59 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeaddHelper32-4 20000000 99.6 ns/op 411.50 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeaddHelper32-4 5000000 242 ns/op 168.76 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsginterval32-4 30000000 49.9 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsginterval32-4 100000000 21.8 ns/op 643.37 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalinterval32-4 30000000 56.0 ns/op 250.18 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeinterval32-4 30000000 42.1 ns/op 332.28 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeinterval32-4 20000000 96.3 ns/op 145.40 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgrunContainer32-4 30000000 43.5 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsgrunContainer32-4 100000000 14.5 ns/op 758.03 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalrunContainer32-4 30000000 46.1 ns/op 238.45 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderunContainer32-4 50000000 33.3 ns/op 330.43 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderunContainer32-4 20000000 88.1 ns/op 124.92 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgrunIterator32-4 20000000 59.7 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgrunIterator32-4 50000000 25.6 ns/op 1483.06 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalrunIterator32-4 20000000 94.9 ns/op 400.35 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderunIterator32-4 20000000 81.1 ns/op 468.43 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderunIterator32-4 10000000 220 ns/op 172.72 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsguint32Slice-4 50000000 27.2 ns/op 5 B/op 1 allocs/op
BenchmarkAppendMsguint32Slice-4 200000000 8.46 ns/op 118.17 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshaluint32Slice-4 100000000 10.8 ns/op 92.76 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeuint32Slice-4 100000000 11.0 ns/op 91.15 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeuint32Slice-4 100000000 18.4 ns/op 54.26 MB/s 0 B/op 0 allocs/op
BenchmarkFromBitmap32-4 100000 17090 ns/op
BenchmarkMarshalMsgcontainerSerz-4 50000000 36.7 ns/op 8 B/op 1 allocs/op
BenchmarkAppendMsgcontainerSerz-4 100000000 18.3 ns/op 382.37 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalcontainerSerz-4 20000000 63.8 ns/op 109.76 MB/s 0 B/op 0 allocs/op
BenchmarkEncodecontainerSerz-4 30000000 46.2 ns/op 151.48 MB/s 0 B/op 0 allocs/op
BenchmarkDecodecontainerSerz-4 20000000 106 ns/op 66.01 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgroaringArray-4 20000000 61.1 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgroaringArray-4 100000000 24.5 ns/op 1880.66 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalroaringArray-4 20000000 93.5 ns/op 492.01 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderoaringArray-4 20000000 66.7 ns/op 689.42 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderoaringArray-4 10000000 206 ns/op 223.10 MB/s 0 B/op 0 allocs/op
PASS
ok github.com/RoaringBitmap/roaring 215.147s
goos: darwin
goarch: amd64
pkg: github.com/RoaringBitmap/roaring
BenchmarkMarshalMsgarrayContainer-4 50000000 37.9 ns/op 16 B/op 1 allocs/op
BenchmarkAppendMsgarrayContainer-4 100000000 10.3 ns/op 966.81 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalarrayContainer-4 50000000 29.9 ns/op 334.96 MB/s 0 B/op 0 allocs/op
BenchmarkEncodearrayContainer-4 100000000 20.4 ns/op 490.10 MB/s 0 B/op 0 allocs/op
BenchmarkDecodearrayContainer-4 20000000 61.5 ns/op 162.67 MB/s 0 B/op 0 allocs/op
HeapInUse 48963584
HeapObjects 983959
BenchmarkMemoryUsage-4
HeapInUse 53198848
HeapObjects 984026
HeapInUse 48963584
HeapObjects 983959
HeapInUse 52035584
HeapObjects 983988
HeapInUse 53198848
HeapObjects 984031
HeapInUse 49004544
HeapObjects 983965
2000000000 0.00 ns/op
BenchmarkIntersectionBitset-4 200000 12523 ns/op
BenchmarkIntersectionRoaring-4 1000000 1101 ns/op
BenchmarkIntersectionCardinalityRoaring-4 5000000 258 ns/op
BenchmarkUnionBitset-4 200 7441033 ns/op
BenchmarkUnionRoaring-4 5000 290690 ns/op
11.9 MB BenchmarkSizeBitset-4 11.9 MB 11.9 MB 11.9 MB 11.9 MB 11.9 MB 2000000000 0.00 ns/op
0.2 MB BenchmarkSizeRoaring-4 0.2 MB 0.2 MB 0.2 MB 0.2 MB 0.2 MB 2000000000 0.00 ns/op
BenchmarkSetRoaring-4 20000000 72.1 ns/op
BenchmarkSetBitset-4 50000000 26.7 ns/op
BenchmarkGetTestRoaring-4 10000000 137 ns/op
BenchmarkGetTestBitSet-4 100000000 19.4 ns/op
BenchmarkCountRoaring-4 30000000 52.8 ns/op
BenchmarkCountBitset-4 50000 33493 ns/op
BenchmarkIterateRoaring-4 2000 983572 ns/op
BenchmarkSparseIterateRoaring-4 2000 830407 ns/op
BenchmarkIterateBitset-4 3000 589623 ns/op
BenchmarkSparseContains-4 10000 111840 ns/op
BenchmarkSparseIterateBitset-4 500 2613962 ns/op
BenchmarkSerializationSparse-4 10000 237745 ns/op
BenchmarkSerializationMid-4 20000 85710 ns/op
BenchmarkSerializationDense-4 200000 9870 ns/op
BenchmarkEqualsSparse-4 10000 100646 ns/op
BenchmarkEqualsClone-4 20000 97408 ns/op
BenchmarkSequentialAdd-4 100 11513648 ns/op
BenchmarkXor-4 1000 1185115 ns/op
BenchmarkXorLopsided-4 10000 200348 ns/op
BenchmarkMarshalMsgbitmapContainer-4 30000000 54.9 ns/op 48 B/op 1 allocs/op
BenchmarkAppendMsgbitmapContainer-4 100000000 20.6 ns/op 1069.40 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalbitmapContainer-4 30000000 53.1 ns/op 414.56 MB/s 0 B/op 0 allocs/op
BenchmarkEncodebitmapContainer-4 50000000 38.6 ns/op 570.66 MB/s 0 B/op 0 allocs/op
BenchmarkDecodebitmapContainer-4 20000000 115 ns/op 190.61 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgbitmapContainerShortIterator-4 30000000 48.1 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsgbitmapContainerShortIterator-4 100000000 14.7 ns/op 612.94 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalbitmapContainerShortIterator-4 30000000 48.8 ns/op 184.31 MB/s 0 B/op 0 allocs/op
BenchmarkEncodebitmapContainerShortIterator-4 30000000 41.9 ns/op 214.68 MB/s 0 B/op 0 allocs/op
BenchmarkDecodebitmapContainerShortIterator-4 20000000 105 ns/op 85.65 MB/s 0 B/op 0 allocs/op
Benchmark100OrigNumberOfTrailingZeros-4 2000000 731 ns/op
Benchmark100CountTrailingZeros-4 30000000 53.8 ns/op
BenchmarkIntersectionLargeParallel-4 500 2966175 ns/op
BenchmarkIntersectionLargeRoaring-4 300 5472371 ns/op
BenchmarkPopcount-4 20000000 72.8 ns/op
BenchmarkMarshalMsgaddHelper16-4 20000000 76.9 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgaddHelper16-4 50000000 38.4 ns/op 1067.23 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshaladdHelper16-4 10000000 130 ns/op 314.43 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeaddHelper16-4 20000000 100 ns/op 406.14 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeaddHelper16-4 5000000 259 ns/op 157.79 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsginterval16-4 30000000 53.1 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsginterval16-4 100000000 21.6 ns/op 647.98 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalinterval16-4 30000000 58.3 ns/op 240.21 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeinterval16-4 30000000 40.4 ns/op 346.49 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeinterval16-4 20000000 100 ns/op 139.40 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgrunContainer16-4 30000000 47.3 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsgrunContainer16-4 100000000 14.7 ns/op 747.60 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalrunContainer16-4 30000000 48.0 ns/op 229.24 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderunContainer16-4 50000000 34.7 ns/op 317.18 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderunContainer16-4 20000000 88.9 ns/op 123.75 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgrunIterator16-4 20000000 64.2 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgrunIterator16-4 50000000 25.3 ns/op 1499.12 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalrunIterator16-4 20000000 96.9 ns/op 392.04 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderunIterator16-4 20000000 67.2 ns/op 565.23 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderunIterator16-4 10000000 213 ns/op 177.86 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsguint16Slice-4 50000000 26.9 ns/op 5 B/op 1 allocs/op
BenchmarkAppendMsguint16Slice-4 200000000 9.05 ns/op 110.48 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshaluint16Slice-4 100000000 10.5 ns/op 95.58 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeuint16Slice-4 100000000 10.6 ns/op 93.90 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeuint16Slice-4 100000000 17.2 ns/op 58.14 MB/s 0 B/op 0 allocs/op
BenchmarkFromBitmap16-4 100000 15801 ns/op
BenchmarkMarshalMsgaddHelper32-4 20000000 77.5 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgaddHelper32-4 50000000 37.8 ns/op 1084.30 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshaladdHelper32-4 10000000 129 ns/op 315.78 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeaddHelper32-4 20000000 91.7 ns/op 446.95 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeaddHelper32-4 5000000 258 ns/op 158.70 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsginterval32-4 30000000 55.5 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsginterval32-4 100000000 21.4 ns/op 653.05 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalinterval32-4 30000000 55.7 ns/op 251.25 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeinterval32-4 30000000 40.3 ns/op 347.48 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeinterval32-4 20000000 98.8 ns/op 141.70 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgrunContainer32-4 30000000 47.8 ns/op 32 B/op 1 allocs/op
BenchmarkAppendMsgrunContainer32-4 100000000 14.7 ns/op 749.65 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalrunContainer32-4 30000000 48.0 ns/op 229.13 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderunContainer32-4 50000000 35.0 ns/op 314.44 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderunContainer32-4 20000000 90.9 ns/op 121.06 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgrunIterator32-4 20000000 63.8 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgrunIterator32-4 50000000 24.9 ns/op 1523.70 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalrunIterator32-4 20000000 99.8 ns/op 380.93 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderunIterator32-4 20000000 67.6 ns/op 562.46 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderunIterator32-4 10000000 211 ns/op 179.37 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsguint32Slice-4 50000000 27.3 ns/op 5 B/op 1 allocs/op
BenchmarkAppendMsguint32Slice-4 200000000 8.89 ns/op 112.54 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshaluint32Slice-4 100000000 10.4 ns/op 95.87 MB/s 0 B/op 0 allocs/op
BenchmarkEncodeuint32Slice-4 100000000 10.9 ns/op 91.89 MB/s 0 B/op 0 allocs/op
BenchmarkDecodeuint32Slice-4 100000000 17.2 ns/op 58.10 MB/s 0 B/op 0 allocs/op
BenchmarkFromBitmap32-4 100000 15839 ns/op
BenchmarkMarshalMsgcontainerSerz-4 50000000 39.9 ns/op 8 B/op 1 allocs/op
BenchmarkAppendMsgcontainerSerz-4 100000000 18.7 ns/op 373.74 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalcontainerSerz-4 20000000 66.0 ns/op 106.05 MB/s 0 B/op 0 allocs/op
BenchmarkEncodecontainerSerz-4 50000000 40.5 ns/op 172.74 MB/s 0 B/op 0 allocs/op
BenchmarkDecodecontainerSerz-4 20000000 108 ns/op 64.24 MB/s 0 B/op 0 allocs/op
BenchmarkMarshalMsgroaringArray-4 20000000 64.1 ns/op 64 B/op 1 allocs/op
BenchmarkAppendMsgroaringArray-4 100000000 24.0 ns/op 1914.08 MB/s 0 B/op 0 allocs/op
BenchmarkUnmarshalroaringArray-4 20000000 97.4 ns/op 472.49 MB/s 0 B/op 0 allocs/op
BenchmarkEncoderoaringArray-4 20000000 67.0 ns/op 686.74 MB/s 0 B/op 0 allocs/op
BenchmarkDecoderoaringArray-4 10000000 212 ns/op 215.98 MB/s 0 B/op 0 allocs/op
PASS
ok github.com/RoaringBitmap/roaring 221.187s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment