Skip to content

Commit b5b6aa3

Browse files
authored
Update README.md
1 parent 311fc09 commit b5b6aa3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ without breaking performance.
4141

4242

4343
### 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.
4545
All the 3 are taken from the `jsonparser` project, and they try to simulate a real-life usage.
4646
Each result from the different benchmark types is shown in a metric table below.
4747
The lower the metrics are, the better the result is.
@@ -59,7 +59,7 @@ Compared libraries:
5959
- https://github.com/mreiferson/go-ujson
6060
- https://github.com/ugorji/go/codec
6161

62-
#### small payload
62+
#### Small payload
6363
Each library in the test gets a small payload to process that weighs 134 bytes.
6464
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).
6565

@@ -75,7 +75,7 @@ You can see the payload [here](https://github.com/a8m/djson/blob/master/benchmar
7575
| a8m/djson.[AllocString][as] | __2195__ | __1169__ | __13__ |
7676

7777

78-
#### medium payload
78+
#### Medium payload
7979
Each library in the test gets a medium payload to process that weighs 1.7KB.
8080
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).
8181

@@ -90,7 +90,7 @@ You can see the payload [here](https://github.com/a8m/djson/blob/master/benchmar
9090
| a8m/djson | __22871__ | __10100__ | __195__ |
9191
| a8m/djson.[AllocString][as] | __19296__ | __10619__ | __87__ |
9292

93-
#### large payload
93+
#### Large payload
9494
Each library in the test gets a large payload to process that weighs 28KB.
9595
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).
9696

0 commit comments

Comments
 (0)