3 ms·
I was curious so I downloaded Go 1.4, and tested against 1.9 on an old version of a project I have (backend for Mafia Watch), about 30K lines of Go, including a
by dilap 9y ago
I was curious so I downloaded Go 1.4, and tested against 1.9 on an old version of a project I have (backend for Mafia Watch), about 30K lines of Go, including a few 3rd party dependencies.
Go 1.4: Around 2.1s
Go 1.9: Around 2.5s
So within 20% of 1.4, not bad. That's on an old MacBook Air, dual core 1.7 GHz i7, 8GB ram.
And of course the binary performance and GC pause times w/ 1.9 will be much better.
Here's the raw times: https://pastebin.com/ULDHPmVu https://pastebin.com/ULDHPmVu
Two awesome things:
It was super-easy and fast to download and compile Go 1.4
It was completely painless to compile my old code with Go 1.9
I fucking love how nice it is to work with the Go ecosystem. <3