Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Mac OS X 10.15.7
Desktop
13 days ago
Test name Executions per second
JSONata 26852.7 Ops/sec
JSONata w/ predicate 13482.3 Ops/sec
JSPath 35379420.0 Ops/sec
JSPath w/ predicate 19186582.0 Ops/sec
JSONPath 87242.9 Ops/sec
JSONPath w/ predicate 82622.0 Ops/sec
JSONPath-Plus 1983889.8 Ops/sec
JSONPath-Plus w/ predicate 1797302.2 Ops/sec
Liquid 4923.8 Ops/sec
Liquid w/ predicate 4107.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