3 ms·
I've got a fairly decent machine, 4 years old but it's a 2.3GHz i7 and I've got an SSD. I got about a 1.5s runtime for "go build" on manul too. Edit - this blo
by IanCal 10y ago
I've got a fairly decent machine, 4 years old but it's a 2.3GHz i7 and I've got an SSD. I got about a 1.5s runtime for "go build" on manul too.
Edit - this blogpost has a 18k lines/s though, I wonder what the differences are?
http://ptspts.blogspot.co.uk/2009/11/how-fast-does-8g-in-google-go-compile.html http://ptspts.blogspot.co.uk/2009/11/how-fast-does-8g-in-goo...
- merb 10y agoDoes `go build` use multiple core's?
- IanCal 10y agoThere's a flag for it, which didn't make a difference (edit - with the new 1.7 compiler it does, but it goes from half that speed to the same figure). Even with a perfect scaling, I'd be about 10x behind a post from 7 years ago. Perhaps it's compiling a lot more lines than I think? Lots of bits of the standard library I should be including in the line count?
- merb 10y agoactually I guess stdlib is compiled, too. But golang before 1.5 was faster to compile. I just wonder how much difference it would make with multicore's. I mean scala beats down my new Xeon E5-2670 workstation on all threads.