-
Notifications
You must be signed in to change notification settings - Fork 10
JBTM-4014-perf-test draft #185
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
base: main
Are you sure you want to change the base?
Conversation
|
Tests failed (https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/btny-pulls-performance/35/): Performance rebase on main failed. Please rebase it manually |
| @@ -0,0 +1,57 @@ | |||
| /* | |||
| * Copyright (c) 2014, Oracle America, Inc. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorted. It comes from the command:
mvn archetype:generate -DarchetypeGroupId=org.openjdk.jmh -DarchetypeArtifactId=jmh-java-benchmark-archetype
which is a bit annoying, it will be generated by including -DarchetypeArtifactId=jmh-java-benchmark-archetype
58b523d to
0023ea3
Compare
|
Tests failed (https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/btny-pulls-performance/36/): Performance rebase on main failed. Please rebase it manually |
0023ea3 to
d2e55f8
Compare
|
Started testing this pull request: https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/btny-pulls-performance/37/ |
d2e55f8 to
a34de71
Compare
|
Started testing this pull request: https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/btny-pulls-performance/38/ |
|
Tests failed (https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/btny-pulls-performance/37/): Product comparison benchmark failed |
|
I've created franz1981@549ba66 to benchmark before/after jbosstm/narayana#2414 (including the second commit to reduce GC while creating file break string form of Uid). I've run the test with JDK 21 and in order to:
The results before jbosstm/narayana#2414: whilst after: Which shows a clear improvement, While running this I've noticed few possible other improvements (but I have no more cycles to add them to be fair...):
|
|
@franz1981 I tested the STMBenchmark (with your improvements) with your PR (franz1981/narayana@57127b3) locally but I didn't find a clear improvement. In my case the ops/s were "926.713 ± 61.033 " without your commit and "920.995 ± 47.619 " with it. |
|
you did used the modified benchmark at franz1981@549ba66 and verified it runs on |
Oh, right. I probably missed that bit. I was using your updated version of the benchmark but I needed to create the folder "/tmp/stm-benchmark-store" otherwise the tmpfs was not used for me. Now I get |
|
I now see an improvement in your PR. I now understand that using the tmpfs is needed otherwise the disk would be a bottleneck for the performance. |
|
My results (local environment) highlight around 15-20% of improvement in the STMBenchmark performance: Considerations:
|
|
Awesome work all! Looking forwards to update Quarkus and our downstream benchmarks ;) |

Draft PR testing Franz's fix for JBTM-4014, do not merge but please review if you have an interest.
The perf tests are to compare pr/2414 against main. The results on my laptop indicate:
STMBenchmark.baselineBenchmark: pr/2414 is 0.2% worse
LocalJTABenchmark.benchmark: pr/2414 is 10% better
STMBenchmark.benchmark: pr/2414 is 0.25% worse
though as always with JMH there is significant run to run variance..