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

TOMEE-4357 - Add Jandex Index cache #1231

Merged
merged 1 commit into from
Jul 5, 2024
Merged

TOMEE-4357 - Add Jandex Index cache #1231

merged 1 commit into from
Jul 5, 2024

Conversation

fataOT
Copy link
Contributor

@fataOT fataOT commented Jul 3, 2024

Add a Jandex index cache to TomEEMicroProfileListener

This will fix a issue with a longer startup time since TomEE 9

The processApplication method is called for every created application and will then create an index for all jars.
But the index is based on the AppInfo of the application. The AppInfo can have multiple applications.
So currently the same index is created for every single application which is unnecessary

This change will boost our start up time from 2min to ~45s

@rzo1 rzo1 changed the title Add Jandex Index cache TOMEE-4357 - Add Jandex Index cache Jul 3, 2024
@rzo1 rzo1 merged commit 1fcbd76 into apache:main Jul 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants