Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.1 Safari/605.1.15
Safari 16
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
JSONata 63798.9 Ops/sec
JSONata w/ predicate 33841.2 Ops/sec
JSPath 5489083.0 Ops/sec
JSPath w/ predicate 5469673.0 Ops/sec
JSONPath 147138.2 Ops/sec
JSONPath w/ predicate 124645.2 Ops/sec
JSONPath-Plus 1939521.6 Ops/sec
JSONPath-Plus w/ predicate 1928483.6 Ops/sec
Liquid 25915.1 Ops/sec
Liquid w/ predicate 19632.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