The Wayback Machine - https://web.archive.org/web/20211025065707/https://github.com/rust-lang/rust/pull/90100
Skip to content
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

Skip documentation for tier 2 targets on dist-x86_64-apple-darwin #90100

Merged
merged 3 commits into from Oct 24, 2021

Conversation

@Mark-Simulacrum
Copy link
Member

@Mark-Simulacrum Mark-Simulacrum commented Oct 20, 2021

I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely).

r? @pietroalbini

@Mark-Simulacrum
Copy link
Member Author

@Mark-Simulacrum Mark-Simulacrum commented Oct 20, 2021

Let me actually get this into a try build to test it

@Mark-Simulacrum
Copy link
Member Author

@Mark-Simulacrum Mark-Simulacrum commented Oct 20, 2021

@bors try

bors added a commit to rust-lang-ci/rust that referenced this issue Oct 20, 2021
Skip documentation for tier 2 targets on dist-x86_64-apple-darwin

I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely).

r? `@pietroalbini`
@bors
Copy link
Contributor

@bors bors commented Oct 20, 2021

Trying commit 3eae37c with merge a2b2936...

@rust-log-analyzer

This comment has been hidden.

@bors
Copy link
Contributor

@bors bors commented Oct 20, 2021

💔 Test failed - checks-actions

@Mark-Simulacrum
Copy link
Member Author

@Mark-Simulacrum Mark-Simulacrum commented Oct 20, 2021

@bors try

@bors
Copy link
Contributor

@bors bors commented Oct 20, 2021

Trying commit 5503dd9 with merge c18b3fe...

bors added a commit to rust-lang-ci/rust that referenced this issue Oct 20, 2021
Skip documentation for tier 2 targets on dist-x86_64-apple-darwin

I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely).

r? `@pietroalbini`
@bors
Copy link
Contributor

@bors bors commented Oct 20, 2021

☀️ Try build successful - checks-actions
Build commit: c18b3fe (c18b3fe6f6448517cfb25f8facf58bfdb46016ad)

@Mark-Simulacrum
Copy link
Member Author

@Mark-Simulacrum Mark-Simulacrum commented Oct 21, 2021

@bors try

@bors
Copy link
Contributor

@bors bors commented Oct 21, 2021

Trying commit 9296efe with merge 8a9d748...

bors added a commit to rust-lang-ci/rust that referenced this issue Oct 21, 2021
Skip documentation for tier 2 targets on dist-x86_64-apple-darwin

I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely).

r? `@pietroalbini`
@bors
Copy link
Contributor

@bors bors commented Oct 21, 2021

☀️ Try build successful - checks-actions
Build commit: 8a9d748 (8a9d748d49be179776d8e74ef8b372c75449e57e)

@pietroalbini
Copy link
Member

@pietroalbini pietroalbini commented Oct 21, 2021

r=me once the try commit is removed.

@Mark-Simulacrum
Copy link
Member Author

@Mark-Simulacrum Mark-Simulacrum commented Oct 21, 2021

Well, try commits so far are yielding regressions in performance I think so deeper investigation necessary :)

@pietroalbini
Copy link
Member

@pietroalbini pietroalbini commented Oct 21, 2021

Well the r=me was mostly about the code change itself 😅

@Mark-Simulacrum
Copy link
Member Author

@Mark-Simulacrum Mark-Simulacrum commented Oct 23, 2021

Looks like this currently adds ~20 minutes to the time across try runs which seem to be just noisy neighbors or something -- all the times for other jobs went up. However, I've checked that the artifacts produced look good and we are cutting out the fairly costly docs building.

So I think we should probably go ahead and merge this; unfortunately we don't currently really track CI times anywhere, so it'll be a little hard to get a sense of whether this is an improvement, but I think the potential time savings are worth it. I also have an idea for how to track those that I'm going to experiment with a little today, but it'll be able to back-collect trivially.

@Mark-Simulacrum
Copy link
Member Author

@Mark-Simulacrum Mark-Simulacrum commented Oct 24, 2021

OK, I have a local setup for monitoring CI times now that should hopefully work well enough that we can detect changes caused by this PR (given the expected multi-minute impact).

I'm going to go ahead and approve (per earlier r=me) and will check in on the auto branch builds in a few days to see what the effect of this PR is. My guess is it'll help, but we'll see.

@bors r=pietroalbini

For the record, currently seeing (rolling 32 commit median time):

image

@bors
Copy link
Contributor

@bors bors commented Oct 24, 2021

📌 Commit 9296efe has been approved by pietroalbini

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Oct 24, 2021
…ietroalbini

Skip documentation for tier 2 targets on dist-x86_64-apple-darwin

I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely).

r? `@pietroalbini`
bors added a commit to rust-lang-ci/rust that referenced this issue Oct 24, 2021
…askrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#85254 (Normalize MIR with RevealAll before optimizations.)
 - rust-lang#89558 (Add rustc lint, warning when iterating over hashmaps)
 - rust-lang#90100 (Skip documentation for tier 2 targets on dist-x86_64-apple-darwin)
 - rust-lang#90155 (Fix alignment of method headings for scannability)
 - rust-lang#90205 (Repace use of `static_nobundle` with `native_link_modifiers` within Rust codebase)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@matthiaskrgr
Copy link
Member

@matthiaskrgr matthiaskrgr commented Oct 24, 2021

Got an "attempt to subtract with overfow" error during std documentation in a rollup, could this be related to this pr?
#90222 (comment)

Edit: nevermind, #90042 (comment) had the same problem and it didn't contain this pr

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Oct 24, 2021
…ietroalbini

Skip documentation for tier 2 targets on dist-x86_64-apple-darwin

I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely).

r? `@pietroalbini`
bors added a commit to rust-lang-ci/rust that referenced this issue Oct 24, 2021
…askrgr

Rollup of 6 pull requests

Successful merges:

 - rust-lang#85254 (Normalize MIR with RevealAll before optimizations.)
 - rust-lang#89558 (Add rustc lint, warning when iterating over hashmaps)
 - rust-lang#90100 (Skip documentation for tier 2 targets on dist-x86_64-apple-darwin)
 - rust-lang#90155 (Fix alignment of method headings for scannability)
 - rust-lang#90162 (Mark `{array, slice}::{from_ref, from_mut}` as const fn)
 - rust-lang#90205 (Repace use of `static_nobundle` with `native_link_modifiers` within Rust codebase)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Oct 24, 2021
…ietroalbini

Skip documentation for tier 2 targets on dist-x86_64-apple-darwin

I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely).

r? ``@pietroalbini``
bors added a commit to rust-lang-ci/rust that referenced this issue Oct 24, 2021
…askrgr

Rollup of 6 pull requests

Successful merges:

 - rust-lang#89558 (Add rustc lint, warning when iterating over hashmaps)
 - rust-lang#90100 (Skip documentation for tier 2 targets on dist-x86_64-apple-darwin)
 - rust-lang#90155 (Fix alignment of method headings for scannability)
 - rust-lang#90162 (Mark `{array, slice}::{from_ref, from_mut}` as const fn)
 - rust-lang#90221 (Fix ICE when forgetting to `Box` a parameter to a `Self::func` call)
 - rust-lang#90234 (Temporarily turn overflow checks off for rustc-rayon-core)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit d814af9 into rust-lang:master Oct 24, 2021
11 checks passed
@rustbot rustbot added this to the 1.58.0 milestone Oct 24, 2021
@Mark-Simulacrum Mark-Simulacrum deleted the speed-macos-ci branch Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment