Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.4.1
Mobile
8 months ago
Test name Executions per second
JSONata 83463.7 Ops/sec
JSONata w/ predicate 38939.3 Ops/sec
JSPath 4753749.5 Ops/sec
JSPath w/ predicate 4611700.0 Ops/sec
JSONPath 103257.4 Ops/sec
JSONPath w/ predicate 64634.8 Ops/sec
JSONPath-Plus 1431975.4 Ops/sec
JSONPath-Plus w/ predicate 1331611.9 Ops/sec
Liquid 14593.2 Ops/sec
Liquid w/ predicate 3200.8 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