Tracking issue for release notes of #159623: rustdoc: Only build extern trait impls if needed

Open Beginner friendly
#159,674 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Read the forge.rust-lang.org release notes chapter and compare previous releases for category conventions. Review PRs #159623, #159721, #159779, #159854, and #159091, then finalize the succinct release-notes text and leave the blog section empty unless the change is notable enough for inclusion.

Written by the indexing model from the issue text.

Description

relnotes relnotes-tracking-issue T-rustdoc

This issue tracks the release notes text for #159623.

cc @camelid, @notriddle -- original issue/PR authors and assignees for drafting text

See the forge.rust-lang.org chapter about release notes for an overview of how the release team makes use of these tracking issues.

Release notes text

This section should be edited to specify the correct category(s) for the change, with succinct description(s) of what changed. Some things worth considering:

  • Does this need an additional compat notes section?
  • Was this a libs stabilization that should have additional headers to list new APIs under Stabilized APIs and Const Stabilized APIs?
# Rustdoc
- Smarter filtering of trait impls yields performance improvements of 20% on average and up to 40% on some real-world crates. ([1](https://github.com/rust-lang/rust/pull/159623), [2](https://github.com/rust-lang/rust/pull/159721), [3](https://github.com/rust-lang/rust/pull/159779), [4](https://github.com/rust-lang/rust/pull/159854), [5](https://github.com/rust-lang/rust/pull/159091))

There were four PRs contributing to these perf improvements (#159623, #159721, #159779, #159854). Plus @Kobzol's PGO PR (#159091). Not sure the best way of capturing this in the release notes.

[!TIP]
Use the previous releases for inspiration on how to write the release notes text and which categories to pick.

Release blog section

If this change is notable enough for inclusion in the blog post then this section should be edited to contain a draft for the blog post. Otherwise leave it empty.

[!NOTE]

If a blog post section is required the release-blog-post label should be added (@rustbot label +release-blog-post) to this issue as otherwise it may be missed by the release team.

Dominant language
Rust
Stars
119k
Forks
16.2k
Avg merge
2d 9h
Merged PRs (30d)
529

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-lang/rust

All issues in rust-lang/rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.