Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Chrome 127
Mac OS X 10.15.7
Desktop
3 months ago
Test name Executions per second
JSONata 82151.3 Ops/sec
JSONata w/ predicate 41028.5 Ops/sec
JSPath 9065616.0 Ops/sec
JSPath w/ predicate 8501513.0 Ops/sec
JSONPath 235421.7 Ops/sec
JSONPath w/ predicate 202668.0 Ops/sec
JSONPath-Plus 3244363.5 Ops/sec
JSONPath-Plus w/ predicate 3104560.0 Ops/sec
Liquid 15856.0 Ops/sec
Liquid w/ predicate 14891.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