From b4a7de17e82d49b97b665733ea730a48301b4b60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Mar 2026 05:03:46 +0000 Subject: [PATCH 1/2] Bump github.com/theory/jsonpath from 0.10.2 to 0.11.0 Bumps [github.com/theory/jsonpath](https://github.com/theory/jsonpath) from 0.10.2 to 0.11.0. - [Release notes](https://github.com/theory/jsonpath/releases) - [Changelog](https://github.com/theory/jsonpath/blob/main/CHANGELOG.md) - [Commits](https://github.com/theory/jsonpath/compare/v0.10.2...v0.11.0) --- updated-dependencies: - dependency-name: github.com/theory/jsonpath dependency-version: 0.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index fbafcbd..383864b 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/ohler55/ojg v1.28.0 github.com/oliveagle/jsonpath v0.1.4 github.com/spyzhov/ajson v0.9.6 - github.com/theory/jsonpath v0.10.2 + github.com/theory/jsonpath v0.11.0 github.com/vmware-labs/yaml-jsonpath v0.3.2 github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0 gopkg.in/yaml.v3 v3.0.1 diff --git a/go.sum b/go.sum index a807491..5eef8a4 100644 --- a/go.sum +++ b/go.sum @@ -44,10 +44,10 @@ github.com/spyzhov/ajson v0.9.6/go.mod h1:a6oSw0MMb7Z5aD2tPoPO+jq11ETKgXUr2XktHd github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= -github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/theory/jsonpath v0.10.2 h1:i8GeMxnD6ftNWeSeaGb/Eb8XghGjsas1eDizaQNupuE= -github.com/theory/jsonpath v0.10.2/go.mod h1:ZOz+y6MxTEDcN/FOxf9AOgeHSoKHx2B+E0nD3HOtzGE= +github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= +github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= +github.com/theory/jsonpath v0.11.0 h1:IlzhI/Ui8nFu50SVpnyYHzZVvI0+etEoZLR5LsZJOVc= +github.com/theory/jsonpath v0.11.0/go.mod h1:vl8nfJyq9MKMbcAiKv+7N9W3jDCH8qPr0mZoZj8wRk8= github.com/vmware-labs/yaml-jsonpath v0.3.2 h1:/5QKeCBGdsInyDCyVNLbXyilb61MXGi9NP674f9Hobk= github.com/vmware-labs/yaml-jsonpath v0.3.2/go.mod h1:U6whw1z03QyqgWdgXxvVnQ90zN1BWz5V+51Ewf8k+rQ= github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0 h1:6fRhSjgLCkTD3JnJxvaJ4Sj+TYblw757bqYgZaOq5ZY= From 64ac90aeb2b6e098868138c49578637666a123c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 9 Mar 2026 05:04:44 +0000 Subject: [PATCH 2/2] update README for 5d56dad6a2ebc6e0ba8a885ed9e13735dda05c88 --- README.md | 32 ++++++++++++++++---------------- assets/bench_chart_complex.svg | 6 +++--- assets/bench_chart_simple.svg | 6 +++--- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index aacbb63..53e5822 100644 --- a/README.md +++ b/README.md @@ -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) | 121.40 | 0 | 0 | 1.00x | -| 2 | AsaiYusuke/JSONPath | 171.70 | 64 | 1 | 1.41x | -| 3 | Yalp/JSONPath | 281.50 | 160 | 5 | 2.32x | -| 4 | oliveagle/JsonPath | 367.10 | 160 | 5 | 3.02x | -| 5 | ohler55/OjG (jp) | 546.30 | 1264 | 4 | 4.50x | -| 6 | theory/RFC 9535 JSONPath in Go | 794.90 | 480 | 20 | 6.55x | -| 7 | PaesslerAG/JSONPath | 1339.00 | 816 | 29 | 11.03x | -| 8 | vmware-labs/YAML JSONPath | 2025.00 | 1240 | 67 | 16.68x | -| 9 | Spyzhov/Abstract JSON | 2465.00 | 968 | 30 | 20.30x | -| 10 | bhmj/JSONSlice | 4116.00 | 312 | 13 | 33.90x | +| 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 | ![Simple query benchmark (ns/op)](assets/bench_chart_simple.svg) @@ -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) | 1146.00 | 80 | 2 | 1.00x | -| 2 | AsaiYusuke/JSONPath | 1171.00 | 96 | 3 | 1.02x | -| 3 | theory/RFC 9535 JSONPath in Go | 2281.00 | 528 | 33 | 1.99x | -| 4 | ohler55/OjG (jp) | 3946.00 | 6200 | 37 | 3.44x | -| 5 | Spyzhov/Abstract JSON | 15321.00 | 5464 | 222 | 13.37x | -| 6 | bhmj/JSONSlice | 15586.00 | 1728 | 35 | 13.60x | +| 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 | ![Complex query benchmark (ns/op)](assets/bench_chart_complex.svg) diff --git a/assets/bench_chart_complex.svg b/assets/bench_chart_complex.svg index 97ebd5a..4019e83 100644 --- a/assets/bench_chart_complex.svg +++ b/assets/bench_chart_complex.svg @@ -1,4 +1,4 @@ -Pygalbhmj/JSONSlice0.08333333333Spyzhov/Abstract JSON0.25ohler55/OjG (jp)0.4166666667theory/RFC 9535 JSONPath in Go0.5833333333AsaiYusuke/JSONPath0.75AsaiYusuke/JSONPath (reuse)0.916666666715586307.31412041997180.12820512820514bhmj/JSONSlice15321302.30483129044154148.0769230769231Spyzhov/Abstract JSON394687.28345827766347116.02564102564102ohler55/OjG (jp)228155.8100001619469783.97435897435898theory/RFC 9535 JSONPath in Go117134.8276947514692851.923076923076934AsaiYusuke/JSONPath114634.3551203052873519.87179487179486AsaiYusuke/JSONPath (reuse)15586153213946228111711146 \ No newline at end of file +Pygalbhmj/JSONSlice0.08333333333Spyzhov/Abstract JSON0.25ohler55/OjG (jp)0.4166666667theory/RFC 9535 JSONPath in Go0.5833333333AsaiYusuke/JSONPath0.75AsaiYusuke/JSONPath (reuse)0.916666666715800307.31412041997015180.12820512820514bhmj/JSONSlice15090294.07478579739796148.0769230769231Spyzhov/Abstract JSON395286.38505477456857116.02564102564102ohler55/OjG (jp)239257.2958125052550683.97435897435898theory/RFC 9535 JSONPath in Go120335.1245887499898351.923076923076934AsaiYusuke/JSONPath115134.15494734101271519.87179487179486AsaiYusuke/JSONPath (reuse)15800150903952239212031151 \ No newline at end of file diff --git a/assets/bench_chart_simple.svg b/assets/bench_chart_simple.svg index f38949c..a551fb4 100644 --- a/assets/bench_chart_simple.svg +++ b/assets/bench_chart_simple.svg @@ -1,4 +1,4 @@ -Pygalbhmj/JSONSlice0.05Spyzhov/Abstract JSON0.15vmware-labs/YAML JSONPath0.25PaesslerAG/JSONPath0.35theory/RFC 9535 JSONPath in Go0.45ohler55/OjG (jp)0.55oliveagle/JsonPath0.65Yalp/JSONPath0.75AsaiYusuke/JSONPath0.85AsaiYusuke/JSONPath (reuse)0.954116314.5068533242281279.8076923076923bhmj/JSONSlice2465193.4437301856711250.96153846153842Spyzhov/Abstract JSON2025161.1797845884784222.1153846153846vmware-labs/YAML JSONPath1339110.87736031649169193.26923076923075PaesslerAG/JSONPath794.970.98005849959958164.4230769230769theory/RFC 9535 JSONPath in Go546.352.75092923718575135.57692307692307ohler55/OjG (jp)367.139.6107041212382106.73076923076924oliveagle/JsonPath281.533.3339001596025477.8846153846154Yalp/JSONPath171.725.2825791901212849.038461538461526AsaiYusuke/JSONPath121.421.5942235911694820.192307692307715AsaiYusuke/JSONPath (reuse)4116246520251339794.9546.3367.1281.5171.7121.4 \ No newline at end of file +Pygalbhmj/JSONSlice0.05Spyzhov/Abstract JSON0.15vmware-labs/YAML JSONPath0.25PaesslerAG/JSONPath0.35theory/RFC 9535 JSONPath in Go0.45ohler55/OjG (jp)0.55oliveagle/JsonPath0.65Yalp/JSONPath0.75AsaiYusuke/JSONPath0.85AsaiYusuke/JSONPath (reuse)0.954273314.50685332422813279.8076923076923bhmj/JSONSlice2571194.28959222768503250.96153846153842Spyzhov/Abstract JSON2107161.5159088265123222.1153846153846vmware-labs/YAML JSONPath1346107.76424273105445193.26923076923075PaesslerAG/JSONPath749.965.65994817191853164.4230769230769theory/RFC 9535 JSONPath in Go541.550.94004381673664135.57692307692307ohler55/OjG (jp)365.338.494520076894766106.73076923076924oliveagle/JsonPath300.433.9104423770324577.8846153846154Yalp/JSONPath167.824.5445147498869749.038461538461526AsaiYusuke/JSONPath117.821.0128678316571520.192307692307715AsaiYusuke/JSONPath (reuse)4273257121071346749.9541.5365.3300.4167.8117.8 \ No newline at end of file