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.2M/s
JSPath w/ predicate
3.1M/s
JSONPath-Plus
1.3M/s
JSONPath-Plus w/ predicate
1.2M/s
JmesPath
567K/s
JmesPath w/ predicate
373K/s
JSONPath
83K/s
JSONPath w/ predicate
75K/s
JSONata
21K/s
JSONata w/ predicate
11K/s
View exact numbers
Test name Executions per second
JSPath 3,174,441 Ops/sec
JSPath w/ predicate 3,125,344 Ops/sec
JSONPath-Plus 1,292,448 Ops/sec
JSONPath-Plus w/ predicate 1,211,628 Ops/sec
JmesPath 567,265 Ops/sec
JmesPath w/ predicate 372,686 Ops/sec
JSONPath 82,924 Ops/sec
JSONPath w/ predicate 74,569 Ops/sec
JSONata 20,642 Ops/sec
JSONata w/ predicate 11,369 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: