Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
JSONata 35574.0 Ops/sec
JSONata w/ predicate 18019.3 Ops/sec
JSPath 22812182.0 Ops/sec
JSPath w/ predicate 20007844.0 Ops/sec
JSONPath 124245.4 Ops/sec
JSONPath w/ predicate 102027.1 Ops/sec
JSONPath-Plus 2019312.5 Ops/sec
JSONPath-Plus w/ predicate 1540150.1 Ops/sec
Liquid 21352.8 Ops/sec
Liquid w/ predicate 13222.8 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