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
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ without breaking performance.
41
41
42
42
43
43
### Benchmark
44
-
There are 3 benchmark types: small, medium and large payloads.
44
+
There are 3 benchmark types: [small](#small-payload), [medium](#medium-payload) and [large](#large-payload) payloads.
45
45
All the 3 are taken from the `jsonparser` project, and they try to simulate a real-life usage.
46
46
Each result from the different benchmark types is shown in a metric table below.
47
47
The lower the metrics are, the better the result is.
@@ -59,7 +59,7 @@ Compared libraries:
59
59
-https://github.com/mreiferson/go-ujson
60
60
-https://github.com/ugorji/go/codec
61
61
62
-
#### small payload
62
+
#### Small payload
63
63
Each library in the test gets a small payload to process that weighs 134 bytes.
64
64
You can see the payload [here](https://github.com/a8m/djson/blob/master/benchmark/benchmark_fixture.go#L3), and the test screenshot [here](https://github.com/a8m/djson/blob/master/assets/bench_small.png).
65
65
@@ -75,7 +75,7 @@ You can see the payload [here](https://github.com/a8m/djson/blob/master/benchmar
Each library in the test gets a medium payload to process that weighs 1.7KB.
80
80
You can see the payload [here](https://github.com/a8m/djson/blob/master/benchmark/benchmark_fixture.go#L5), and the test screenshot [here](https://github.com/a8m/djson/blob/master/assets/bench_medium.png).
81
81
@@ -90,7 +90,7 @@ You can see the payload [here](https://github.com/a8m/djson/blob/master/benchmar
Each library in the test gets a large payload to process that weighs 28KB.
95
95
You can see the payload [here](https://github.com/a8m/djson/blob/master/benchmark/benchmark_fixture.go#L7), and the test screenshot [here](https://github.com/a8m/djson/blob/master/assets/bench_large.png).
0 commit comments