Update README.md

This commit is contained in:
Masaaki Goshima 2020-04-24 22:02:46 +09:00
parent 24447ce7e9
commit 146949a833
1 changed files with 8 additions and 7 deletions

View File

@ -13,14 +13,15 @@ $ go test -bench .
goos: darwin
goarch: amd64
pkg: github.com/goccy/go-json
Benchmark_Encode_jsoniter-12 5000000 375 ns/op 56 B/op 2 allocs/op
Benchmark_Encode_gojay-12 5000000 271 ns/op 512 B/op 1 allocs/op
Benchmark_Encode_gojson-12 10000000 214 ns/op 48 B/op 1 allocs/op
Benchmark_Decode_jsoniter-12 2000000 834 ns/op 208 B/op 13 allocs/op
Benchmark_Decode_gojay-12 3000000 546 ns/op 256 B/op 2 allocs/op
Benchmark_Decode_gojson-12 3000000 478 ns/op 144 B/op 1 allocs/op
Benchmark_Encode_jsoniter-12 5000000 377 ns/op 56 B/op 2 allocs/op
Benchmark_Encode_gojay-12 5000000 273 ns/op 512 B/op 1 allocs/op
Benchmark_Encode_gojson-12 10000000 217 ns/op 48 B/op 1 allocs/op
Benchmark_Decode_jsoniter-12 2000000 856 ns/op 208 B/op 13 allocs/op
Benchmark_Decode_gojay-12 3000000 548 ns/op 256 B/op 2 allocs/op
Benchmark_Decode_gojson-12 3000000 522 ns/op 256 B/op 2 allocs/op
Benchmark_Decode_gojson_noescape-12 3000000 470 ns/op 144 B/op 1 allocs/op
PASS
ok github.com/goccy/go-json 12.921s
ok github.com/goccy/go-json 15.120s
```
# License