-
Notifications
You must be signed in to change notification settings - Fork 30.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
[BUILDING.md] Update GNU/Linux Speeding up section #52116
Conversation
congzhangzh
commented
Mar 16, 2024
- C/C++ link is slow, especially for node like project, which will link GBs data to 100MB like size
- C/C++ link process can not be cached
- mold is really really fast
1. C/C++ link is slow, especially for node like project, which will link GBs data to 100MB like size 2. C/C++ link process can not be cached 3. mold is really really fast
@nodejs/build I don't think we want to recommend or document |
I give it a try and it seems to reduce my build time from Without |
@H4ad hi, have you remove out dir completely before you do link speed comparison? As node c++ part is small compared to other third party. |
@congzhangzh Of course, I also tried switching between But in any case, Also, remove the commit/changes related to Windows, this can be a separated PR. |
@H4ad Cool, I will split this part into another pull request! BTW, I want to try to verify the mold again, as your machine is super fast, my machine is a little slow and has less memory |