Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Mac OS X 10.15.7
Desktop
10 months ago
Test name Executions per second
JSONata 66473.2 Ops/sec
JSONata w/ predicate 33789.9 Ops/sec
JSPath 8610884.0 Ops/sec
JSPath w/ predicate 7962423.0 Ops/sec
JSONPath 209971.6 Ops/sec
JSONPath w/ predicate 185581.7 Ops/sec
JSONPath-Plus 2971674.0 Ops/sec
JSONPath-Plus w/ predicate 2927328.2 Ops/sec
Liquid 24948.0 Ops/sec
Liquid w/ predicate 19049.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • JSONata

  • JSONata w/ predicate

  • JSPath

  • JSPath w/ predicate

  • JSONPath

  • JSONPath w/ predicate

  • JSONPath-Plus

  • JSONPath-Plus w/ predicate

  • Liquid

  • Liquid w/ predicate