892c9785ad
We can write directly to hash.Hash. name old time/op new time/op delta DecodeBinary-8 2.89µs ± 3% 2.82µs ± 5% ~ (p=0.052 n=10+10) DecodeJSON-8 13.0µs ± 1% 12.8µs ± 1% -1.54% (p=0.002 n=10+8) DecodeFromBytes-8 2.37µs ± 1% 2.25µs ± 5% -5.25% (p=0.000 n=9+10) name old alloc/op new alloc/op delta DecodeBinary-8 1.75kB ± 0% 1.53kB ± 0% -12.79% (p=0.000 n=10+10) DecodeJSON-8 3.49kB ± 0% 3.26kB ± 0% -6.42% (p=0.000 n=10+10) DecodeFromBytes-8 1.37kB ± 0% 1.14kB ± 0% -16.37% (p=0.000 n=10+10) name old allocs/op new allocs/op delta DecodeBinary-8 26.0 ± 0% 23.0 ± 0% -11.54% (p=0.000 n=10+10) DecodeJSON-8 58.0 ± 0% 55.0 ± 0% -5.17% (p=0.000 n=10+10) DecodeFromBytes-8 18.0 ± 0% 15.0 ± 0% -16.67% (p=0.000 n=10+10) |
||
---|---|---|
.. | ||
attribute.go | ||
attribute_test.go | ||
attrtype.go | ||
attrtype_string.go | ||
bench_test.go | ||
conflicts.go | ||
doc.go | ||
helper_test.go | ||
not_valid_before.go | ||
notary_assisted.go | ||
oracle.go | ||
oracle_test.go | ||
oracleresponsecode_string.go | ||
reserved.go | ||
signer.go | ||
signer_test.go | ||
transaction.go | ||
transaction_test.go | ||
witness.go | ||
witness_scope.go | ||
witness_scope_string.go | ||
witness_scope_test.go | ||
witness_test.go |