forked from mirror/go-json
Update README.md
This commit is contained in:
parent
3bd7507c30
commit
77059977ce
12
README.md
12
README.md
|
@ -39,11 +39,13 @@ Benchmark_Decode_SmallStruct_GoJsonNoEscape-12 3000000 4
|
|||
### MediumStruct
|
||||
|
||||
```
|
||||
Benchmark_Decode_MediumStruct_EncodingJson-12 100000 20643 ns/op 384 B/op 10 allocs/op
|
||||
Benchmark_Decode_MediumStruct_JsonIter-12 200000 11367 ns/op 2985 B/op 81 allocs/op
|
||||
Benchmark_Decode_MediumStruct_EasyJson-12 200000 6635 ns/op 232 B/op 6 allocs/op
|
||||
Benchmark_Decode_MediumStruct_GoJay-12 500000 3398 ns/op 2449 B/op 8 allocs/op
|
||||
Benchmark_Decode_MediumStruct_GoJayUnsafe-12 500000 3067 ns/op 144 B/op 7 allocs/op
|
||||
Benchmark_Decode_MediumStruct_EncodingJson-12 100000 20911 ns/op 384 B/op 10 allocs/op
|
||||
Benchmark_Decode_MediumStruct_JsonIter-12 200000 11386 ns/op 2985 B/op 81 allocs/op
|
||||
Benchmark_Decode_MediumStruct_EasyJson-12 200000 6522 ns/op 232 B/op 6 allocs/op
|
||||
Benchmark_Decode_MediumStruct_GoJay-12 500000 3431 ns/op 2449 B/op 8 allocs/op
|
||||
Benchmark_Decode_MediumStruct_GoJayUnsafe-12 500000 3121 ns/op 144 B/op 7 allocs/op
|
||||
Benchmark_Decode_MediumStruct_GoJson-12 500000 2923 ns/op 2409 B/op 5 allocs/op
|
||||
Benchmark_Decode_MediumStruct_GoJsonNoEscape-12 500000 2900 ns/op 2376 B/op 4 allocs/op
|
||||
```
|
||||
|
||||
### LargeStruct
|
||||
|
|
|
@ -4,7 +4,7 @@ go 1.12
|
|||
|
||||
require (
|
||||
github.com/francoispqt/gojay v1.2.13
|
||||
github.com/goccy/go-json v0.0.0-20200426030317-c37a3c1aac7b
|
||||
github.com/goccy/go-json v0.0.0-20200426055945-3bd7507c309f
|
||||
github.com/json-iterator/go v1.1.9
|
||||
github.com/mailru/easyjson v0.7.1
|
||||
)
|
||||
|
|
|
@ -29,6 +29,8 @@ github.com/goccy/go-json v0.0.0-20200425134937-b2f2a20f6518 h1:Im9WLti1rM0Lu7yfI
|
|||
github.com/goccy/go-json v0.0.0-20200425134937-b2f2a20f6518/go.mod h1:h37TlF6fMJkCKBvuOxM3yCc3CnzMOUL3Ya+zO4ERYXQ=
|
||||
github.com/goccy/go-json v0.0.0-20200426030317-c37a3c1aac7b h1:x2rU3NmJ9v14sP8q6ibSDHWm3dAmEvVPjxiLAAz4iU0=
|
||||
github.com/goccy/go-json v0.0.0-20200426030317-c37a3c1aac7b/go.mod h1:R/y4ycIiFvB+n4HQ2M0/BzGzFxFvgGk5wwIp4Q2JkCk=
|
||||
github.com/goccy/go-json v0.0.0-20200426055945-3bd7507c309f h1:ZIUfVwBw7xpFIPp/7neJMAycPOv1HEbLsloc2FF6/mY=
|
||||
github.com/goccy/go-json v0.0.0-20200426055945-3bd7507c309f/go.mod h1:R/y4ycIiFvB+n4HQ2M0/BzGzFxFvgGk5wwIp4Q2JkCk=
|
||||
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
|
||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
|
||||
github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E=
|
||||
|
|
Loading…
Reference in New Issue