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 43835.3 Ops/sec
JSONata w/ predicate 33470.7 Ops/sec
JSPath 51785012.0 Ops/sec
JSPath w/ predicate 49814860.0 Ops/sec
JSONPath 131252.8 Ops/sec
JSONPath w/ predicate 115149.5 Ops/sec
JSONPath-Plus 3267023.5 Ops/sec
JSONPath-Plus w/ predicate 3035256.0 Ops/sec
JmesPath 1201180.9 Ops/sec
JmesPath w/ predicate 803943.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

  • JmesPath

  • JmesPath w/ predicate