Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ Performance Detail:

| Rank | Library | Time (ns/op) | Memory (B/op) | Allocations (allocs/op) | Relative speed (fastest = 1x) |
|:------:|:-------------------------------|---------------:|----------------:|--------------------------:|--------------------------------:|
| 1 | AsaiYusuke/JSONPath (reuse) | 117.80 | 0 | 0 | 1.00x |
| 2 | AsaiYusuke/JSONPath | 167.80 | 64 | 1 | 1.42x |
| 3 | Yalp/JSONPath | 300.40 | 160 | 5 | 2.55x |
| 4 | oliveagle/JsonPath | 365.30 | 160 | 5 | 3.10x |
| 5 | ohler55/OjG (jp) | 541.50 | 1264 | 4 | 4.60x |
| 6 | theory/RFC 9535 JSONPath in Go | 749.90 | 448 | 19 | 6.37x |
| 7 | PaesslerAG/JSONPath | 1346.00 | 816 | 29 | 11.43x |
| 8 | vmware-labs/YAML JSONPath | 2107.00 | 1240 | 67 | 17.89x |
| 9 | Spyzhov/Abstract JSON | 2571.00 | 968 | 30 | 21.83x |
| 10 | bhmj/JSONSlice | 4273.00 | 312 | 13 | 36.27x |
| 1 | AsaiYusuke/JSONPath (reuse) | 113.40 | 0 | 0 | 1.00x |
| 2 | AsaiYusuke/JSONPath | 160.10 | 64 | 1 | 1.41x |
| 3 | Yalp/JSONPath | 263.90 | 160 | 5 | 2.33x |
| 4 | oliveagle/JsonPath | 343.60 | 160 | 5 | 3.03x |
| 5 | ohler55/OjG (jp) | 513.20 | 1264 | 4 | 4.53x |
| 6 | theory/RFC 9535 JSONPath in Go | 691.40 | 448 | 19 | 6.10x |
| 7 | PaesslerAG/JSONPath | 1191.00 | 816 | 29 | 10.50x |
| 8 | vmware-labs/YAML JSONPath | 1941.00 | 1240 | 67 | 17.12x |
| 9 | Spyzhov/Abstract JSON | 2190.00 | 968 | 30 | 19.31x |
| 10 | bhmj/JSONSlice | 3666.00 | 312 | 13 | 32.33x |

![Simple query benchmark (ns/op)](assets/bench_chart_simple.svg)

Expand All @@ -104,12 +104,12 @@ Performance Detail:

| Rank | Library | Time (ns/op) | Memory (B/op) | Allocations (allocs/op) | Relative speed (fastest = 1x) |
|:------:|:-------------------------------|---------------:|----------------:|--------------------------:|--------------------------------:|
| 1 | AsaiYusuke/JSONPath (reuse) | 1151.00 | 80 | 2 | 1.00x |
| 2 | AsaiYusuke/JSONPath | 1203.00 | 96 | 3 | 1.05x |
| 3 | theory/RFC 9535 JSONPath in Go | 2392.00 | 528 | 33 | 2.08x |
| 4 | ohler55/OjG (jp) | 3952.00 | 6200 | 37 | 3.43x |
| 5 | Spyzhov/Abstract JSON | 15090.00 | 5464 | 222 | 13.11x |
| 6 | bhmj/JSONSlice | 15800.00 | 1728 | 35 | 13.73x |
| 1 | AsaiYusuke/JSONPath | 1161.00 | 96 | 3 | 1.00x |
| 2 | AsaiYusuke/JSONPath (reuse) | 1263.00 | 80 | 2 | 1.09x |
| 3 | theory/RFC 9535 JSONPath in Go | 2404.00 | 528 | 33 | 2.07x |
| 4 | ohler55/OjG (jp) | 3805.00 | 6200 | 37 | 3.28x |
| 5 | Spyzhov/Abstract JSON | 13765.00 | 5464 | 222 | 11.86x |
| 6 | bhmj/JSONSlice | 14849.00 | 1728 | 35 | 12.79x |

![Complex query benchmark (ns/op)](assets/bench_chart_complex.svg)

Expand Down
Loading