auth0-java-rest-api-examples icon indicating copy to clipboard operation
auth0-java-rest-api-examples copied to clipboard

Remove unnecessary Helidon features

Open danielkec opened this issue 2 years ago • 1 comments

danielkec avatar Jun 21 '23 13:06 danielkec

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

mraible avatar Jun 21 '23 14:06 mraible