Merged
Conversation
Member
|
@bors r+ rollup=never (perf?) |
Collaborator
|
📌 Commit ae15822 has been approved by |
Collaborator
|
⌛ Testing commit ae15822 with merge 8859ab012852ee4bcb88a3deb3abe1b5c7a35794... |
Collaborator
|
💔 Test failed - checks-actions |
Collaborator
Member
Author
Member
Author
|
@bors retry |
Collaborator
|
@aDotInTheVoid: 🔑 Insufficient privileges: not in try users |
Contributor
|
@bors retry |
Member
|
@bors rollup=maybe I don't think this is likely to affect perf in practice, so let's permit rolling it up. |
Member
Author
|
It only effects perf on the rustdoc json backend, which we currently dont track perf for, but we should |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Feb 19, 2022
…askrgr Rollup of 7 pull requests Successful merges: - rust-lang#92902 (Improve the documentation of drain members) - rust-lang#93658 (Stabilize `#[cfg(panic = "...")]`) - rust-lang#93954 (rustdoc-json: buffer output) - rust-lang#93979 (Add debug assertions to validate NUL terminator in c strings) - rust-lang#93990 (pre rust-lang#89862 cleanup) - rust-lang#94006 (Use a `Field` in `ConstraintCategory::ClosureUpvar`) - rust-lang#94086 (Fix ScalarInt to char conversion) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It turns out we were doing syscalls for each part of the json syntax
Before:
After:
In one benchmark (one struct, almost all time in
std), this gives ~2x perfr? @CraftSpider
@rustbot modify labels: +A-rustdoc-json +T-rustdoc -A-testsuite