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

Upgrade frameworks for jChampions Conference presentation #58

Merged
merged 6 commits into from
Jan 9, 2024

Conversation

mraible
Copy link
Contributor

@mraible mraible commented Jan 4, 2024

  • Spring Boot 3.2.0
  • Micronaut 4.2.3
  • Quarkus 3.6.4
  • Helidon 4.0.2

- Spring Boot 3.2.1
- Micronaut 4.2.2
- Quarkus 3.6.4
- Helidon 4.0.2
@mraible
Copy link
Contributor Author

mraible commented Jan 4, 2024

Spring Boot 3.2.1 does not work because of this issue, which is caused by a bug in Spring Security.

@mraible
Copy link
Contributor Author

mraible commented Jan 4, 2024

Helidon 4.0.2 fails with the following error when running as a native image:

Caused by: java.nio.charset.UnsupportedCharsetException: UTF-32LE
	at [email protected]/java.nio.charset.Charset.forName(Charset.java:543)
	at org.glassfish.json.UnicodeDetectingInputStream.<clinit>(UnicodeDetectingInputStream.java:34)

I entered an issue in the Helidon project at helidon-io/helidon#8195.

|Helidon | `./helidon/target/helidon` | 50.4
|Helidon (optimized) | https://github.com/oktadev/auth0-java-rest-api-examples/pull/2[auth0-java-rest-api-examples/pull/2] | 35.6
|Micronaut | `./micronaut/build/native/nativeCompile/app` | 49.2
|Micronaut (optimized) | `./micronaut/build/native/nativeOptimizedCompile/app` | 51.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the optimised version slower?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's what I'm seeing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@melix any idea why that could be?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, doesn't really make sense to me. However, I see that the most impactful optimizations are disabled. Not sure if disabling them is still required (optimize service loading).

@mraible mraible merged commit 3b5b79e into main Jan 9, 2024
1 check passed
@mraible mraible deleted the jchampions-2024 branch January 9, 2024 19:16
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.

3 participants