Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Benchmark go 1.2 vs go 1.3:
name old time/op new time/op delta
JsonMarshall 1.91µs ± 2% 1.37µs ± 2% -28.23% (p=0.008 n=5+5)
JsonUnmarshal 2.70µs ± 2% 1.75µs ± 3% -35.18% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
JsonMarshall 221B ± 0% 218B ± 0% -1.36% (p=0.008 n=5+5)
JsonUnmarshal 518B ± 0% 475B ± 0% -8.37% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
JsonMarshall 3.00 ± 0% 3.00 ± 0% ~ (all equal)
JsonUnmarshal 12.0 ± 0% 7.0 ± 0% -41.67% (p=0.008 n=5+5)
Benchmark go 1.3 vs go 1.4:
name old time/op new time/op delta
JsonMarshall 1.37µs ± 2% 1.61µs ± 2% +17.35% (p=0.008 n=5+5)
JsonUnmarshal 1.75µs ± 3% 1.87µs ± 2% +6.56% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
JsonMarshall 218B ± 0% 216B ± 0% -0.92% (p=0.008 n=5+5)
JsonUnmarshal 475B ± 0% 448B ± 0% -5.68% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
JsonMarshall 3.00 ± 0% 3.00 ± 0% ~ (all equal)
JsonUnmarshal 7.00 ± 0% 11.00 ± 0% +57.14% (p=0.008 n=5+5)
Benchmark go 1.4 vs go 1.5:
Benchmark go 1.5 vs go 1.6:
name old time/op new time/op delta
JsonMarshall-4 1.01µs ± 1% 1.24µs ± 1% +23.06% (p=0.000 n=9+9)
JsonUnmarshal-4 1.14µs ± 3% 1.52µs ± 3% +33.21% (p=0.000 n=9+10)
name old alloc/op new alloc/op delta
JsonMarshall-4 216B ± 0% 216B ± 0% ~ (all equal)
JsonUnmarshal-4 496B ± 0% 448B ± 0% -9.68% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
JsonMarshall-4 3.00 ± 0% 3.00 ± 0% ~ (all equal)
JsonUnmarshal-4 10.0 ± 0% 10.0 ± 0% ~ (all equal)
Benchmark go 1.6 vs go 1.7:
name old time/op new time/op delta
JsonMarshall-4 1.24µs ± 1% 0.90µs ± 2% -27.65% (p=0.000 n=9+10)
JsonUnmarshal-4 1.52µs ± 3% 0.91µs ± 2% -40.05% (p=0.000 n=10+9)
name old alloc/op new alloc/op delta
JsonMarshall-4 216B ± 0% 216B ± 0% ~ (all equal)
JsonUnmarshal-4 448B ± 0% 448B ± 0% ~ (all equal)
name old allocs/op new allocs/op delta
JsonMarshall-4 3.00 ± 0% 3.00 ± 0% ~ (all equal)
JsonUnmarshal-4 10.0 ± 0% 10.0 ± 0% ~ (all equal)
Benchmark go 1.7 vs go 1.8:
name old time/op new time/op delta
JsonMarshall-4 898ns ± 2% 805ns ± 3% -10.29% (p=0.000 n=10+9)
JsonUnmarshal-4 909ns ± 2% 862ns ± 3% -5.17% (p=0.000 n=9+10)
name old alloc/op new alloc/op delta
JsonMarshall-4 216B ± 0% 216B ± 0% ~ (all equal)
JsonUnmarshal-4 448B ± 0% 496B ± 0% +10.71% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
JsonMarshall-4 3.00 ± 0% 3.00 ± 0% ~ (all equal)
JsonUnmarshal-4 10.0 ± 0% 10.0 ± 0% ~ (all equal)
Benchmark go 1.8 vs go 1.9:
name old time/op new time/op delta
JsonMarshall-4 805ns ± 3% 703ns ± 0% -12.69% (p=0.000 n=9+7)
JsonUnmarshal-4 862ns ± 3% 852ns ± 3% ~ (p=0.109 n=10+10)
name old alloc/op new alloc/op delta
JsonMarshall-4 216B ± 0% 208B ± 0% -3.70% (p=0.000 n=10+10)
JsonUnmarshal-4 496B ± 0% 496B ± 0% ~ (all equal)
name old allocs/op new allocs/op delta
JsonMarshall-4 3.00 ± 0% 2.00 ± 0% -33.33% (p=0.000 n=10+10)
JsonUnmarshal-4 10.0 ± 0% 10.0 ± 0% ~ (all equal)
Benchmark go 1.9 vs go 1.10:
name old time/op new time/op delta
JsonMarshall-4 703ns ± 0% 692ns ± 3% -1.56% (p=0.005 n=7+10)
JsonUnmarshal-4 852ns ± 3% 842ns ± 4% ~ (p=0.148 n=10+10)
name old alloc/op new alloc/op delta
JsonMarshall-4 208B ± 0% 208B ± 0% ~ (all equal)
JsonUnmarshal-4 496B ± 0% 496B ± 0% ~ (all equal)
name old allocs/op new allocs/op delta
JsonMarshall-4 2.00 ± 0% 2.00 ± 0% ~ (all equal)
JsonUnmarshal-4 10.0 ± 0% 10.0 ± 0% ~ (all equal)
Benchmark go 1.10 vs go 1.11:
name old time/op new time/op delta
JsonMarshall-4 692ns ± 3% 670ns ± 6% -3.16% (p=0.022 n=10+10)
JsonUnmarshal-4 842ns ± 4% 800ns ± 1% -5.02% (p=0.000 n=10+10)
name old alloc/op new alloc/op delta
JsonMarshall-4 208B ± 0% 80B ± 0% -61.54% (p=0.000 n=10+10)
JsonUnmarshal-4 496B ± 0% 368B ± 0% -25.81% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
JsonMarshall-4 2.00 ± 0% 2.00 ± 0% ~ (all equal)
JsonUnmarshal-4 10.0 ± 0% 10.0 ± 0% ~ (all equal)
Benchmark go 1.11 vs go 1.12:
name old time/op new time/op delta
JsonMarshall-4 670ns ± 6% 569ns ± 2% -15.09% (p=0.000 n=10+10)
JsonUnmarshal-4 800ns ± 1% 747ns ± 1% -6.58% (p=0.000 n=10+9)
name old alloc/op new alloc/op delta
JsonMarshall-4 80.0B ± 0% 80.0B ± 0% ~ (all equal)
JsonUnmarshal-4 368B ± 0% 368B ± 0% ~ (all equal)
name old allocs/op new allocs/op delta
JsonMarshall-4 2.00 ± 0% 2.00 ± 0% ~ (all equal)
JsonUnmarshal-4 10.0 ± 0% 9.0 ± 0% -10.00% (p=0.000 n=10+10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment