Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15
Safari 17
Mac OS X 10.15.7
Desktop
26 days ago
Test name Executions per second
JSONata 129986.3 Ops/sec
JSONata w/ predicate 57234.1 Ops/sec
JSPath 32753720.0 Ops/sec
JSPath w/ predicate 30126602.0 Ops/sec
JSONPath 211006.7 Ops/sec
JSONPath w/ predicate 183567.2 Ops/sec
JSONPath-Plus 3921461.0 Ops/sec
JSONPath-Plus w/ predicate 3823876.2 Ops/sec
Liquid 16220.6 Ops/sec
Liquid w/ predicate 12356.0 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