elena-lang icon indicating copy to clipboard operation
elena-lang copied to clipboard

Add PGO support

Open zamazan4ik opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Not

Describe the solution you'd like Add Profile-Guided Optimization (PGO) support to Elena's compiler and/or virtual machine.

Describe alternatives you've considered Leave things as is.

Additional context Compilers like Clang have up to 20% performance boost (compilation speed) according to the official docs and my experience. Interpreters like CPython benefit from PGO as well. Additional notes and examples about PGO you could find here: https://github.com/ZaMaZaN4iK/awesome-pgo

I understand that you could have a lack of resources to support it in the project. Just consider it as an option if you would like to try to improve the tooling from the performance perspective.

zamazan4ik avatar Jun 10 '23 23:06 zamazan4ik

Sure, I will look at it. I'm planning to invest some efforts on improving the general performance for the upcoming version

arakov avatar Jun 12 '23 07:06 arakov