go-json/README.md

29 lines
947 B
Markdown
Raw Normal View History

2020-04-19 12:32:37 +03:00
# go-json
2020-04-22 07:06:52 +03:00
2020-04-19 12:32:37 +03:00
Fast JSON encoder/decoder compatible with encoding/json for Go
2020-04-19 14:27:56 +03:00
2020-04-22 07:06:52 +03:00
# Status
WIP
2020-04-19 14:27:56 +03:00
# Benchmarks
```
$ go test -bench .
goos: darwin
goarch: amd64
pkg: github.com/goccy/go-json
2020-04-22 07:06:52 +03:00
Benchmark_Encode_jsoniter-12 5000000 379 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 5000000 257 ns/op 48 B/op 1 allocs/op
Benchmark_Decode_jsoniter-12 2000000 846 ns/op 208 B/op 13 allocs/op
Benchmark_Decode_gojay-12 3000000 545 ns/op 256 B/op 2 allocs/op
Benchmark_Decode_gojson-12 3000000 506 ns/op 256 B/op 2 allocs/op
2020-04-19 14:27:56 +03:00
PASS
2020-04-22 07:06:52 +03:00
ok github.com/goccy/go-json 12.258s
2020-04-19 14:27:56 +03:00
```
2020-04-22 07:06:52 +03:00
# License
MIT