Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Windows
Desktop
11 months ago
Test name Executions per second
JSONata 16119.6 Ops/sec
JSONata w/ predicate 9228.4 Ops/sec
JSPath 2645157.5 Ops/sec
JSPath w/ predicate 2690644.8 Ops/sec
JSONPath 62108.5 Ops/sec
JSONPath w/ predicate 53344.1 Ops/sec
JSONPath-Plus 896853.1 Ops/sec
JSONPath-Plus w/ predicate 891647.3 Ops/sec
Liquid 7929.2 Ops/sec
Liquid w/ predicate 6016.2 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