Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.3
Mobile
11 months ago
Test name Executions per second
JSONata 125161.6 Ops/sec
JSONata w/ predicate 46519.3 Ops/sec
JSPath 4454863.0 Ops/sec
JSPath w/ predicate 4078491.0 Ops/sec
JSONPath 101657.1 Ops/sec
JSONPath w/ predicate 86671.0 Ops/sec
JSONPath-Plus 1521923.2 Ops/sec
JSONPath-Plus w/ predicate 1497902.0 Ops/sec
Liquid 23998.0 Ops/sec
Liquid w/ predicate 18261.7 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