Skip to content

Instantly share code, notes, and snippets.

@junkdog
Created June 28, 2017 21:21
Show Gist options
  • Save junkdog/8fdadda79066607c0a72e33ec769d4ab to your computer and use it in GitHub Desktop.
Save junkdog/8fdadda79066607c0a72e33ec769d4ab to your computer and use it in GitHub Desktop.
bitvector-perf
Result "net.onedaybeard.bitvector.BitVectorBenchmark.artemis_foreach_intbag":
289.513 ±(99.9%) 3.925 ops/ms [Average]
(min, avg, max) = (288.385, 289.513, 291.137), stdev = 1.019
CI (99.9%): [285.588, 293.438] (assumes normal distribution)
Secondary result "net.onedaybeard.bitvector.BitVectorBenchmark.artemis_foreach_intbag:·perf":
Perf stats:
--------------------------------------------------
4253,782535 task-clock (msec) # 0,516 CPUs utilized
203 context-switches # 0,048 K/sec
28 cpu-migrations # 0,007 K/sec
110 page-faults # 0,026 K/sec
14 091 654 695 cycles # 3,313 GHz (30,82%)
52 974 018 562 instructions # 3,76 insn per cycle (38,66%)
6 622 509 809 branches # 1556,852 M/sec (38,77%)
3 229 487 branch-misses # 0,05% of all branches (38,83%)
415 013 542 L1-dcache-loads # 97,563 M/sec (38,27%)
742 422 L1-dcache-load-misses # 0,18% of all L1-dcache hits (16,75%)
61 239 LLC-loads # 0,014 M/sec (17,19%)
25 327 LLC-load-misses # 82,72% of all LL-cache hits (25,78%)
<not supported> L1-icache-loads
129 031 L1-icache-load-misses (34,29%)
371 754 820 dTLB-loads # 87,394 M/sec (34,02%)
6 729 dTLB-load-misses # 0,00% of all dTLB cache hits (17,15%)
13 969 iTLB-loads # 0,003 M/sec (17,13%)
2 415 iTLB-load-misses # 17,29% of all iTLB cache hits (25,67%)
<not supported> L1-dcache-prefetches
<not supported> L1-dcache-prefetch-misses
8,248431124 seconds time elapsed
Secondary result "net.onedaybeard.bitvector.BitVectorBenchmark.bitvector_foreach_bit_intbag:·perf":
Perf stats:
--------------------------------------------------
4223,768292 task-clock (msec) # 0,513 CPUs utilized
205 context-switches # 0,049 K/sec
34 cpu-migrations # 0,008 K/sec
122 page-faults # 0,029 K/sec
14 033 842 466 cycles # 3,323 GHz (30,79%)
51 597 909 832 instructions # 3,68 insn per cycle (38,64%)
5 845 441 070 branches # 1383,940 M/sec (38,73%)
41 863 131 branch-misses # 0,72% of all branches (38,72%)
11 520 120 292 L1-dcache-loads # 2727,451 M/sec (38,09%)
1 543 711 L1-dcache-load-misses # 0,01% of all L1-dcache hits (16,95%)
25 592 LLC-loads # 0,006 M/sec (17,06%)
17 759 LLC-load-misses # 138,79% of all LL-cache hits (25,56%)
<not supported> L1-icache-loads
87 828 L1-icache-load-misses (34,05%)
10 407 744 405 dTLB-loads # 2464,090 M/sec (33,80%)
8 630 dTLB-load-misses # 0,00% of all dTLB cache hits (16,92%)
24 627 iTLB-loads # 0,006 M/sec (16,90%)
1 621 iTLB-load-misses # 6,58% of all iTLB cache hits (25,36%)
<not supported> L1-dcache-prefetches
<not supported> L1-dcache-prefetch-misses
8,230129862 seconds time elapsed
@junkdog
Copy link
Author

junkdog commented Jun 29, 2017


Benchmark                            (fillRate)   Mode  Cnt     Score     Error   Units
artemis_foreach_intbag                      .01  thrpt    5  6850.205 ± 108.117  ops/ms
artemis_foreach_intbag                      .05  thrpt    5  2589.109 ±  68.334  ops/ms
artemis_foreach_intbag                      .10  thrpt    5  1877.539 ± 119.593  ops/ms
artemis_foreach_intbag                      .20  thrpt    5   944.897 ±  13.295  ops/ms
artemis_foreach_intbag                      .40  thrpt    5   665.297 ±   8.378  ops/ms
artemis_foreach_intbag                      .50  thrpt    5   542.709 ±   5.638  ops/ms
artemis_foreach_intbag                      .60  thrpt    5   451.972 ±   6.339  ops/ms
artemis_foreach_intbag                      .70  thrpt    5   393.164 ±   4.414  ops/ms
artemis_foreach_intbag                      .80  thrpt    5   348.671 ±   4.561  ops/ms
artemis_foreach_intbag                      .95  thrpt    5   297.707 ±   2.027  ops/ms

bitset_foreach_intbag                       .01  thrpt    5  5027.097 ±  22.061  ops/ms
bitset_foreach_intbag                       .05  thrpt    5  1160.013 ±   5.926  ops/ms
bitset_foreach_intbag                       .10  thrpt    5   584.035 ±   2.947  ops/ms
bitset_foreach_intbag                       .20  thrpt    5   297.213 ±   2.722  ops/ms
bitset_foreach_intbag                       .40  thrpt    5   152.821 ±   0.585  ops/ms
bitset_foreach_intbag                       .50  thrpt    5   124.083 ±   0.515  ops/ms
bitset_foreach_intbag                       .60  thrpt    5   103.909 ±   0.481  ops/ms
bitset_foreach_intbag                       .70  thrpt    5    89.670 ±   0.561  ops/ms
bitset_foreach_intbag                       .80  thrpt    5    78.757 ±   1.133  ops/ms
bitset_foreach_intbag                       .95  thrpt    5    67.317 ±   0.227  ops/ms

bitvector_foreach_bit_intbag                .01  thrpt    5  7401.083 ± 144.624  ops/ms
bitvector_foreach_bit_intbag                .05  thrpt    5  2465.733 ±  63.206  ops/ms
bitvector_foreach_bit_intbag                .10  thrpt    5  1352.152 ±  52.819  ops/ms
bitvector_foreach_bit_intbag                .20  thrpt    5   750.821 ±  14.914  ops/ms
bitvector_foreach_bit_intbag                .40  thrpt    5   384.339 ±   5.382  ops/ms
bitvector_foreach_bit_intbag                .50  thrpt    5   310.547 ±   7.757  ops/ms
bitvector_foreach_bit_intbag                .60  thrpt    5   238.543 ±   9.842  ops/ms
bitvector_foreach_bit_intbag                .70  thrpt    5   208.663 ±   1.607  ops/ms
bitvector_foreach_bit_intbag                .80  thrpt    5   183.869 ±   1.924  ops/ms
bitvector_foreach_bit_intbag                .95  thrpt    5   162.517 ±   1.839  ops/ms

bitvector_foreach_intbag                    .01  thrpt    5  2331.121 ± 274.463  ops/ms
bitvector_foreach_intbag                    .05  thrpt    5   735.859 ±  14.189  ops/ms
bitvector_foreach_intbag                    .10  thrpt    5   564.791 ±  20.432  ops/ms
bitvector_foreach_intbag                    .20  thrpt    5   313.985 ±   6.238  ops/ms
bitvector_foreach_intbag                    .40  thrpt    5    89.019 ±   2.873  ops/ms
bitvector_foreach_intbag                    .50  thrpt    5    80.178 ±   2.355  ops/ms
bitvector_foreach_intbag                    .60  thrpt    5    66.679 ±   0.906  ops/ms
bitvector_foreach_intbag                    .70  thrpt    5    57.149 ±   1.785  ops/ms
bitvector_foreach_intbag                    .80  thrpt    5    45.837 ±   0.522  ops/ms
bitvector_foreach_intbag                    .95  thrpt    5    40.849 ±   1.089  ops/ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment