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
8 months ago
Test name Executions per second
JSONata 20642.1 Ops/sec
JSONata w/ predicate 11369.0 Ops/sec
JSPath 3174441.0 Ops/sec
JSPath w/ predicate 3125343.5 Ops/sec
JSONPath 82924.1 Ops/sec
JSONPath w/ predicate 74569.1 Ops/sec
JSONPath-Plus 1292448.0 Ops/sec
JSONPath-Plus w/ predicate 1211628.2 Ops/sec
JmesPath 567264.9 Ops/sec
JmesPath w/ predicate 372685.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