ELENA-LANG / elena-lang

ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
https://elena-lang.github.io/
MIT License
227 stars 23 forks source link

Add PGO support #578

Open zamazan4ik opened 1 year ago

zamazan4ik commented 1 year ago

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.

arakov commented 1 year ago

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