Skip to content

Instantly share code, notes, and snippets.

@DeedleFake
Last active May 10, 2016 02:05
Show Gist options
  • Save DeedleFake/60e6b38034f17a1b8d2304134b420e70 to your computer and use it in GitHub Desktop.
Save DeedleFake/60e6b38034f17a1b8d2304134b420e70 to your computer and use it in GitHub Desktop.
Go1 Benchmark (1.6 vs. devel +9af8346)
BenchmarkBinaryTree17-4 1 4523390217 ns/op
BenchmarkFannkuch11-4 1 3740619444 ns/op
BenchmarkFmtFprintfEmpty-4 20000000 83.0 ns/op
BenchmarkFmtFprintfString-4 10000000 223 ns/op
BenchmarkFmtFprintfInt-4 10000000 214 ns/op
BenchmarkFmtFprintfIntInt-4 5000000 323 ns/op
BenchmarkFmtFprintfPrefixedInt-4 5000000 327 ns/op
BenchmarkFmtFprintfFloat-4 3000000 468 ns/op
BenchmarkFmtManyArgs-4 1000000 1411 ns/op
BenchmarkGobDecode-4 100 12323659 ns/op 62.28 MB/s
BenchmarkGobEncode-4 100 10330981 ns/op 74.29 MB/s
BenchmarkGzip-4 3 406432941 ns/op 47.74 MB/s
BenchmarkGunzip-4 20 58734690 ns/op 330.38 MB/s
BenchmarkHTTPClientServer-4 20000 97630 ns/op
BenchmarkJSONEncode-4 50 27886898 ns/op 69.58 MB/s
BenchmarkJSONDecode-4 20 85749466 ns/op 22.63 MB/s
BenchmarkMandelbrot200-4 200 6107130 ns/op
BenchmarkGoParse-4 300 5483727 ns/op 10.56 MB/s
BenchmarkRegexpMatchEasy0_32-4 10000000 134 ns/op 237.78 MB/s
BenchmarkRegexpMatchEasy0_1K-4 5000000 324 ns/op 3159.11 MB/s
BenchmarkRegexpMatchEasy1_32-4 10000000 139 ns/op 229.55 MB/s
BenchmarkRegexpMatchEasy1_1K-4 3000000 575 ns/op 1779.82 MB/s
BenchmarkRegexpMatchMedium_32-4 10000000 204 ns/op 4.89 MB/s
BenchmarkRegexpMatchMedium_1K-4 20000 61185 ns/op 16.74 MB/s
BenchmarkRegexpMatchHard_32-4 500000 2966 ns/op 10.79 MB/s
BenchmarkRegexpMatchHard_1K-4 20000 89509 ns/op 11.44 MB/s
BenchmarkRevcomp-4 2 708679547 ns/op 358.65 MB/s
BenchmarkTemplate-4 10 104044114 ns/op 18.65 MB/s
BenchmarkTimeParse-4 3000000 532 ns/op
BenchmarkTimeFormat-4 3000000 586 ns/op
ok $GOROOT/test/bench/go1 65.687s
BenchmarkBinaryTree17-4 1 5279619091 ns/op
BenchmarkFannkuch11-4 1 4564519188 ns/op
BenchmarkFmtFprintfEmpty-4 20000000 91.1 ns/op
BenchmarkFmtFprintfString-4 5000000 280 ns/op
BenchmarkFmtFprintfInt-4 5000000 275 ns/op
BenchmarkFmtFprintfIntInt-4 3000000 449 ns/op
BenchmarkFmtFprintfPrefixedInt-4 3000000 412 ns/op
BenchmarkFmtFprintfFloat-4 3000000 579 ns/op
BenchmarkFmtManyArgs-4 1000000 1820 ns/op
BenchmarkGobDecode-4 100 14114018 ns/op 54.38 MB/s
BenchmarkGobEncode-4 100 11626347 ns/op 66.02 MB/s
BenchmarkGzip-4 2 602153908 ns/op 32.23 MB/s
BenchmarkGunzip-4 20 68805868 ns/op 282.02 MB/s
BenchmarkHTTPClientServer-4 20000 98045 ns/op
BenchmarkJSONEncode-4 50 28702120 ns/op 67.61 MB/s
BenchmarkJSONDecode-4 20 90729900 ns/op 21.39 MB/s
BenchmarkMandelbrot200-4 300 5837921 ns/op
BenchmarkGoParse-4 200 6246769 ns/op 9.27 MB/s
BenchmarkRegexpMatchEasy0_32-4 10000000 195 ns/op 163.49 MB/s
BenchmarkRegexpMatchEasy0_1K-4 5000000 346 ns/op 2959.15 MB/s
BenchmarkRegexpMatchEasy1_32-4 10000000 157 ns/op 203.29 MB/s
BenchmarkRegexpMatchEasy1_1K-4 2000000 655 ns/op 1562.13 MB/s
BenchmarkRegexpMatchMedium_32-4 5000000 248 ns/op 4.02 MB/s
BenchmarkRegexpMatchMedium_1K-4 20000 71518 ns/op 14.32 MB/s
BenchmarkRegexpMatchHard_32-4 300000 3639 ns/op 8.79 MB/s
BenchmarkRegexpMatchHard_1K-4 10000 111008 ns/op 9.22 MB/s
BenchmarkRevcomp-4 2 924460762 ns/op 274.94 MB/s
BenchmarkTemplate-4 10 100811452 ns/op 19.25 MB/s
BenchmarkTimeParse-4 3000000 573 ns/op
BenchmarkTimeFormat-4 3000000 599 ns/op
ok $GOROOT/test/bench/go1 65.723s
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 61
Model name: Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz
Stepping: 4
CPU MHz: 1900.000
CPU max MHz: 2000.0000
CPU min MHz: 500.0000
BogoMIPS: 3992.85
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap xsaveopt dtherm arat pln pts
BenchmarkFannkuch11-4 -18.05
BenchmarkFmtFprintfEmpty-4 -8.89
BenchmarkFmtFprintfString-4 -20.36
BenchmarkFmtFprintfInt-4 -22.18
BenchmarkFmtFprintfIntInt-4 -28.06
BenchmarkFmtFprintfPrefixedInt-4 -20.63
BenchmarkFmtFprintfFloat-4 -19.17
BenchmarkFmtManyArgs-4 -22.47
BenchmarkGobDecode-4 -12.68
BenchmarkGobEncode-4 -11.14
BenchmarkGzip-4 -32.50
BenchmarkGunzip-4 -14.64
BenchmarkHTTPClientServer-4 -0.42
BenchmarkJSONEncode-4 -2.84
BenchmarkJSONDecode-4 -5.49
BenchmarkMandelbrot200-4 4.61
BenchmarkGoParse-4 -12.21
BenchmarkRegexpMatchEasy0_32-4 -31.28
BenchmarkRegexpMatchEasy0_1K-4 -6.36
BenchmarkRegexpMatchEasy1_32-4 -11.46
BenchmarkRegexpMatchEasy1_1K-4 -12.21
BenchmarkRegexpMatchMedium_32-4 -17.74
BenchmarkRegexpMatchMedium_1K-4 -14.45
BenchmarkRegexpMatchHard_32-4 -18.49
BenchmarkRegexpMatchHard_1K-4 -19.37
BenchmarkRevcomp-4 -23.34
BenchmarkTemplate-4 3.21
BenchmarkTimeParse-4 -7.16
BenchmarkTimeFormat-4 -2.17
Total -0.05
Linux bronze 4.5.2-1-ARCH #1 SMP PREEMPT Thu Apr 21 18:21:27 CEST 2016 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment