Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0
Chrome 140
Windows
Desktop
7 months ago
Test name Executions per second
JSONata 26994.0 Ops/sec
JSONata w/ predicate 29072.8 Ops/sec
JSPath 50922072.0 Ops/sec
JSPath w/ predicate 52638384.0 Ops/sec
JSONPath 110643.9 Ops/sec
JSONPath w/ predicate 95073.9 Ops/sec
JSONPath-Plus 2966160.8 Ops/sec
JSONPath-Plus w/ predicate 2868577.0 Ops/sec
JmesPath 1068257.0 Ops/sec
JmesPath w/ predicate 660554.6 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