Skip to content

Benchmarks ​

Generated: 2026-11-17 Node: v26.13.1

Summary ​

  • Each query is time-boxed per dataset (see targetMs in results.json).
  • Eval is disabled unless required by a query.
  • Suite includes RFC 9535 filter functions (length/match) and reverse slices.
  • Datasets cover small fixtures, synthetic collections, deep trees, wide objects, large arrays, and Unicode-heavy keys.
  • Datasets: 7 (fixture, synthetic, nested, wide, array, unicode, cars).
  • Queries: 43 total (9 eval, 34 non-eval).
  • Tags: recursion, filters, rfc-functions, reverse-slice, unicode.
  • Cars dataset is loaded from bench/cars.json (~100MB).
  • Some queries are unsupported by certain engines and marked as such.

Results ​

Fixture (Goessner) ​

QueryPathEvalJsonPathX ops/secJSONPath Plus ops/secjsonpath ops/secWinner
root$false8,330,1171,927,281692,411jsonpathx
dot$.store.book[0].authorfalse4,005,389837,59162,169jsonpathx
bracket$['store']['book'][0]['author']false4,647,575863,17846,941jsonpathx
union-names$.store['book','bicycle']false1,207,052439,20367,657jsonpathx
wildcard$.store.*false1,336,8901,045,835126,224jsonpathx
recursive$..authorfalse893,738297,48589,495jsonpathx
slice$.store.book[0:2]false1,008,042610,45970,825jsonpathx
slice-negative$.store.book[-3:-1]false1,016,032567,37372,737jsonpathx
index-negative$.store.book[-1]false4,964,9321,186,91483,079jsonpathx
union$.store.book[0,2]false962,700575,71460,956jsonpathx
filter$..book[?(@.price < 10)]native668,3522,03850,618jsonpathx
script$..book[(@.length-1)]native597,0952,19123,399jsonpathx
parent$..book[?(@.price > 10)]^native552,2411,929unsupportedjsonpathx
property$.store.*~false963,163873,133unsupportedjsonpathx
type-selector$..*@number()false522,140132,195unsupportedjsonpathx
rfc-length$..book[?length(@.author) > 3]false343,016361,951unsupportedjsonpath-plus
rfc-match$..book[?match(@.author, '^[A-Z]')]false369,748372,480unsupportedtie (jsonpath-plus)

Synthetic (2k items) ​

QueryPathEvalJsonPathX ops/secJSONPath Plus ops/secjsonpath ops/secWinner
root$false7,739,7751,735,356664,340jsonpathx
synthetic-items$.items[*].idfalse5,2742,506377jsonpathx
synthetic-filter$.items[?(@.price > 750 && @.tags.featured)].idnative43,7993481,680jsonpathx
synthetic-filter-heavy$.items[?(@.price > 500 && @.specs.weight < 20)].idnative18,0892921,029jsonpathx
synthetic-recursive$..tags.featuredfalse855358101jsonpathx
synthetic-groups$.groups[*].items[*].idfalse5,7812,275370jsonpathx
synthetic-slice$.items[100:500:5].pricefalse772,56527,7452,402jsonpathx
synthetic-slice-reverse$.items[200:0:-3].pricefalse863,44233,2432,432jsonpathx

Nested (tree) ​

QueryPathEvalJsonPathX ops/secJSONPath Plus ops/secjsonpath ops/secWinner
root$false7,735,2531,875,182689,234jsonpathx
nested-recursive$.tree..leaffalse47,23611,3815,252jsonpathx
nested-siblings$.tree.siblings[*].leaffalse769,012815,35866,201jsonpath-plus
nested-filter$..[?(@.leaf == true)]native25,5897313,184jsonpathx

Wide (2k keys) ​

QueryPathEvalJsonPathX ops/secJSONPath Plus ops/secjsonpath ops/secWinner
root$false7,713,6271,891,465663,235jsonpathx
wide-specific$.props.key_1999.valuefalse4,803,461969,73290,127jsonpathx
wide-wildcard$.props.*.valuefalse3,5012,104354jsonpathx
wide-filter$.props.*[?(@.nested.flag)].valuenativeunsupportedunsupported2jsonpath
wide-recursive$..valuefalse1,451510249jsonpathx

Array (50k items) ​

QueryPathEvalJsonPathX ops/secJSONPath Plus ops/secjsonpath ops/secWinner
root$false7,661,3311,830,808676,770jsonpathx
array-slice-large$.data[1000:5000:7]false66,5069,05596jsonpathx
array-union$.data[0,100,1000,10000]false1,166,377391,603431jsonpathx
array-last$.data[-1]false6,229,2691,308,2701,719jsonpathx

Unicode (quoted names) ​

QueryPathEvalJsonPathX ops/secJSONPath Plus ops/secjsonpath ops/secWinner
root$false7,675,3581,883,635675,592jsonpathx
unicode-quoted$['naïve key']['emoji😀'][*]['sp ace']false744,323777,08045,858tie (jsonpath-plus)
unicode-recursive$..['sp ace']false1,842,153500,227117,068jsonpathx

Cars (100MB) ​

QueryPathEvalJsonPathX ops/secJSONPath Plus ops/secjsonpath ops/secWinner
root$false7,696,3711,878,619685,424jsonpathx
cars-brand$.cars[*].brand.namefalse124480jsonpathx
cars-models$.cars[:25].modelfalse824,04684,903171jsonpathx
cars-union$.cars[0,1,2].manufacturerfalse750,944416,010981jsonpathx
cars-recursive$..engineDisplacementfalse12123tie (jsonpath-plus)
cars-filter$.cars[?(@.fuelType == 'Petrol')].modelnative150191jsonpathx
cars-script$.cars[(@.length-1)].modelnative730,4842,4411,287jsonpathx
cars-property$.cars[0].extraFeatures.*~false464,108436,201unsupportedjsonpathx

Released under the MIT License.