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

Add support for CRaC #1588

Open
scottgerring opened this issue Feb 29, 2024 · 1 comment
Open

Add support for CRaC #1588

scottgerring opened this issue Feb 29, 2024 · 1 comment
Labels
enhancement New feature or request v2 Version 2

Comments

@scottgerring
Copy link
Contributor

Is your feature request related to a problem? Please describe.
We should add support for CRaC priming. This will improve the startup performance of applications using Powertools. @msailes has written a helpful guide here. I think we should do this before v2 is released.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@scottgerring scottgerring added enhancement New feature or request v2 Version 2 labels Feb 29, 2024
@subhash686
Copy link

@scottgerring I would like to take a CRaCk at this :)
Given this is an enhancement, should I create any additional documentation before starting? Also what is a potential v2 release date that I can work backwards from?

Describe the solution you'd like
Automatic priming of sub-modules independently helps the run time snapshot only what is required.
Try to create a list of classes at build time before packaging (Need to research this a little, but we can definitely start with a manual step of generating such a list)
Preload the identified classes using CRaC

Describe alternatives you've considered
Manual priming may be simpler but we need to decide good code-paths to hint JIT. These are subjective and need maintenance when things change.

Additional context
@msailes blog and examples from embedded metrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2 Version 2
Projects
None yet
Development

No branches or pull requests

2 participants