Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Windows
Desktop
2 years ago
Test name Executions per second
JSONata 37383.7 Ops/sec
JSONata w/ predicate 18668.0 Ops/sec
JSPath 4471848.0 Ops/sec
JSPath w/ predicate 4078356.0 Ops/sec
JSONPath 109577.1 Ops/sec
JSONPath w/ predicate 100835.2 Ops/sec
JSONPath-Plus 1517813.4 Ops/sec
JSONPath-Plus w/ predicate 1460491.9 Ops/sec
Liquid 21155.4 Ops/sec
Liquid w/ predicate 18439.3 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