Skip to content

Commit 332abcf

Browse files
committed
Update README.md
1 parent fc427b9 commit 332abcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ https://github.com/buger/jsonparser/blob/master/benchmark/benchmark_small_payloa
174174
| mreiferson/go-ujson | **7185** | **1409** | 37 |
175175
| pquerna/ffjson | **3816** | **624** | **15** |
176176
| mailru/easyjson | **1965** | **192** | **9** |
177-
| buger/jsonparser | **1385** | **0** | **0** |
177+
| buger/jsonparser | **1242** | **0** | **0** |
178178

179179
Winners are ffjson, easyjson and jsonparser, where jsonparser is 5.5x faster then encoding/json and 2.8x faster then ffjson, and slightly faster then easyjson.
180180
If you look at memory allocation, jsonparser has no rivals, as it makes no data copy and operates with raw []byte structures and pointers to it.
@@ -197,7 +197,7 @@ https://github.com/buger/jsonparser/blob/master/benchmark/benchmark_medium_paylo
197197
| mreiferson/go-ujson | **57038** | 11547 | 270 |
198198
| pquerna/ffjson | **20433** | **856** | **20** |
199199
| mailru/easyjson | **10642** | **336** | **12** |
200-
| buger/jsonparser | **14843** | **16** | **1** |
200+
| buger/jsonparser | **12950** | **16** | **1** |
201201

202202
The difference between ffjson and jsonparser in CPU usage is smaller, while the memory consumption difference is growing. On the other hand `easyjson` shows remarkable performance for medium payload.
203203

0 commit comments

Comments
 (0)