Skip to content

Instantly share code, notes, and snippets.

@pstibrany
Created February 3, 2020 11:01
Show Gist options
  • Save pstibrany/6418ad45e9c982a9e10950c4ad8f12a8 to your computer and use it in GitHub Desktop.
Save pstibrany/6418ad45e9c982a9e10950c4ad8f12a8 to your computer and use it in GitHub Desktop.
benchstat golden.master.out wip.out
name old time/op new time/op delta
MetricsCollections10 2.80ms ± 0% 2.76ms ± 0% ~ (p=1.000 n=1+1)
MetricsCollections100 31.6ms ± 0% 31.3ms ± 0% ~ (p=1.000 n=1+1)
MetricsCollections1000 337ms ± 0% 353ms ± 0% ~ (p=1.000 n=1+1)
MetricsCollections10000 6.00s ± 0% 4.56s ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/DoubleDelta/matrixes/ 440ms ± 0% 475ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/DoubleDelta/iterators/ 443ms ± 0% 446ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/DoubleDelta/batches/ 395ms ± 0% 395ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Varbit/matrixes/ 439ms ± 0% 463ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Varbit/iterators/ 436ms ± 0% 481ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Varbit/batches/ 368ms ± 0% 470ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Bigchunk/matrixes/ 454ms ± 0% 550ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Bigchunk/iterators/ 467ms ± 0% 506ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Bigchunk/batches/ 465ms ± 0% 434ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/DoubleDelta/matrixes/ 399ms ± 0% 422ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/DoubleDelta/iterators/ 407ms ± 0% 431ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/DoubleDelta/batches/ 371ms ± 0% 391ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Varbit/matrixes/ 379ms ± 0% 410ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Varbit/iterators/ 411ms ± 0% 442ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Varbit/batches/ 378ms ± 0% 379ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Bigchunk/matrixes/ 420ms ± 0% 528ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Bigchunk/iterators/ 484ms ± 0% 491ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Bigchunk/batches/ 405ms ± 0% 422ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/DoubleDelta/matrixes/ 95.2ms ± 0% 108.1ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/DoubleDelta/iterators/ 50.4ms ± 0% 58.2ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/DoubleDelta/batches/ 61.0ms ± 0% 63.8ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Varbit/matrixes/ 87.1ms ± 0% 97.9ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Varbit/iterators/ 57.4ms ± 0% 59.9ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Varbit/batches/ 65.7ms ± 0% 70.2ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Bigchunk/matrixes/ 156ms ± 0% 156ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Bigchunk/iterators/ 89.2ms ± 0% 91.7ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Bigchunk/batches/ 96.8ms ± 0% 98.8ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/DoubleDelta/matrixes/ 97.3ms ± 0% 96.3ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/DoubleDelta/iterators/ 89.8ms ± 0% 91.8ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/DoubleDelta/batches/ 84.5ms ± 0% 91.1ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/Varbit/matrixes/ 102ms ± 0% 105ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/Varbit/iterators/ 92.6ms ± 0% 90.8ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/Varbit/batches/ 86.6ms ± 0% 91.0ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/Bigchunk/matrixes/ 175ms ± 0% 169ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/Bigchunk/iterators/ 124ms ± 0% 130ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/Bigchunk/batches/ 147ms ± 0% 161ms ± 0% ~ (p=1.000 n=1+1)
ChunkQueryableFromTar/query=,from=-62135596800,to=-62135596800,step=0.000000 0.00ns ± 0% 0.00ns ± 0% ~ (all equal)
name old alloc/op new alloc/op delta
MetricsCollections10 722kB ± 0% 722kB ± 0% ~ (p=1.000 n=1+1)
MetricsCollections100 6.66MB ± 0% 6.66MB ± 0% ~ (p=1.000 n=1+1)
MetricsCollections1000 66.1MB ± 0% 66.1MB ± 0% ~ (p=1.000 n=1+1)
MetricsCollections10000 660MB ± 0% 660MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/DoubleDelta/matrixes/ 105MB ± 0% 105MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/DoubleDelta/iterators/ 42.3MB ± 0% 42.3MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/DoubleDelta/batches/ 42.4MB ± 0% 42.4MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Varbit/matrixes/ 105MB ± 0% 105MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Varbit/iterators/ 42.3MB ± 0% 42.3MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Varbit/batches/ 42.4MB ± 0% 42.4MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Bigchunk/matrixes/ 105MB ± 0% 105MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Bigchunk/iterators/ 42.3MB ± 0% 42.3MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/Bigchunk/batches/ 42.3MB ± 0% 42.3MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/DoubleDelta/matrixes/ 105MB ± 0% 105MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/DoubleDelta/iterators/ 42.3MB ± 0% 42.3MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/DoubleDelta/batches/ 42.4MB ± 0% 42.4MB ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/Varbit/matrixes/ 105MB ± 0% 105MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Varbit/iterators/ 42.3MB ± 0% 42.3MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Varbit/batches/ 42.4MB ± 0% 42.4MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Bigchunk/matrixes/ 105MB ± 0% 105MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Bigchunk/iterators/ 42.3MB ± 0% 42.3MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_1m0s/Bigchunk/batches/ 42.3MB ± 0% 42.3MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/DoubleDelta/matrixes/ 67.5MB ± 0% 67.5MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/DoubleDelta/iterators/ 4.95MB ± 0% 4.95MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/DoubleDelta/batches/ 5.05MB ± 0% 5.05MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Varbit/matrixes/ 67.5MB ± 0% 67.5MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Varbit/iterators/ 4.95MB ± 0% 4.95MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Varbit/batches/ 5.04MB ± 0% 5.04MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Bigchunk/matrixes/ 67.6MB ± 0% 67.6MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Bigchunk/iterators/ 5.36MB ± 0% 5.36MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Bigchunk/batches/ 5.36MB ± 0% 5.36MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/DoubleDelta/matrixes/ 67.5MB ± 0% 67.5MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/DoubleDelta/iterators/ 4.94MB ± 0% 4.94MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/DoubleDelta/batches/ 5.04MB ± 0% 5.04MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/Varbit/matrixes/ 67.5MB ± 0% 67.5MB ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/Varbit/iterators/ 4.94MB ± 0% 4.94MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/Varbit/batches/ 5.04MB ± 0% 5.04MB ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/foo/step_10m0s/Bigchunk/matrixes/ 67.6MB ± 0% 67.6MB ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/Bigchunk/iterators/ 5.36MB ± 0% 5.36MB ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/Bigchunk/batches/ 5.36MB ± 0% 5.36MB ± 0% ~ (all equal)
ChunkQueryableFromTar/query=,from=-62135596800,to=-62135596800,step=0.000000 0.00B 0.00B ~ (all equal)
name old allocs/op new allocs/op delta
MetricsCollections10 7.02k ± 0% 7.02k ± 0% ~ (all equal)
MetricsCollections100 64.5k ± 0% 64.5k ± 0% ~ (p=1.000 n=1+1)
MetricsCollections1000 639k ± 0% 639k ± 0% ~ (p=1.000 n=1+1)
MetricsCollections10000 6.38M ± 0% 6.38M ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_1m0s/DoubleDelta/matrixes/ 701k ± 0% 701k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_1m0s/DoubleDelta/iterators/ 694k ± 0% 694k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_1m0s/DoubleDelta/batches/ 693k ± 0% 693k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_1m0s/Varbit/matrixes/ 701k ± 0% 701k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_1m0s/Varbit/iterators/ 693k ± 0% 693k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_1m0s/Varbit/batches/ 692k ± 0% 692k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_1m0s/Bigchunk/matrixes/ 702k ± 0% 702k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_1m0s/Bigchunk/iterators/ 694k ± 0% 694k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_1m0s/Bigchunk/batches/ 691k ± 0% 691k ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/DoubleDelta/matrixes/ 701k ± 0% 701k ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/DoubleDelta/iterators/ 694k ± 0% 694k ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/DoubleDelta/batches/ 693k ± 0% 693k ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/Varbit/matrixes/ 701k ± 0% 701k ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/Varbit/iterators/ 693k ± 0% 693k ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/Varbit/batches/ 692k ± 0% 692k ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/Bigchunk/matrixes/ 702k ± 0% 702k ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/Bigchunk/iterators/ 694k ± 0% 694k ± 0% ~ (all equal)
ChunkQueryable/foo/step_1m0s/Bigchunk/batches/ 691k ± 0% 691k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_10m0s/DoubleDelta/matrixes/ 79.4k ± 0% 79.4k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_10m0s/DoubleDelta/iterators/ 71.5k ± 0% 71.5k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_10m0s/DoubleDelta/batches/ 70.8k ± 0% 70.8k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_10m0s/Varbit/matrixes/ 78.7k ± 0% 78.7k ± 0% ~ (p=1.000 n=1+1)
ChunkQueryable/rate(foo[1m])/step_10m0s/Varbit/iterators/ 70.8k ± 0% 70.8k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_10m0s/Varbit/batches/ 70.0k ± 0% 70.0k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_10m0s/Bigchunk/matrixes/ 80.1k ± 0% 80.1k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_10m0s/Bigchunk/iterators/ 75.8k ± 0% 75.8k ± 0% ~ (all equal)
ChunkQueryable/rate(foo[1m])/step_10m0s/Bigchunk/batches/ 73.7k ± 0% 73.7k ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/DoubleDelta/matrixes/ 79.4k ± 0% 79.4k ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/DoubleDelta/iterators/ 71.5k ± 0% 71.5k ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/DoubleDelta/batches/ 70.7k ± 0% 70.7k ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/Varbit/matrixes/ 78.6k ± 0% 78.6k ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/Varbit/iterators/ 70.8k ± 0% 70.8k ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/Varbit/batches/ 70.0k ± 0% 70.0k ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/Bigchunk/matrixes/ 80.1k ± 0% 80.1k ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/Bigchunk/iterators/ 75.8k ± 0% 75.8k ± 0% ~ (all equal)
ChunkQueryable/foo/step_10m0s/Bigchunk/batches/ 73.6k ± 0% 73.6k ± 0% ~ (all equal)
ChunkQueryableFromTar/query=,from=-62135596800,to=-62135596800,step=0.000000 0.00 0.00 ~ (all equal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment