-
Notifications
You must be signed in to change notification settings - Fork 289
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
Add rustdoc performance blog post #760
Conversation
👍 |
Oh hold on - @bugadani mentioned that we should probably mention the actual performance PRs, which are caching intra-doc links and not looking for blanket impls. Let's hold off on merging until then. |
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
- Add PRs targeted at intra-doc link performance - Be more environmentally friendly
Ok, this is ready for review. |
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
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.
Looks good, might need someone to go through and make copy edits
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Manish Goregaokar <[email protected]>
Co-authored-by: Dániel Buga <[email protected]>
|
||
## Errata | ||
|
||
An earlier version of the blog post described the section on slimming `doctree` as "Burning down |
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.
That makes me sad. It was a funny pun. :'(
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.
Great blog post! I have some comments that are mostly typographical nits and also a typo or two :)
Some of them are stylistic choices, so they're not a big deal, but I wanted to suggest possible alternatives to see what you think.
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
posts/inside-rust/2021-01-15-rustdoc-performance-improvements.md
Outdated
Show resolved
Hide resolved
@camelid I've given you write access to my fork, feel free to make all the edits you want. I'll try to address the review comments at some point but I may not get around to it today. |
1. Rustdoc: Cache resolved links [#77700](https://github.com/rust-lang/rust/pull/77700) | ||
|
||
This does what it says in the title. In particular, this sped up the time to generate intra-doc | ||
links for `stm32h7xx` by a whopping [90,000%]. [**@bugadani**](https://github.com/bugadani) did an |
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.
Just realized, 90x =/= 90000%. I think this is a zero off :)
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.
The comment this links to seems to show an 82x speedup. Maybe we should just say "by a whopping 82x"? Or "this was an 82x speedup"?
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.
a huge percentage looks alot better tho 🤓
r? @Manishearth
cc @GuillaumeGomez