Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Windows
Desktop
2 months ago
Test name Executions per second
JSONata 64893.6 Ops/sec
JSONata w/ predicate 30851.8 Ops/sec
JSPath 7872744.0 Ops/sec
JSPath w/ predicate 7330250.0 Ops/sec
JSONPath 174951.5 Ops/sec
JSONPath w/ predicate 154945.5 Ops/sec
JSONPath-Plus 2509248.2 Ops/sec
JSONPath-Plus w/ predicate 2368342.5 Ops/sec
Liquid 10563.2 Ops/sec
Liquid w/ predicate 9000.4 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