Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Windows
Desktop
8 months ago
Test name Executions per second
JSONata 36932.8 Ops/sec
JSONata w/ predicate 20188.5 Ops/sec
JSPath 5347204.5 Ops/sec
JSPath w/ predicate 5013113.0 Ops/sec
JSONPath 131089.1 Ops/sec
JSONPath w/ predicate 113790.8 Ops/sec
JSONPath-Plus 1717394.8 Ops/sec
JSONPath-Plus w/ predicate 1733102.8 Ops/sec
Liquid 17024.4 Ops/sec
Liquid w/ predicate 12734.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