From 77059977ce06d6f452851ee6e3cc4ce56ca9dfa4 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Sun, 26 Apr 2020 15:03:07 +0900 Subject: [PATCH] Update README.md --- README.md | 12 +++++++----- benchmarks/go.mod | 2 +- benchmarks/go.sum | 2 ++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 49136bc..21b7603 100644 --- a/README.md +++ b/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 diff --git a/benchmarks/go.mod b/benchmarks/go.mod index 6d1b7bd..269fb95 100644 --- a/benchmarks/go.mod +++ b/benchmarks/go.mod @@ -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 ) diff --git a/benchmarks/go.sum b/benchmarks/go.sum index 02432be..8159ef1 100644 --- a/benchmarks/go.sum +++ b/benchmarks/go.sum @@ -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=