Skip to content

1.0.12

Choose a tag to compare

@TotalTechGeek TotalTechGeek released this 01 Dec 20:29
· 5 commits to main since this release
6386a9f

Full Changelog: 1.0.11...1.0.12

Changes

  • Miscellaneous Optimizations
  • Improved Benchmark code a little for garbage collection and make the @first / @last more meaningful
1M Iterations (WARM)
Handlebars Simple: 2001.34ms | 1.00x
Elastic Simple: 1307.76ms | 1.53x
JLE Interpreted Simple: 49.24ms | 40.64x
JLE Async Simple: 124.24ms | 16.11x
JLE Simple: 2.76ms | 724.42x
---
Handlebars SimpleEach: 2293.45ms | 1.00x
Elastic SimpleEach: 3334.12ms | 0.69x
JLE Interpreted SimpleEach: 266.27ms | 8.61x
JLE Async SimpleEach: 157.09ms | 14.60x
JLE SimpleEach: 58.98ms | 38.88x
---
Handlebars SimpleIf: 2135.61ms | 1.00x
Elastic SimpleIf: 1411.66ms | 1.51x
JLE Interpreted SimpleIf: 41.14ms | 51.91x
JLE Async SimpleIf: 104.49ms | 20.44x
JLE SimpleIf: 11.36ms | 187.97x
---
Handlebars SimpleIf (False): 2122.84ms | 1.00x
Elastic SimpleIf (False): 1406.68ms | 1.51x
JLE Interpreted SimpleIf (False): 40.01ms | 53.06x
JLE Async SimpleIf (False): 105.59ms | 20.10x
JLE SimpleIf (False): 10.38ms | 204.50x
---
Handlebars NestedIf: 2111.60ms | 1.00x
Elastic NestedIf: 1413.94ms | 1.49x
JLE Interpreted NestedIf: 112.94ms | 18.70x
JLE Async NestedIf: 111.95ms | 18.86x
JLE NestedIf: 12.49ms | 169.11x
---
Handlebars NestedIf (False): 2503.20ms | 1.00x
Elastic NestedIf (False): 2329.81ms | 1.07x
JLE Interpreted NestedIf (False): 190.92ms | 13.11x
JLE Async NestedIf (False): 116.42ms | 21.50x
JLE NestedIf (False): 13.29ms | 188.31x
---
Handlebars NestedIf (18): 2124.83ms | 1.00x
Elastic NestedIf (18): 1434.37ms | 1.48x
JLE Interpreted NestedIf (18): 116.08ms | 18.30x
JLE Async NestedIf (18): 117.22ms | 18.13x
JLE NestedIf (18): 12.14ms | 174.96x
---
Handlebars EachStatic: 2520.06ms | 1.00x
Elastic EachStatic: 5299.47ms | 0.48x
JLE Interpreted EachStatic: 22.73ms | 110.89x
JLE Async EachStatic: 111.05ms | 22.69x
JLE EachStatic: 9.59ms | 262.89x
---
Handlebars AddExampleWithTraversal: 3906.75ms | 1.00x
Elastic AddExampleWithTraversal: 6399.03ms | 0.61x
JLE Interpreted AddExampleWithTraversal: 420.89ms | 9.28x
JLE Async AddExampleWithTraversal: 255.46ms | 15.29x
JLE AddExampleWithTraversal: 145.82ms | 26.79x
---
Handlebars Example 1: 3259.32ms | 1.00x
Elastic Example 1: 13178.59ms | 0.25x
JLE Interpreted Example 1: 987.40ms | 3.30x
JLE Async Example 1: 256.74ms | 12.70x
JLE Example 1: 146.50ms | 22.25x
---
Handlebars YAML: 6993.02ms | 1.00x
Elastic YAML: 20650.66ms | 0.34x
JLE Interpreted YAML: 1869.22ms | 3.74x
JLE Async YAML: 345.20ms | 20.26x
JLE YAML: 226.61ms | 30.86x
---
Handlebars Partials: 4912.14ms | 1.00x
Elastic Partials: 23207.82ms | 0.21x
JLE Interpreted Partials: 894.88ms | 5.49x
JLE Async Partials: 152.07ms | 32.30x
JLE Partials: 49.59ms | 99.05x
---
Handlebars First/Last: 29667.73ms | 1.00x
Elastic First/Last: 82484.19ms | 0.36x
JLE Interpreted First/Last: 5368.86ms | 5.53x
JLE Async First/Last: 947.12ms | 31.32x
JLE First/Last: 809.13ms | 36.67x
1 Iteration (COLD)
Handlebars Simple: 3.39ms | 1.00x
Elastic Simple: 1.00ms | 3.40x
JLE Interpreted Simple: 0.23ms | 14.50x
JLE Async Simple: 0.26ms | 13.14x
JLE Simple: 0.30ms | 11.22x
---
Handlebars SimpleEach: 1.30ms | 1.00x
Elastic SimpleEach: 0.41ms | 3.15x
JLE Interpreted SimpleEach: 0.45ms | 2.88x
JLE Async SimpleEach: 0.28ms | 4.60x
JLE SimpleEach: 0.49ms | 2.63x
---
Handlebars SimpleIf: 0.99ms | 1.00x
Elastic SimpleIf: 0.30ms | 3.36x
JLE Interpreted SimpleIf: 0.24ms | 4.07x
JLE Async SimpleIf: 0.30ms | 3.28x
JLE SimpleIf: 0.47ms | 2.10x
---
Handlebars SimpleIf (False): 0.62ms | 1.00x
Elastic SimpleIf (False): 0.28ms | 2.22x
JLE Interpreted SimpleIf (False): 0.11ms | 5.54x
JLE Async SimpleIf (False): 0.13ms | 4.64x
JLE SimpleIf (False): 0.29ms | 2.16x
---
Handlebars NestedIf: 1.16ms | 1.00x
Elastic NestedIf: 0.37ms | 3.14x
JLE Interpreted NestedIf: 0.20ms | 5.75x
JLE Async NestedIf: 0.32ms | 3.68x
JLE NestedIf: 0.32ms | 3.66x
---
Handlebars NestedIf (False): 1.00ms | 1.00x
Elastic NestedIf (False): 0.45ms | 2.20x
JLE Interpreted NestedIf (False): 0.21ms | 4.81x
JLE Async NestedIf (False): 0.20ms | 5.02x
JLE NestedIf (False): 0.22ms | 4.62x
---
Handlebars NestedIf (18): 0.92ms | 1.00x
Elastic NestedIf (18): 0.40ms | 2.29x
JLE Interpreted NestedIf (18): 0.12ms | 7.37x
JLE Async NestedIf (18): 0.18ms | 5.15x
JLE NestedIf (18): 0.21ms | 4.35x
---
Handlebars EachStatic: 0.78ms | 1.00x
Elastic EachStatic: 0.47ms | 1.67x
JLE Interpreted EachStatic: 0.17ms | 4.51x
JLE Async EachStatic: 0.53ms | 1.46x
JLE EachStatic: 0.39ms | 1.97x
---
Handlebars AddExampleWithTraversal: 0.96ms | 1.00x
Elastic AddExampleWithTraversal: 0.55ms | 1.76x
JLE Interpreted AddExampleWithTraversal: 0.22ms | 4.43x
JLE Async AddExampleWithTraversal: 0.41ms | 2.34x
JLE AddExampleWithTraversal: 0.56ms | 1.71x
---
Handlebars Example 1: 1.28ms | 1.00x
Elastic Example 1: 0.45ms | 2.82x
JLE Interpreted Example 1: 0.29ms | 4.44x
JLE Async Example 1: 0.45ms | 2.82x
JLE Example 1: 0.60ms | 2.11x
---
Handlebars YAML: 4.26ms | 1.00x
Elastic YAML: 1.04ms | 4.09x
JLE Interpreted YAML: 0.96ms | 4.44x
JLE Async YAML: 1.32ms | 3.23x
JLE YAML: 1.62ms | 2.63x
---
Handlebars Partials: 1.56ms | 1.00x
Elastic Partials: 0.58ms | 2.70x
JLE Interpreted Partials: 0.43ms | 3.68x
JLE Async Partials: 0.35ms | 4.49x
JLE Partials: 0.66ms | 2.35x
---
Handlebars First/Last: 1.11ms | 1.00x
Elastic First/Last: 0.68ms | 1.64x
JLE Interpreted First/Last: 0.26ms | 4.23x
JLE Async First/Last: 0.42ms | 2.61x
JLE First/Last: 0.59ms | 1.89x