elena-lang
elena-lang copied to clipboard
Add PGO support
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.
Sure, I will look at it. I'm planning to invest some efforts on improving the general performance for the upcoming version