3 ms·
Quickly tested it on our OSS repo [1] and based on several averaged runs, 1.10 is both faster to compile (even not taking caching into account) and produces sma
by old-gregg 9y ago
Quickly tested it on our OSS repo [1] and based on several averaged runs, 1.10 is both faster to compile (even not taking caching into account) and produces smaller executables, a welcome reversal of the past trend.
Compile times on Intel(R) Core(TM) i7-7820X CPU @ 3.60GHz:
Go 1.9.2 7.2sec avg
Go 1.10 6.1sec avg -15.3%
Binary sizes:
Go 1.9.2 50,727,552 bytes
Go 1.10 49,604,128 bytes -2.2%
[1] https://github.com/gravitational/teleport https://github.com/gravitational/teleport if you want to try it yourself, run `make clean` followed by `time make`
- gameswithgo 9y agoDo you executables run faster, or slower?