Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0
Chrome 123
Windows
Desktop
25 days ago
Test name Executions per second
JSONata 23172.0 Ops/sec
JSONata w/ predicate 17008.5 Ops/sec
JSPath 3003758.0 Ops/sec
JSPath w/ predicate 2504744.0 Ops/sec
JSONPath 61683.5 Ops/sec
JSONPath w/ predicate 52212.0 Ops/sec
JSONPath-Plus 932033.8 Ops/sec
JSONPath-Plus w/ predicate 911411.7 Ops/sec
JmesPath 488964.1 Ops/sec
JmesPath w/ predicate 324697.0 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