| label | common value |
| by | bcmills@google.com |
| goarch | amd64 |
| goos | linux |
| pkg | encoding/json |
| upload | 20170427.2 |
| upload-file | json.old.txt |
| upload-part | 20170427.2/0 |
| upload-time | 2017-04-27T17:24:52Z |
| label |
values |
| time/op
|
|---|
| CodeEncoder | 14.1ms ±10%
|
| CodeEncoder-6 | 2.58ms ± 8%
|
| CodeEncoder-48 | 629µs ± 1%
|
| CodeMarshal | 14.9ms ± 5%
|
| CodeMarshal-6 | 3.28ms ±11%
|
| CodeMarshal-48 | 739µs ± 1%
|
| CodeDecoder | 49.7ms ± 4%
|
| CodeDecoder-6 | 10.1ms ± 8%
|
| CodeDecoder-48 | 2.60ms ± 3%
|
| DecoderStream | 352ns ± 5%
|
| DecoderStream-6 | 485ns ± 8%
|
| DecoderStream-48 | 522ns ± 7%
|
| CodeUnmarshal | 52.2ms ± 5%
|
| CodeUnmarshal-6 | 12.4ms ± 6%
|
| CodeUnmarshal-48 | 3.46ms ± 7%
|
| CodeUnmarshalReuse | 48.9ms ± 6%
|
| CodeUnmarshalReuse-6 | 10.3ms ±11%
|
| CodeUnmarshalReuse-48 | 2.68ms ± 3%
|
| UnmarshalString | 476ns ± 7%
|
| UnmarshalString-6 | 164ns ± 9%
|
| UnmarshalString-48 | 181ns ± 0%
|
| UnmarshalFloat64 | 414ns ± 4%
|
| UnmarshalFloat64-6 | 147ns ± 9%
|
| UnmarshalFloat64-48 | 176ns ± 2%
|
| UnmarshalInt64 | 369ns ± 4%
|
| UnmarshalInt64-6 | 132ns ±11%
|
| UnmarshalInt64-48 | 177ns ± 3%
|
| Issue10335 | 540ns ± 5%
|
| Issue10335-6 | 159ns ± 8%
|
| Issue10335-48 | 186ns ± 1%
|
| Unmapped | 1.74µs ± 2%
|
| Unmapped-6 | 414ns ± 5%
|
| Unmapped-48 | 226ns ± 2%
|
| NumberIsValid | 20.1ns ± 4%
|
| NumberIsValid-6 | 20.4ns ± 8%
|
| NumberIsValid-48 | 23.1ns ±12%
|
| NumberIsValidRegexp | 629ns ± 5%
|
| NumberIsValidRegexp-6 | 757ns ± 2%
|
| NumberIsValidRegexp-48 | 757ns ± 2%
|
| SkipValue | 13.2ms ± 9%
|
| SkipValue-6 | 15.1ms ±10%
|
| SkipValue-48 | 13.9ms ±12%
|
| EncoderEncode | 433ns ± 4%
|
| EncoderEncode-6 | 221ns ±15%
|
| EncoderEncode-48 | 161ns ± 4%
|
| [Geo mean] | 15.2µs
|
|
|
| speed
|
|---|
| CodeEncoder | 139MB/s ±10%
|
| CodeEncoder-6 | 756MB/s ± 8%
|
| CodeEncoder-48 | 3.08GB/s ± 1%
|
| CodeMarshal | 130MB/s ± 5%
|
| CodeMarshal-6 | 594MB/s ±10%
|
| CodeMarshal-48 | 2.62GB/s ± 1%
|
| CodeDecoder | 39.0MB/s ± 4%
|
| CodeDecoder-6 | 189MB/s ±13%
|
| CodeDecoder-48 | 746MB/s ± 2%
|
| DecoderStream |
|
| DecoderStream-6 |
|
| DecoderStream-48 |
|
| CodeUnmarshal | 37.2MB/s ± 5%
|
| CodeUnmarshal-6 | 157MB/s ± 6%
|
| CodeUnmarshal-48 | 561MB/s ± 7%
|
| CodeUnmarshalReuse |
|
| CodeUnmarshalReuse-6 |
|
| CodeUnmarshalReuse-48 |
|
| UnmarshalString |
|
| UnmarshalString-6 |
|
| UnmarshalString-48 |
|
| UnmarshalFloat64 |
|
| UnmarshalFloat64-6 |
|
| UnmarshalFloat64-48 |
|
| UnmarshalInt64 |
|
| UnmarshalInt64-6 |
|
| UnmarshalInt64-48 |
|
| Issue10335 |
|
| Issue10335-6 |
|
| Issue10335-48 |
|
| Unmapped |
|
| Unmapped-6 |
|
| Unmapped-48 |
|
| NumberIsValid |
|
| NumberIsValid-6 |
|
| NumberIsValid-48 |
|
| NumberIsValidRegexp |
|
| NumberIsValidRegexp-6 |
|
| NumberIsValidRegexp-48 |
|
| SkipValue | 141MB/s ±10%
|
| SkipValue-6 | 131MB/s ± 3%
|
| SkipValue-48 | 138MB/s ±11%
|
| EncoderEncode |
|
| EncoderEncode-6 |
|
| EncoderEncode-48 |
|
| [Geo mean] | 270MB/s
|
|
|
| alloc/op
|
|---|
| CodeEncoder | 45.9kB ± 0%
|
| CodeEncoder-6 | 55.1kB ± 0%
|
| CodeEncoder-48 | 110kB ± 0%
|
| CodeMarshal | 4.59MB ± 0%
|
| CodeMarshal-6 | 4.59MB ± 0%
|
| CodeMarshal-48 | 4.59MB ± 0%
|
| CodeDecoder | 2.28MB ± 5%
|
| CodeDecoder-6 | 2.43MB ±11%
|
| CodeDecoder-48 | 2.93MB ± 0%
|
| DecoderStream | 16.0B ± 0%
|
| DecoderStream-6 | 16.0B ± 0%
|
| DecoderStream-48 | 16.0B ± 0%
|
| CodeUnmarshal | 3.28MB ± 0%
|
| CodeUnmarshal-6 | 3.28MB ± 0%
|
| CodeUnmarshal-48 | 3.28MB ± 0%
|
| CodeUnmarshalReuse | 1.87MB ± 0%
|
| CodeUnmarshalReuse-6 | 1.90MB ± 1%
|
| CodeUnmarshalReuse-48 | 1.96MB ± 0%
|
| UnmarshalString | 304B ± 0%
|
| UnmarshalString-6 | 304B ± 0%
|
| UnmarshalString-48 | 304B ± 0%
|
| UnmarshalFloat64 | 292B ± 0%
|
| UnmarshalFloat64-6 | 292B ± 0%
|
| UnmarshalFloat64-48 | 292B ± 0%
|
| UnmarshalInt64 | 289B ± 0%
|
| UnmarshalInt64-6 | 289B ± 0%
|
| UnmarshalInt64-48 | 289B ± 0%
|
| Issue10335 | 312B ± 0%
|
| Issue10335-6 | 312B ± 0%
|
| Issue10335-48 | 312B ± 0%
|
| Unmapped | 344B ± 0%
|
| Unmapped-6 | 344B ± 0%
|
| Unmapped-48 | 344B ± 0%
|
| NumberIsValid | 0.00B
|
| NumberIsValid-6 | 0.00B
|
| NumberIsValid-48 | 0.00B
|
| NumberIsValidRegexp | 0.00B
|
| NumberIsValidRegexp-6 | 0.00B
|
| NumberIsValidRegexp-48 | 0.00B
|
| SkipValue | 0.00B
|
| SkipValue-6 | 0.00B
|
| SkipValue-48 | 15.0B ±167%
|
| EncoderEncode | 8.00B ± 0%
|
| EncoderEncode-6 | 8.00B ± 0%
|
| EncoderEncode-48 | 8.00B ± 0%
|
| [Geo mean] | 5.00kB
|
|
|
| allocs/op
|
|---|
| CodeEncoder | 1.00 ± 0%
|
| CodeEncoder-6 | 1.00 ± 0%
|
| CodeEncoder-48 | 1.00 ± 0%
|
| CodeMarshal | 17.0 ± 0%
|
| CodeMarshal-6 | 17.0 ± 0%
|
| CodeMarshal-48 | 17.0 ± 0%
|
| CodeDecoder | 89.6k ± 0%
|
| CodeDecoder-6 | 89.8k ± 0%
|
| CodeDecoder-48 | 90.5k ± 0%
|
| DecoderStream | 2.00 ± 0%
|
| DecoderStream-6 | 2.00 ± 0%
|
| DecoderStream-48 | 2.00 ± 0%
|
| CodeUnmarshal | 105k ± 0%
|
| CodeUnmarshal-6 | 105k ± 0%
|
| CodeUnmarshal-48 | 105k ± 0%
|
| CodeUnmarshalReuse | 89.5k ± 0%
|
| CodeUnmarshalReuse-6 | 89.8k ± 0%
|
| CodeUnmarshalReuse-48 | 90.5k ± 0%
|
| UnmarshalString | 2.00 ± 0%
|
| UnmarshalString-6 | 2.00 ± 0%
|
| UnmarshalString-48 | 2.00 ± 0%
|
| UnmarshalFloat64 | 2.00 ± 0%
|
| UnmarshalFloat64-6 | 2.00 ± 0%
|
| UnmarshalFloat64-48 | 2.00 ± 0%
|
| UnmarshalInt64 | 2.00 ± 0%
|
| UnmarshalInt64-6 | 2.00 ± 0%
|
| UnmarshalInt64-48 | 2.00 ± 0%
|
| Issue10335 | 3.00 ± 0%
|
| Issue10335-6 | 3.00 ± 0%
|
| Issue10335-48 | 3.00 ± 0%
|
| Unmapped | 4.00 ± 0%
|
| Unmapped-6 | 4.00 ± 0%
|
| Unmapped-48 | 4.00 ± 0%
|
| NumberIsValid | 0.00
|
| NumberIsValid-6 | 0.00
|
| NumberIsValid-48 | 0.00
|
| NumberIsValidRegexp | 0.00
|
| NumberIsValidRegexp-6 | 0.00
|
| NumberIsValidRegexp-48 | 0.00
|
| SkipValue | 0.00
|
| SkipValue-6 | 0.00
|
| SkipValue-48 | 0.00
|
| EncoderEncode | 1.00 ± 0%
|
| EncoderEncode-6 | 1.00 ± 0%
|
| EncoderEncode-48 | 1.00 ± 0%
|
| [Geo mean] | 34.4
|
|
|