You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[json-query](https://www.npmjs.com/package/json-query)|[](https://www.npmjs.com/package/json-query)||
9
9
|[jsonpath-plus](https://www.npmjs.com/package/jsonpath-plus)|[](https://www.npmjs.com/package/jsonpath-plus)||
10
10
|[jsonpath](https://www.npmjs.com/package/jsonpath)|[](https://www.npmjs.com/package/jsonpath)||
11
+
|[json-p3](https://www.npmjs.com/package/json-p3)|[](https://www.npmjs.com/package/json-p3)||
12
+
|[js-json-go](https://www.npmjs.com/package/js-json-go)|[](https://www.npmjs.com/package/jg-json-go)||
13
+
|[json-power-query](https://www.npmjs.com/package/json-power-query)|[](https://www.npmjs.com/package/json-power-query)||
11
14
|[JSONStream](https://www.npmjs.com/package/JSONStream)|[](https://www.npmjs.com/package/JSONStream)||
12
15
|[oboe](https://www.npmjs.com/package/oboe)|[](https://www.npmjs.com/package/oboe)||
13
-
|[map-filter-reduce](https://www.npmjs.com/package/map-filter-reduce)|[](https://www.npmjs.com/package/map-filter-reduce)||
16
+
|[map-filter-reduce](https://www.npmjs.com/package/map-filter-reduce)|[](https://www.npmjs.com/package/map-filter-reduce)||
14
17
15
18
`jsonpath-plus` and `jsonpath` use the [XPath for Json Specification](https://goessner.net/articles/JsonPath).
16
-
`json-query` has its own custom DSL. `JSONStream`, `oboe`, and `map-filter-reduce` are streaming libraries, though I've had varying success in making them anywhere near as performant.
19
+
`json-query`, `json-p3` and `json-js-go` has its own custom DSL. `JSONStream`, `oboe`, and `map-filter-reduce` are streaming libraries, though I've had varying success in making them anywhere near as performant.
17
20
18
21
## How to run
19
22
20
23
```
21
-
npm install
22
-
npm run perf
24
+
pnpm install
25
+
pnpm run perf
23
26
```
24
27
25
28
### Method Explaination
@@ -34,58 +37,82 @@ The performance test runs three queries on each of the libraries. All three quer
34
37
35
38
### Results
36
39
37
-
Ran using Macbook Pro, 2.2 GHz Intel Core i7, 16 GB 2400 MHz DDR4
40
+
Ran using Macbook Pro, Apple M2 Max 12c, 32GB RAM, Node v21.4.0
0 commit comments