label | common value |
by | bcmills@google.com |
goarch | amd64 |
goos | linux |
pkg | encoding/json |
upload | 20170427.2 |
upload-file | json.new.txt |
upload-part | 20170427.2/1 |
upload-time | 2017-04-27T17:24:52Z |
label |
values |
| time/op
|
---|
CodeEncoder | 13.5ms ± 4%
|
CodeEncoder-6 | 2.72ms ± 6%
|
CodeEncoder-48 | 629µs ± 1%
|
CodeMarshal | 14.9ms ± 5%
|
CodeMarshal-6 | 3.24ms ±12%
|
CodeMarshal-48 | 745µs ± 2%
|
CodeDecoder | 49.2ms ± 4%
|
CodeDecoder-6 | 10.4ms ± 3%
|
CodeDecoder-48 | 2.61ms ± 2%
|
DecoderStream | 344ns ± 4%
|
DecoderStream-6 | 503ns ± 6%
|
DecoderStream-48 | 520ns ± 5%
|
CodeUnmarshal | 54.4ms ±18%
|
CodeUnmarshal-6 | 12.3ms ± 6%
|
CodeUnmarshal-48 | 3.40ms ± 9%
|
CodeUnmarshalReuse | 50.3ms ± 7%
|
CodeUnmarshalReuse-6 | 10.3ms ±10%
|
CodeUnmarshalReuse-48 | 2.67ms ± 4%
|
UnmarshalString | 474ns ± 7%
|
UnmarshalString-6 | 160ns ±10%
|
UnmarshalString-48 | 177ns ± 2%
|
UnmarshalFloat64 | 418ns ± 4%
|
UnmarshalFloat64-6 | 143ns ±16%
|
UnmarshalFloat64-48 | 174ns ± 2%
|
UnmarshalInt64 | 354ns ± 1%
|
UnmarshalInt64-6 | 132ns ±10%
|
UnmarshalInt64-48 | 174ns ± 2%
|
Issue10335 | 535ns ± 0%
|
Issue10335-6 | 164ns ± 8%
|
Issue10335-48 | 182ns ± 2%
|
Unmapped | 1.76µs ± 6%
|
Unmapped-6 | 402ns ±10%
|
Unmapped-48 | 224ns ± 2%
|
NumberIsValid | 19.7ns ± 3%
|
NumberIsValid-6 | 22.2ns ±16%
|
NumberIsValid-48 | 23.8ns ± 8%
|
NumberIsValidRegexp | 622ns ± 0%
|
NumberIsValidRegexp-6 | 725ns ±14%
|
NumberIsValidRegexp-48 | 723ns ±13%
|
SkipValue | 13.3ms ± 1%
|
SkipValue-6 | 14.8ms ± 2%
|
SkipValue-48 | 14.3ms ± 1%
|
EncoderEncode | 410ns ± 3%
|
EncoderEncode-6 | 74.7ns ± 5%
|
EncoderEncode-48 | 18.8ns ± 7%
|
[Geo mean] | 14.1µs
|
|
| speed
|
---|
CodeEncoder | 144MB/s ± 4%
|
CodeEncoder-6 | 714MB/s ± 6%
|
CodeEncoder-48 | 3.09GB/s ± 1%
|
CodeMarshal | 130MB/s ± 5%
|
CodeMarshal-6 | 601MB/s ±11%
|
CodeMarshal-48 | 2.60GB/s ± 2%
|
CodeDecoder | 39.5MB/s ± 4%
|
CodeDecoder-6 | 187MB/s ± 3%
|
CodeDecoder-48 | 745MB/s ± 2%
|
DecoderStream |
|
DecoderStream-6 |
|
DecoderStream-48 |
|
CodeUnmarshal | 35.9MB/s ±16%
|
CodeUnmarshal-6 | 158MB/s ± 6%
|
CodeUnmarshal-48 | 572MB/s ±10%
|
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 | 139MB/s ± 1%
|
SkipValue-6 | 133MB/s ± 2%
|
SkipValue-48 | 132MB/s ± 1%
|
EncoderEncode |
|
EncoderEncode-6 |
|
EncoderEncode-48 |
|
[Geo mean] | 269MB/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.21MB ± 0%
|
CodeDecoder-6 | 2.51MB ± 0%
|
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.88MB ± 1%
|
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 | 0.00B
|
EncoderEncode | 0.00B
|
EncoderEncode-6 | 0.00B
|
EncoderEncode-48 | 0.00B
|
[Geo mean] | 10.7kB
|
|
| allocs/op
|
---|
CodeEncoder | 0.00
|
CodeEncoder-6 | 0.00
|
CodeEncoder-48 | 0.00
|
CodeMarshal | 16.0 ± 0%
|
CodeMarshal-6 | 16.0 ± 0%
|
CodeMarshal-48 | 16.0 ± 0%
|
CodeDecoder | 89.5k ± 0%
|
CodeDecoder-6 | 89.9k ± 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.6k ± 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 | 0.00
|
EncoderEncode-6 | 0.00
|
EncoderEncode-48 | 0.00
|
[Geo mean] | 69.5
|
|