(Only the first run pasted here)
Higher is better.
ejs v1 comp x 24,313 ops/sec ±0.31% (100 runs sampled)
ejs v2 orig comp x 7,620 ops/sec ±0.72% (101 runs sampled)
ejs v2 new comp x 26,793 ops/sec ±1.44% (96 runs sampled)
| v1 | v2 orig | v2 new |
--------|-----:|--------:|-------:| v1 | 100% | 319% | 90% | v2 orig | 31% | 100% | 28% | v2 new | 110% | 352% | 100% |
ejs v1 x 255,559 ops/sec ±0.99% (94 runs sampled)
ejs v1 !_with x 711,009 ops/sec ±0.41% (101 runs sampled)
ejs v2 orig x 128,351 ops/sec ±0.62% (97 runs sampled)
ejs v2 orig !_with x 528,648 ops/sec ±0.63% (99 runs sampled)
ejs v2 new x 174,185 ops/sec ±0.45% (99 runs sampled)
ejs v2 new !_with x 666,686 ops/sec ±0.91% (101 runs sampled)
Fair comparisons are highlighted.
| v1 | v1 !_with| v2 orig | v2 orig !_with | v2 new | v2 new !_with |
-----------|---:|---:|---:|---:|---:|---:| v1 | 100% | 36% | 199% | 48% | 146% | 38% | v1 !_with | 278% | 100% | 554% | 134% | 408% | 107% | v2o | 50% | 18% | 100% | 24% | 74% | 19% | v2o !_with | 207% | 74% | 411% | 100% | 303% | 79% | v2n | 68% | 24% | 136% | 33% | 100% | 26% | v2n !_with | 261% | 94% | 519% | 126% | 383% | 100% |