@@ -218,6 +218,7 @@ Benchmarks run on standard Linode 1024 box.
218
218
Compared libraries:
219
219
* https://golang.org/pkg/encoding/json
220
220
* https://github.com/Jeffail/gabs
221
+ * https://github.com/a8m/djson
221
222
* https://github.com/bitly/go-simplejson
222
223
* https://github.com/antonholmquist/jason
223
224
* https://github.com/mreiferson/go-ujson
@@ -250,11 +251,12 @@ Library | time/op | bytes/op | allocs/op
250
251
------ | ------- | -------- | -------
251
252
encoding/json struct | 7879 | 880 | 18
252
253
encoding/json interface{} | 8946 | 1521 | 38
253
- Jeffail/gabs | 10053 | 1649 | 46
254
+ Jeffail/gabs | 10053 | 1649 | 46
254
255
bitly/go-simplejson | 10128 | 2241 | 36
255
256
antonholmquist/jason | 27152 | 7237 | 101
256
257
github.com/ugorji/go/codec | 8806 | 2176 | 31
257
258
mreiferson/go-ujson | ** 7008** | ** 1409** | 37
259
+ a8m/djson | 3862 | 1249 | 30
258
260
pquerna/ffjson | ** 3769** | ** 624** | ** 15**
259
261
mailru/easyjson | ** 2002** | ** 192** | ** 9**
260
262
buger/jsonparser | ** 1367** | ** 0** | ** 0**
@@ -279,6 +281,7 @@ https://github.com/buger/jsonparser/blob/master/benchmark/benchmark_medium_paylo
279
281
| antonholmquist/jason | 94099 | 19013 | 247 |
280
282
| github.com/ugorji/go/codec | 114719 | 6712 | 152 |
281
283
| mreiferson/go-ujson | ** 56972** | 11547 | 270 |
284
+ | a8m/djson | 28525 | 10196 | 198 |
282
285
| pquerna/ffjson | ** 20298** | ** 856** | ** 20** |
283
286
| mailru/easyjson | ** 10512** | ** 336** | ** 12** |
284
287
| buger/jsonparser | ** 15955** | ** 0** | ** 0** |
@@ -302,6 +305,7 @@ https://github.com/buger/jsonparser/blob/master/benchmark/benchmark_large_payloa
302
305
| --- | --- | --- | --- |
303
306
| encoding/json struct | 748336 | 8272 | 307 |
304
307
| encoding/json interface{} | 1224271 | 215425 | 3395 |
308
+ | a8m/djson | 510082 | 213682 | 2845 |
305
309
| pquerna/ffjson | ** 312271** | ** 7792** | ** 298** |
306
310
| mailru/easyjson | ** 154186** | ** 6992** | ** 288** |
307
311
| buger/jsonparser | ** 85308** | ** 0** | ** 0** |
0 commit comments