-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Extremely slow compilation in -O1 and -O2 #16739
Comments
assigned to @atrick |
The -ftime-report gives: $ time clang++ -ftime-report -O1 -c biggraph.C ---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name --- ===-------------------------------------------------------------------------=== ---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name --- ===-------------------------------------------------------------------------=== ---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name --- ===-------------------------------------------------------------------------=== ---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name --- ===-------------------------------------------------------------------------=== ---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name --- real 1m24.886s |
Was just putting that in... |
I'm assuming -pre-RA-sched=source has the same problem. I'd like to replace the SD scheduler pass completely with a SD serialization pass. That won't happen for at least another month. But when it does happen I'll be able to close this. |
Appears so and I'm good with that solution. How about you take this and close then? |
Dear Andrew, We are getting more and more reports of this. Do you have an updated estimate? Your first one ("at least another month") was already correct ;-) Or did you replace the pass and that didn't help? Cheers, Axel. |
Thanks for pinging me on this! I have not been able to work on replacing the SD scheduler pass, so should have committed a quick fix earlier. I'm waiting on benchmark results but should have a quick workaround checked in Monday at the latest. |
Fixed in r205738. I added a workaround to ClusterNeighboringLoads. time /b/fix/RA/bin/clang++ -O2 -c biggraph.C real 0m6.143s |
Extended Description
Very slow compilation of large but very simple source file.
$ time clang++ -O2 -c biggraph.C
real 1m21.025s
user 1m19.286s
sys 0m1.734s
$ time g++-4 -O2 -c biggraph.C [ g++ 4.8.1]
real 0m9.375s
user 0m9.191s
sys 0m0.176s
The text was updated successfully, but these errors were encountered: