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
Build phobos package at a time #3379
Conversation
Forgot to build and include the extra files. This has low impact of performance as follows: OSX: 4.01s, 617668608 |
Build phobos package at a time
Sure this was worth the trouble? Combining all the static libs already takes 300ms on my machine. |
This commit increased the size of libphobos2.a by 16MiB(~20%) according to http://digger.k3.1azy.net/trend/ |
Well spotted, @rsw0x. This is bad. I think we should revert this. A 300ms build time improvement does not justify increasing the download size. |
Yeah, this is very bad. Please revert this. |
Well, this can't be reverted automatically now. Anyone up for Makefile surgery? |
@MartinNowak @rsw0x @quickfur @CyberShadow I opened #3461 to try revert this PR. Could you test that will correctly fix the problem? |
This reverts commits: a928a21 (dlang#3379) 2ed7d90 (dlang#3382)
Revert "Merge pull request #3379 from andralex/build-per-package"
On my Powerbook, ran the command:
Took the best of three runs for baseline and proposed.
Before: 4.93s, 960270336 maximum resident set size
After: 3.85s, 618004480 maximum resident set size
On a big iron at work running Centos 6, ran the command:
Took the best of three.
Before: 5.12s, 1191664
After: 3.86s, 767252