-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
java_tools 10.3 regressed bazel performance, before java_tools javac11 v10.4 improved it. #12574
Comments
Do I understand correctly that wall time is completely restored? I have PR waiting to merge in java_tools v11.0: #12552 Changelog for v10.3:
Changelog for v10.4:
Potential culprits look to me: cc @cushon, @susinmotion |
It would be great if the commits of the java_tools releases contain these changelogs, so it's easier to understand what went into them. I think Ivo is correct, that the regression is completely fixed by the 10.4 release, because there's another regression in the 8fce67f..b1d1485 range that adds up: Ivo: it would be still good to know what caused the regression (and what fixed it) before we pull the trigger on the 4.0 release. |
Let me know if you need help performing the benchmarks. |
Can you also run benchmark on #12552? It has release 11.0. I don't have a workstation only cloudtop. |
Sure, gimme a moment. Edit: here's the result on a Linux machine, 12 cores, runs=7. It looks safe.
|
TL;DR culprits were 5c8e584 (regression) and a4251ea (improvement), both refactoring WorkRequestHandler, but they got into different releases. Releasing java_tools at: commit 5 38% regression in wall commit 8 -26% regression in wall 1,38*(1-0.26)=1,02 Thanks @joeleba! |
Raw data:
|
aha, the first commit brought back the |
we might want to consider automatic releasing or at least benchmarking the commits that go into java_tools... i almost have a script for that by now |
It's probably not too challenging to set up a bazel-bench pipeline to benchmark the java_tools commits. We can talk more next week if you're interested. |
Description of the problem / feature request:
Our bazel-bench pipeline runs nightly benchmarking of a sample of the bazel commits throughout the day, by using the bazel binaries built at those commits to build the Bazel project itself (
bazel build //src:bazel
). We've identified the following:Feature requests: what underlying problem are you trying to solve with this feature?
Maybe we can use this to figure out what in java_tools regressed the performance of Bazel and what corrected it (partially), and whether there's something more we can do.
What operating system are you running Bazel on?
Ubuntu18.04
Any other information, logs, or outputs that you want to share?
To reproduce, clone bazelbuild/bazel-bench and run:
The text was updated successfully, but these errors were encountered: