Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Chrome 138
Windows
Desktop
9 months ago
Test name Executions per second
JSONata 31041.3 Ops/sec
JSONata w/ predicate 25960.8 Ops/sec
JSPath 34138860.0 Ops/sec
JSPath w/ predicate 27426846.0 Ops/sec
JSONPath 77462.6 Ops/sec
JSONPath w/ predicate 62303.5 Ops/sec
JSONPath-Plus 1941075.1 Ops/sec
JSONPath-Plus w/ predicate 1591521.9 Ops/sec
JmesPath 665956.7 Ops/sec
JmesPath w/ predicate 522161.2 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

  • JmesPath

  • JmesPath w/ predicate