-
Notifications
You must be signed in to change notification settings - Fork 151
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
Push branches for testing #1
Comments
This more like what brson was talking about. If I am a compiler hacker and have written something I'm not sure about, it would be great to do a trial run of the branch on the perf server without merging it to master. |
Okay, copy pasting the reddit post and rewriting to a bulleted list of what the next steps [I think] are.
For each head commit on a PR:
I think that the main steps that are needed for this to happen are more on the human side (getting and configuring the servers; configuring GitHub to ping the compiler build server). The main steps for this repository are within the UI; but I think that most of the UI portion can be done in parallel with the human work; the steps below are what needs to be done for the UI:
|
I think there are two similar but different ideas here - brson's idea is to test every push to the Rust repo after it is merged, the other idea is to test nominated branches before they are merged. Long term, we probably want both. The second idea is easier in the short term because we don't need any new hardware or load balancing, etc. |
I think I interpreted brson's idea as more of the second than the first... I think you meant to say that the first (testing after merge) is easier. I'm not sure I follow you on not needing new hardware: wouldn't the compiler still need to be built? Or is it possible to get the built artifacts from buildbot? Running the benchmarks once we get a compiler though is a single-computer task and can be done (for now, at least) on the same server as what runs perf.rust-lang.org. |
No - testing after merge is harder. It would mean we would need more than one server, since we merge more quickly than we test. We do need to build the compiler since that is where the bootstrap numbers come from (we could use a stage1 compiler from the bots, but it doesn't seem worth the effort, it doesn't take so long compared to the other tasks). If we only test on request (and I'm assuming we wouldn't get too many requests), then we should still be able to run on a single server. (Note that the tests don't run on the same server as the website backend - we need a clean server to get consistent results). |
Testing on request for now sounds like a good plan (and I believe there's already a PR asking for that); I didn't realize that the merging happens faster than the tests, though I suppose that makes sense. Let me know if/how I can help! |
@bors try builds can be benchmarked with today's infrastructure. I don't think we're prepared to do more than that for the meantime, and not sure it's super worth tracking either. As such, closing. |
Be able to push a local branch to the repo to test its performance.
The text was updated successfully, but these errors were encountered: