Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Windows
Desktop
2 years ago
Test name Executions per second
JSONata 38361.0 Ops/sec
JSONata w/ predicate 19381.2 Ops/sec
JSPath 4588011.5 Ops/sec
JSPath w/ predicate 4073605.5 Ops/sec
JSONPath 111284.9 Ops/sec
JSONPath w/ predicate 101311.5 Ops/sec
JSONPath-Plus 1518138.6 Ops/sec
JSONPath-Plus w/ predicate 1440473.6 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