-
Notifications
You must be signed in to change notification settings - Fork 13.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
rustdoc tweaking #81398
rustdoc tweaking #81398
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. |
⌛ Trying commit 72714045bcef9602165ec5376176eedcbb6a29d6 with merge ebab311de03ff14c990664443188bbabc3bc4a4d... |
I'm not sure this will show up anywhere. I'm not even sure if this will show up in windows-rs, but I'm too lazy to start another 30 minute session for that. |
This function gets called a lot, I wouldn't be surprised if this has an outsized effect. |
635b2c6
to
71e71ce
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. |
⌛ Trying commit 71e71ce83a95f1c9dfe08687ae2752f0abf7d6f6 with merge 6adb44aa6484fbc0ed095296cacb1f769f7f916d... |
☀️ Try build successful - checks-actions |
Queued 6adb44aa6484fbc0ed095296cacb1f769f7f916d with parent ff6ee2a, future comparison URL. @rustbot label: +S-waiting-on-perf |
Finished benchmarking try commit (6adb44aa6484fbc0ed095296cacb1f769f7f916d): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
That's a big nothing on the current benchmarks. Wonder if this has any effect on windows-docs-rs... |
With https://github.com/kennytm/rustup-toolchain-install-master you can install the try build locally using |
Thanks. The issue is not how to try (although thank you for the link, I didn't know I could reuse CI builds!), it's when to do so - that build is 30 minutes and using my PC in that time probably only decreases the reliability of such a test. But I'll do my best :) |
71e71ce
to
39531e0
Compare
The job Click to see the possible cause of the failure (guessed by this bot)
|
The job Click to see the possible cause of the failure (guessed by this bot)
|
84c2d0d
to
b272ca8
Compare
71a8f93
to
c9c1200
Compare
Ok, time to clean up the commits in case you want to keep multiple ones! :D Otherwise I'll simply ask bors to squash. As you prefer! |
Huh, bors can squash? If anything's good, it's good to go squashed I think. |
It has a |
Go for it :) |
Thanks for your work! @bors: r+ squash |
📌 Commit c9c1200 has been approved by |
rustdoc tweaking * Reuse memory * simplify `next_def_id`, avoid multiple hashing and unnecessary lookups * remove `all_fake_def_ids`, use the global map instead (probably not a good step toward parallelization, though...) * convert `add_deref_target` to iterative implementation * use `ArrayVec` where we know the max number of elements * minor touchups here and there * avoid building temporary vectors that get appended to other vectors At most places I may or may not be doing the compiler's job is this PR.
☀️ Test successful - checks-actions |
Ah so the bors squash is the reason some code points the blame at bors... Now I know. |
next_def_id
, avoid multiple hashing and unnecessary lookupsall_fake_def_ids
, use the global map instead (probably not a good step toward parallelization, though...)add_deref_target
to iterative implementationArrayVec
where we know the max number of elementsAt most places I may or may not be doing the compiler's job is this PR.