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 Edg/123.0.0.0
Chrome 123
Windows
Desktop
25 days ago
Test name Executions per second
JSONata 13622.7 Ops/sec
JSONata w/ predicate 9797.1 Ops/sec
JSPath 3007980.0 Ops/sec
JSPath w/ predicate 2705608.0 Ops/sec
JSONPath 72037.1 Ops/sec
JSONPath w/ predicate 64747.2 Ops/sec
JSONPath-Plus 922312.8 Ops/sec
JSONPath-Plus w/ predicate 1016014.0 Ops/sec
Liquid 8966.7 Ops/sec
Liquid w/ predicate 5794.1 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