Skip to content

Instantly share code, notes, and snippets.

@carlosedp
Created August 8, 2018 23:33
Show Gist options
  • Save carlosedp/f85274ef2a9bacc773cf8ddeedaee821 to your computer and use it in GitHub Desktop.
Save carlosedp/f85274ef2a9bacc773cf8ddeedaee821 to your computer and use it in GitHub Desktop.
Go 1.11 Benchmark on ARM64
Go 1.10.3 vs 1.11beta3
Linux Firefly3399 4.4.138 #3 SMP Sat Jul 21 18:29:19 EST 2018 aarch64 GNU/Linux
go test crypto/tls -bench BenchmarkThroughput
benchmark old ns/op new ns/op delta
BenchmarkThroughput/MaxPacket/1MB-6 215113025 30982856 -85.60%
BenchmarkThroughput/MaxPacket/2MB-6 373540806 47685945 -87.23%
BenchmarkThroughput/MaxPacket/4MB-6 662471229 64692820 -90.23%
BenchmarkThroughput/MaxPacket/8MB-6 1297366168 121892691 -90.60%
BenchmarkThroughput/MaxPacket/16MB-6 2654316043 203175629 -92.35%
BenchmarkThroughput/MaxPacket/32MB-6 5421220669 340266208 -93.72%
BenchmarkThroughput/MaxPacket/64MB-6 10795910172 788781146 -92.69%
BenchmarkThroughput/DynamicPacket/1MB-6 221235016 33161142 -85.01%
BenchmarkThroughput/DynamicPacket/2MB-6 406355055 48498241 -88.07%
BenchmarkThroughput/DynamicPacket/4MB-6 725157854 64731570 -91.07%
BenchmarkThroughput/DynamicPacket/8MB-6 1415298959 117059150 -91.73%
BenchmarkThroughput/DynamicPacket/16MB-6 2746475793 216786275 -92.11%
BenchmarkThroughput/DynamicPacket/32MB-6 5177995794 415393653 -91.98%
BenchmarkThroughput/DynamicPacket/64MB-6 10591485005 733972313 -93.07%
benchmark old MB/s new MB/s speedup
BenchmarkThroughput/MaxPacket/1MB-6 4.87 33.84 6.95x
BenchmarkThroughput/MaxPacket/2MB-6 5.61 43.98 7.84x
BenchmarkThroughput/MaxPacket/4MB-6 6.33 64.83 10.24x
BenchmarkThroughput/MaxPacket/8MB-6 6.47 68.82 10.64x
BenchmarkThroughput/MaxPacket/16MB-6 6.32 82.57 13.06x
BenchmarkThroughput/MaxPacket/32MB-6 6.19 98.61 15.93x
BenchmarkThroughput/MaxPacket/64MB-6 6.22 85.08 13.68x
BenchmarkThroughput/DynamicPacket/1MB-6 4.74 31.62 6.67x
BenchmarkThroughput/DynamicPacket/2MB-6 5.16 43.24 8.38x
BenchmarkThroughput/DynamicPacket/4MB-6 5.78 64.80 11.21x
BenchmarkThroughput/DynamicPacket/8MB-6 5.93 71.66 12.08x
BenchmarkThroughput/DynamicPacket/16MB-6 6.11 77.39 12.67x
BenchmarkThroughput/DynamicPacket/32MB-6 6.48 80.78 12.47x
BenchmarkThroughput/DynamicPacket/64MB-6 6.34 91.43 14.42x
@fazalmajid
Copy link

Thanks to Cloudflare for all their arm64 optimization work on Go.

@jedisct1
Copy link

jedisct1 commented Aug 9, 2018

Nice!

@helloweishi
Copy link

interesting

@uxgnaw
Copy link

uxgnaw commented Aug 9, 2018

good

@r3nya
Copy link

r3nya commented Aug 9, 2018

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment