-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: slow compile/build compared to Go 1.4 #13646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What about after you've installed dependencies? ( |
it's significantly faster if not removing the
but still far slower than
|
Isn't a
|
it got lot worse on windows 8,1 64-bit, with slower processor but SSD harddisk 1.4.3$ time go build real 0m7.670s real 0m6.886s real 0m7.280s 1.5.3real 0m15.825s real 0m17.916s real 0m16.444s |
Reuseable cache of Prog entries. Improves compiler speed by ~10%. Update #13646 Change-Id: I01bd8606540d989ea8b8ba5131d1275ba380d976 Reviewed-on: https://go-review.googlesource.com/19868 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
i got even worse result on Mac OSX 64-bit mid-2012 (i7-3xxx, 16GB, SSD)
|
Much has been done on this in Go 1.7. There will be more in 1.8. |
Much has been done on this in Go 1.8. There will be more in 1.9. |
I dont understand why my friend who is compiling the same code on his |
maybe ssd On Nov 6, 2016 11:36 AM, "McGyver-" notifications@github.com wrote:
|
@kokizzu Nope my Desktop has no hard disk only ssd. 16gb ram. |
here is my go env |
Let's move this conversation to a mailing list. This is just a tracking bug. |
Performance check :3 the exact same project as the first one, 1.5 or below not tested because the code no longer compatible.
|
The link http://seblu.net/a/archive/packages/g/go/ leads to a 404. Do you have an updated place to go find the code which is slow to compile? Thanks. |
@josharian seblu.net was a place to look archlinux package archive (now i'm using current benchmark
go 1.5 and 1.4 no longer able to compile (break with If you're looking for large go source code to compile, you can try |
It is well known that compilation times are slower from 1.5 on and that they are getting slowly better (as your current benchmarks show). There are many different things that may make some code particularly slow to compile. Without actual code to work with, there's nothing to be done here. I'm going to close this. If/when there's code to look at, feel free to leave a comment and I'll reopen. |
It's been a while, we still use 1.4 because of this issue, it affect to much to our build-test-debug cycle.
packages from: http://seblu.net/a/archive/packages/g/go/
for comparison, it's now as slow as
gcc-go
:The text was updated successfully, but these errors were encountered: