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
2 years ago
JSPath
3.0M/s
JSPath w/ predicate
2.5M/s
JSONPath-Plus
932K/s
JSONPath-Plus w/ predicate
911K/s
JmesPath
489K/s
JmesPath w/ predicate
325K/s
JSONPath
62K/s
JSONPath w/ predicate
52K/s
JSONata
23K/s
JSONata w/ predicate
17K/s
View exact numbers
Test name Executions per second
JSPath 3,003,758 Ops/sec
JSPath w/ predicate 2,504,744 Ops/sec
JSONPath-Plus 932,034 Ops/sec
JSONPath-Plus w/ predicate 911,412 Ops/sec
JmesPath 488,964 Ops/sec
JmesPath w/ predicate 324,697 Ops/sec
JSONPath 61,683 Ops/sec
JSONPath w/ predicate 52,212 Ops/sec
JSONata 23,172 Ops/sec
JSONata w/ predicate 17,009 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: