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

Remove unnecessary Helidon features #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

danielkec
Copy link

No description provided.

@mraible
Copy link
Contributor

mraible commented Jun 21, 2023

Thanks for your help, @danielkec! I tried these optimizations and found the startup time to be around 34 ms.

(28 + 36 + 36 + 36 + 34) / 5 = 34

When I tested Helidon last night, it was 43.8 ms.

I also tested memory:

Megabytes before request: 57 MB (was 74)
Megabytes after request: 81 MB (was 91)
Megabytes after 5 requests: 115 MB (was 124)

Helidon seems to increase the memory used 6-8 MB for each request. Is this a known issue?

Micronaut had a similar problem last year. They added the following to their default application.yml to fix it:

netty.default.allocator.max-order: 3

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