Skip to content

Instantly share code, notes, and snippets.

@mroth
Created July 27, 2018 00:15
Show Gist options
  • Save mroth/03d20624af1c79344aee52cdd7008048 to your computer and use it in GitHub Desktop.
Save mroth/03d20624af1c79344aee52cdd7008048 to your computer and use it in GitHub Desktop.
benchmark old ns/op new ns/op delta
BenchmarkRegister-4 1767 2250 +27.33%
BenchmarkUnregister-4 2956 3406 +15.22%
BenchmarkBroadcast/1-4 637 901 +41.44%
BenchmarkBroadcast/10-4 2022 2195 +8.56%
BenchmarkBroadcast/100-4 20755 20312 -2.13%
BenchmarkBroadcast/500-4 103296 104309 +0.98%
BenchmarkBroadcast/1000-4 191801 196909 +2.66%
BenchmarkBroadcast/10000-4 2539621 2751075 +8.33%
BenchmarkBroadcast/100000-4 45231751 49716303 +9.91%
BenchmarkBroadcastNS/dense/100-4 21198 20936 -1.24%
BenchmarkBroadcastNS/dense/1000-4 181384 183212 +1.01%
BenchmarkBroadcastNS/dense/10000-4 2367781 2606716 +10.09%
BenchmarkBroadcastNS/dense/100000-4 43548624 47779571 +9.72%
BenchmarkBroadcastNS/sparse/100-4 2977 1525 -48.77%
BenchmarkBroadcastNS/sparse/1000-4 26768 10136 -62.13%
BenchmarkBroadcastNS/sparse/10000-4 270919 105085 -61.21%
BenchmarkBroadcastNS/sparse/100000-4 6384466 1014080 -84.12%
BenchmarkFormat/DataFieldOnly-4 39.5 39.1 -1.01%
BenchmarkFormat/Event+DataField-4 31.8 31.1 -2.20%
benchmark old allocs new allocs delta
BenchmarkRegister-4 2 5 +150.00%
BenchmarkUnregister-4 1 5 +400.00%
BenchmarkBroadcast/1-4 1 6 +500.00%
BenchmarkBroadcast/10-4 1 6 +500.00%
BenchmarkBroadcast/100-4 1 6 +500.00%
BenchmarkBroadcast/500-4 1 5 +400.00%
BenchmarkBroadcast/1000-4 1 6 +500.00%
BenchmarkBroadcast/10000-4 1 5 +400.00%
BenchmarkBroadcast/100000-4 1 6 +500.00%
BenchmarkBroadcastNS/dense/100-4 1 6 +500.00%
BenchmarkBroadcastNS/dense/1000-4 1 5 +400.00%
BenchmarkBroadcastNS/dense/10000-4 1 6 +500.00%
BenchmarkBroadcastNS/dense/100000-4 1 6 +500.00%
BenchmarkBroadcastNS/sparse/100-4 1 6 +500.00%
BenchmarkBroadcastNS/sparse/1000-4 1 6 +500.00%
BenchmarkBroadcastNS/sparse/10000-4 1 5 +400.00%
BenchmarkBroadcastNS/sparse/100000-4 1 5 +400.00%
BenchmarkFormat/DataFieldOnly-4 1 1 +0.00%
BenchmarkFormat/Event+DataField-4 1 1 +0.00%
benchmark old bytes new bytes delta
BenchmarkRegister-4 80 160 +100.00%
BenchmarkUnregister-4 79 166 +110.13%
BenchmarkBroadcast/1-4 32 128 +300.00%
BenchmarkBroadcast/10-4 32 128 +300.00%
BenchmarkBroadcast/100-4 32 128 +300.00%
BenchmarkBroadcast/500-4 32 127 +296.88%
BenchmarkBroadcast/1000-4 32 128 +300.00%
BenchmarkBroadcast/10000-4 32 127 +296.88%
BenchmarkBroadcast/100000-4 32 129 +303.12%
BenchmarkBroadcastNS/dense/100-4 32 128 +300.00%
BenchmarkBroadcastNS/dense/1000-4 32 127 +296.88%
BenchmarkBroadcastNS/dense/10000-4 32 128 +300.00%
BenchmarkBroadcastNS/dense/100000-4 32 130 +306.25%
BenchmarkBroadcastNS/sparse/100-4 32 128 +300.00%
BenchmarkBroadcastNS/sparse/1000-4 32 128 +300.00%
BenchmarkBroadcastNS/sparse/10000-4 32 127 +296.88%
BenchmarkBroadcastNS/sparse/100000-4 32 127 +296.88%
BenchmarkFormat/DataFieldOnly-4 32 32 +0.00%
BenchmarkFormat/Event+DataField-4 32 32 +0.00%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment