Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36
Chrome Mobile 129
Android
Mobile
3 months ago
Test name Executions per second
JSONata 36512.4 Ops/sec
JSONata w/ predicate 19593.5 Ops/sec
JSPath 5344051.5 Ops/sec
JSPath w/ predicate 5032247.0 Ops/sec
JSONPath 152954.4 Ops/sec
JSONPath w/ predicate 133376.1 Ops/sec
JSONPath-Plus 2064438.1 Ops/sec
JSONPath-Plus w/ predicate 1899432.4 Ops/sec
Liquid 7986.2 Ops/sec
Liquid w/ predicate 6541.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