-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
ubi-quarkus-mandrel-builder-image is slower than ubi-quarkus-graalvmce-builder-image #32618
Comments
It is in the pipeline, we have some theories to test. |
Hi @rsvoboda , we have investigated this in the past and concluded that the main cause of the difference is that:
According to my non-exhaustive measurements the overall performance difference is around 10%. Since github runners are not very stable for performance measurements it would be great if you could name a couple of heavily affected tests, to see if there is anything additional going on for this cases. |
Thanks @zakkak. I noticed diff ~12 %, not a perf hardware. Is there anything that could close the gap between Mandrel and GraalVM CE? |
Correct, it's mainly the architecture/design choice that prevents us from getting on par with GraalVM CE builds. |
I will close this one as it's not a Quarkus issue. |
Describe the bug
I noticed that ubi-quarkus-mandrel-builder-image is slower than ubi-quarkus-graalvmce-builder-image
The difference is quite noticeable, in https://github.com/quarkus-qe/quarkus-test-suite daily runs I see difference of 1 hour for DB related modules when running in native.
When using
quay.io/quarkus/ubi-quarkus-graalvmce-builder-image:22.3-java17
the execution time is ~4:40hWhen using
quay.io/quarkus/ubi-quarkus-mandrel-builder-image:22.3-java17
the execution time is ~5:45hrun link: https://github.com/quarkus-qe/quarkus-test-suite/actions/runs/4672855488
So there is 1 hour difference and that's a noticeable diff.
I do see a diff even with simple jaxrs sample app from code.quarkus:
Expected behavior
Mandrel builder image is as fast as GraalVM based builder image
Actual behavior
GraalVM based builder image is faster than Mandrel builder image
How to Reproduce?
mvn clean package -DskipTests -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-graalvmce-builder-image:22.3-java17
mvn clean package -DskipTests -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:22.3-java17
Finished generating 'code-with-quarkus-1.0.0-SNAPSHOT-runner' in
Output of
uname -a
orver
macOS
Output of
java -version
Java 17
GraalVM version (if different from Java)
Mandrel and GraalVMCE 22.3 images
Quarkus version or git rev
Quarkus 3.0.0.CR2
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: