Skip to content

Commit ec9cbe2

Browse files
committed
Updated benchmark results with forEach
1 parent 0e4a6c6 commit ec9cbe2

File tree

1 file changed

+39
-32
lines changed

1 file changed

+39
-32
lines changed

README.md

Lines changed: 39 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -75,66 +75,73 @@ Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
7575
Node version 0.12.7, v8 version 3.28.71.19
7676

7777
starting union query benchmark
78-
FastBitSet (creates new bitset) x 1,137,548 ops/sec ±2.12% (95 runs sampled)
79-
infusion.BitSet.js (creates new bitset) x 111,214 ops/sec ±0.43% (98 runs sampled)
80-
mattkrick.fast-bitset x 938,172 ops/sec ±1.51% (85 runs sampled)
78+
FastBitSet (creates new bitset) x 1,126,113 ops/sec ±1.63% (91 runs sampled)
79+
infusion.BitSet.js (creates new bitset) x 113,010 ops/sec ±0.21% (103 runs sampled)
80+
mattkrick.fast-bitset x 982,417 ops/sec ±1.36% (85 runs sampled)
8181
Fastest is FastBitSet (creates new bitset)
8282

8383
starting difference query benchmark
84-
FastBitSet (creates new bitset) x 1,219,467 ops/sec ±1.30% (88 runs sampled)
85-
infusion.BitSet.js (creates new bitset) x 263,423 ops/sec ±0.12% (101 runs sampled)
84+
FastBitSet (creates new bitset) x 1,185,454 ops/sec ±0.92% (87 runs sampled)
85+
infusion.BitSet.js (creates new bitset) x 268,052 ops/sec ±0.11% (99 runs sampled)
8686
Fastest is FastBitSet (creates new bitset)
8787

8888
starting intersection query benchmark
89-
FastBitSet (creates new bitset) x 1,270,896 ops/sec ±0.75% (94 runs sampled)
90-
infusion.BitSet.js (creates new bitset) x 467,202 ops/sec ±0.11% (101 runs sampled)
91-
mattkrick.fast-bitset x 967,824 ops/sec ±1.53% (84 runs sampled)
89+
FastBitSet (creates new bitset) x 1,288,108 ops/sec ±0.68% (96 runs sampled)
90+
infusion.BitSet.js (creates new bitset) x 473,104 ops/sec ±0.08% (102 runs sampled)
91+
mattkrick.fast-bitset x 1,038,004 ops/sec ±1.59% (72 runs sampled)
9292
Fastest is FastBitSet (creates new bitset)
9393

9494
starting cardinality benchmark
95-
FastBitSet x 3,081,983 ops/sec ±0.03% (101 runs sampled)
96-
infusion.BitSet.js x 878,217 ops/sec ±0.45% (100 runs sampled)
97-
tdegrunt.BitSet x 50,023 ops/sec ±0.95% (102 runs sampled)
98-
mattkrick.fast-bitset x 2,956,988 ops/sec ±0.12% (100 runs sampled)
95+
FastBitSet x 3,125,424 ops/sec ±0.01% (101 runs sampled)
96+
infusion.BitSet.js x 887,036 ops/sec ±0.01% (101 runs sampled)
97+
tdegrunt.BitSet x 50,380 ops/sec ±0.12% (103 runs sampled)
98+
mattkrick.fast-bitset x 3,008,909 ops/sec ±0.01% (101 runs sampled)
9999
Fastest is FastBitSet
100100

101101
starting dynamic bitmap creation benchmark
102-
FastBitSet x 131,584 ops/sec ±0.80% (97 runs sampled)
103-
infusion.BitSet.js x 138 ops/sec ±0.19% (91 runs sampled)
104-
tdegrunt.BitSet x 79,739 ops/sec ±0.14% (103 runs sampled)
102+
FastBitSet x 101,167 ops/sec ±0.83% (96 runs sampled)
103+
infusion.BitSet.js x 136 ops/sec ±0.23% (89 runs sampled)
104+
tdegrunt.BitSet x 81,699 ops/sec ±0.32% (101 runs sampled)
105105
Fastest is FastBitSet
106106

107107
starting query benchmark
108-
FastBitSet x 73,827,003 ops/sec ±0.33% (101 runs sampled)
109-
infusion.BitSet.js x 55,090,584 ops/sec ±0.13% (104 runs sampled)
110-
tdegrunt.BitSet x 63,382,411 ops/sec ±0.76% (101 runs sampled)
111-
mattkrick.fast-bitset x 55,103,593 ops/sec ±0.10% (104 runs sampled)
108+
FastBitSet x 96,509,705 ops/sec ±0.16% (100 runs sampled)
109+
infusion.BitSet.js x 66,382,869 ops/sec ±0.01% (102 runs sampled)
110+
tdegrunt.BitSet x 85,143,830 ops/sec ±0.00% (104 runs sampled)
111+
mattkrick.fast-bitset x 66,533,843 ops/sec ±0.03% (103 runs sampled)
112112
Fastest is FastBitSet
113113

114114
starting array extraction benchmark
115-
FastBitSet x 110,514 ops/sec ±0.26% (101 runs sampled)
116-
mattkrick.fast-bitset x 39,521 ops/sec ±0.06% (104 runs sampled)
115+
FastBitSet x 120,811 ops/sec ±0.03% (104 runs sampled)
116+
mattkrick.fast-bitset x 39,281 ops/sec ±0.07% (103 runs sampled)
117117
Fastest is FastBitSet
118118

119119
starting intersection cardinality query benchmark
120-
FastBitSet (creates new bitset) x 785,111 ops/sec ±0.84% (91 runs sampled)
121-
infusion.BitSet.js (creates new bitset) x 87,160 ops/sec ±0.20% (103 runs sampled)
122-
FastBitSet (fast way) x 2,992,881 ops/sec ±0.02% (103 runs sampled)
123-
mattkrick.fast-bitset (creates new bitset) x 344,781 ops/sec ±2.00% (91 runs sampled)
120+
FastBitSet (creates new bitset) x 838,230 ops/sec ±0.89% (94 runs sampled)
121+
infusion.BitSet.js (creates new bitset) x 86,757 ops/sec ±0.07% (101 runs sampled)
122+
FastBitSet (fast way) x 2,980,066 ops/sec ±0.02% (104 runs sampled)
123+
mattkrick.fast-bitset (creates new bitset) x 353,979 ops/sec ±1.87% (90 runs sampled)
124124
Fastest is FastBitSet (fast way)
125125

126126
starting difference cardinality query benchmark
127-
FastBitSet (creates new bitset) x 282,152 ops/sec ±1.33% (96 runs sampled)
128-
infusion.BitSet.js (creates new bitset) x 34,128 ops/sec ±0.20% (104 runs sampled)
129-
FastBitSet (fast way) x 2,828,535 ops/sec ±0.01% (104 runs sampled)
127+
FastBitSet (creates new bitset) x 269,864 ops/sec ±1.54% (94 runs sampled)
128+
infusion.BitSet.js (creates new bitset) x 33,962 ops/sec ±0.08% (104 runs sampled)
129+
FastBitSet (fast way) x 2,862,954 ops/sec ±0.03% (102 runs sampled)
130130
Fastest is FastBitSet (fast way)
131131

132132
starting union cardinality query benchmark
133-
FastBitSet (creates new bitset) x 262,217 ops/sec ±1.72% (90 runs sampled)
134-
infusion.BitSet.js (creates new bitset) x 30,510 ops/sec ±0.28% (101 runs sampled)
135-
FastBitSet (fast way) x 1,570,118 ops/sec ±0.02% (102 runs sampled)
136-
mattkrick.fast-bitset (creates new bitset) x 345,827 ops/sec ±1.86% (88 runs sampled)
133+
FastBitSet (creates new bitset) x 259,224 ops/sec ±1.56% (94 runs sampled)
134+
infusion.BitSet.js (creates new bitset) x 30,562 ops/sec ±0.14% (104 runs sampled)
135+
FastBitSet (fast way) x 1,567,215 ops/sec ±0.01% (100 runs sampled)
136+
mattkrick.fast-bitset (creates new bitset) x 373,414 ops/sec ±1.64% (98 runs sampled)
137137
Fastest is FastBitSet (fast way)
138+
139+
starting forEach benchmark
140+
FastBitSet x 62,065 ops/sec ±0.12% (104 runs sampled)
141+
FastBitSet (via array) x 13,531 ops/sec ±0.02% (103 runs sampled)
142+
mattkrick.fast-bitset x 37,866 ops/sec ±0.02% (90 runs sampled)
143+
Fastest is FastBitSet
144+
138145
```
139146

140147

0 commit comments

Comments
 (0)