Skip to content
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

Integrate LLVM BOLT into the build scripts #50379

Open
zamazan4ik opened this issue Oct 25, 2023 · 3 comments
Open

Integrate LLVM BOLT into the build scripts #50379

zamazan4ik opened this issue Oct 25, 2023 · 3 comments
Labels
feature request Issues that request new features to be added to Node.js. stale

Comments

@zamazan4ik
Copy link

What is the problem this feature will solve?

Not actually a problem - just an idea of how to improve the NodeJS platform performance.

What is the feature you are proposing to solve the problem?

LLVM BOLT is a post-link optimizer (PLO), which helps to optimize a program performance even further after PGO (which is already integrated into the NodeJS build scripts).

Recently I found an article about LLVM BOLT results on NodeJS - https://aaupov.github.io/blog/2020/10/08/bolt-nodejs (from @aaupov) . More LLVM BOLT results in different applications you can read here (BOLT is already integrated into several projects like Clang, Rustc, CPython).

I think we need to evaluate LLVM BOLT applicability to NodeJS and if it helps with performance - integrate it into the NodeJS's build scripts as it's already done for PGO.

What alternatives have you considered?

Also, Propeller could be considered as an option but I have almost no experience with this optimization approach yet.

@zamazan4ik zamazan4ik added the feature request Issues that request new features to be added to Node.js. label Oct 25, 2023
@bnoordhuis
Copy link
Member

Want to send a pull request? Probably easier to discuss that way.

@zamazan4ik
Copy link
Author

zamazan4ik commented Nov 12, 2023

I am not familiar (yet) with NodeJS build infrastructure so for me right now it could be quite difficult to properly integrate LLVM BOLT into the build scripts.

Now the issue can be considered like a performance improvement idea.

Copy link
Contributor

There has been no activity on this feature request for 5 months. To help maintain relevant open issues, please add the never-stale Mark issue so that it is never considered stale label or close this issue if it should be closed. If not, the issue will be automatically closed 6 months after the last non-automated comment.
For more information on how the project manages feature requests, please consult the feature request management document.

@github-actions github-actions bot added the stale label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to Node.js. stale
Projects
Status: Pending Triage
Development

No branches or pull requests

2 participants