JSONata vs JSONata w/ predicate vs JSPath vs JSPath w/ predicate vs JSONPath vs JSONPath w/ predicate vs JSONPath-Plus vs JSONPath-Plus w/ predicate vs JmesPath vs JmesPath w/ predicateFastest: JSPath (877.6x faster)
18,855,616 ops/sec
15,337,498 ops/sec
1,616,762 ops/sec
1,454,353 ops/sec
676,431 ops/sec
660,555 ops/sec
84,602 ops/sec
75,451 ops/sec
25,732 ops/sec
21,485 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| JSONata | |
| JSONata w/ predicate | |
| JSPath | |
| JSPath w/ predicate | |
| JSONPath | |
| JSONPath w/ predicate | |
| JSONPath-Plus | |
| JSONPath-Plus w/ predicate | |
| JmesPath | |
| JmesPath w/ predicate |
| Test name | Executions per second |
|---|---|
| ✓ JSPath w/ predicate | 52,638,384 Ops/sec |
| JSPath | 50,922,072 Ops/sec |
| JSONPath-Plus | 2,966,161 Ops/sec |
| JSONPath-Plus w/ predicate | 2,868,577 Ops/sec |
| JmesPath | 1,068,257 Ops/sec |
| JmesPath w/ predicate | 660,555 Ops/sec |
| JSONPath | 110,644 Ops/sec |
| JSONPath w/ predicate | 95,074 Ops/sec |
| JSONata w/ predicate | 29,073 Ops/sec |
| JSONata | 26,994 Ops/sec |