Snapshot e206245
JSONata cross-engine results¶
Source data: CSV.
Scores are throughput in ops/s (higher is faster). Ratios compare Branchline throughput to the fastest JSONata engine.
Dashjoin outliers are excluded from the summary and breakdown (outside 0.01x–100x Dashjoin median).
Branchline speedup summary¶
Counts include cases where both engines have scores. Speedup is Branchline ops/s divided by Dashjoin ops/s.
| Comparison | Faster cases | Total cases | Avg speedup (faster cases) | Max speedup |
|---|---|---|---|---|
| Interpreter vs Dashjoin | 12 | 17 | 19.201x | 213.028x |
| VM vs Dashjoin | 8 | 17 | 6.094x | 38.539x |
Case breakdown¶
| Case | Branchline Interpreter (ops/s) | Branchline VM (ops/s) | Fastest JSONata (ops/s) | Fastest JSONata engine | Interpreter vs JSONata | VM vs JSONata |
|---|---|---|---|---|---|---|
| fields/case000 | 42517.256 | 41415.688 | 43085.301 | dashjoin | 0.9868157923232102x | 0.9612486577554863x |
| filter_names | 39448.406 | 31438.259 | 36889.262 | dashjoin | 1.0693736802638214x | 0.8522333353339386x |
| function-count/case000 | 38309.034 | 24410.633 | 29883.103 | dashjoin | 1.281963056217754x | 0.8168707371194758x |
| function-sift/case004 | 37023.862 | 32552.936 | 2.26136521911E8 | ibm | 1.6372349589921924E-4x | 1.439525805377933E-4x |
| function-sum/case000 | 39894.422 | 23315.814 | 30117.241 | ibm | 1.3246373708341164x | 0.7741683462919616x |
| function-zip/case002 | 30696.942 | 20638.301 | 32609.652 | ibm | 0.9413452833468191x | 0.6328893389215092x |
| hof-map/case000 | 38670.489 | 26588.894 | 25225.971 | dashjoin | 1.5329633717473279x | 1.0540285833537102x |
| hof-zip-map/case000 | 39274.615 | 24877.053 | 22069.785 | dashjoin | 1.7795648919162292x | 1.1271995916623365x |
| map_discount | 40033.197 | 31155.678 | 28282.045 | dashjoin | 1.4154986502401334x | 1.1016062442676473x |
| numeric-operators/case000 | 42493.144 | 36834.522 | 40786.342 | dashjoin | 1.041847376289112x | 0.9031092157584071x |
| partial-application/case002 | 41978.108 | 38997.24 | 13161.881 | dashjoin | 3.1893699090728163x | 2.9628925318785746x |
| performance/case001 | 4874.112 | 881.774 | 22.88 | dashjoin | 213.02800550577024x | 38.538847427827605x |
| range-operator/case000 | 42523.244 | 41686.023 | 43013.563 | dashjoin | 0.9886008372870745x | 0.9691367275537432x |
| simple-array-selectors/case000 | 38677.449 | 27609.157 | 40036.028 | dashjoin | 0.9660660961026064x | 0.689607800110122x |
| string-concat/case000 | 43082.592 | 41431.274 | 43240.931 | dashjoin | 0.996338214002552x | 0.9581494312263903x |
| sum_prices | 39538.713 | 33684.827 | 26262.347 | dashjoin | 1.5055285355507426x | 1.2826281836462097x |
| summary_stats | 39324.944 | 32395.047 | 26442.523 | ibm | 1.487185779433157x | 1.2251118025235013x |