Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Mac OS X 10.15.7
Desktop
9 months ago
Test name Executions per second
JSONata 42270.5 Ops/sec
JSONata w/ predicate 31976.0 Ops/sec
JSPath 7570775.0 Ops/sec
JSPath w/ predicate 7440352.5 Ops/sec
JSONPath 201695.2 Ops/sec
JSONPath w/ predicate 181001.7 Ops/sec
JSONPath-Plus 2660507.8 Ops/sec
JSONPath-Plus w/ predicate 2563014.2 Ops/sec
Liquid 29982.3 Ops/sec
Liquid w/ predicate 13217.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