Higher Score Calculation Speed in Benchmarker #1069
Closed
simontiffert
started this conversation in
General
Replies: 1 comment 1 reply
-
Hello Simon! One thing people generally don't know about the Quarkus dev mode is that it actually disables Java's C2 compiler (JIT). This in turn makes Java significantly slower. If the benchmarker had been run outside of Quarkus dev mode (perhaps as a standalone Java application), this magical speed improvement is explained. If that's not the case though and the benchmarker ran in Quarkus dev mode as well, then this will require a careful investigation. Do let us know. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On several projects I faced a much higher score calculation speed in the benchmarker compared to the normal mode in Quarkus.
I tried to replicate it with the non-enterprise version 1.13.0 school-timetabling quickstart with the large dataset and could also replicate it locally with multiple runs. Attached are the logs while both runs are done with REPRODUCIBLE, move thread count NONE and parallelBenchmarkCount 1.
mvn quarkus:dev
Configuration of Quarkus Benchmark with export of large dataset to src/test/resources/large.json:
Result for default benchmark run without solverBenchmarkConfig (just commented the test termination in application.properties) - 135738/sec:
Any ideas where the much higher score calculation speed is coming from?
quarkus-dev-log.txt
benchmark-log.txt
Environment: Apple M1 Max 64GB
Beta Was this translation helpful? Give feedback.
All reactions