-
Notifications
You must be signed in to change notification settings - Fork 13.5k
update to literal-escaper 0.0.4 for better API without unreachable
and faster string parsing
#140999
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
Conversation
7db948b
to
e61a48c
Compare
This comment has been minimized.
This comment has been minimized.
e61a48c
to
774e907
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #141044) made this pull request unmergeable. Please resolve the merge conflicts. |
774e907
to
dfab3b9
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #141595) made this pull request unmergeable. Please resolve the merge conflicts. |
97904bd
to
ba27e2d
Compare
unreachable
unreachable
and faster string parsing
This comment has been minimized.
This comment has been minimized.
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer These commits modify the If this was unintentional then you should revert the changes before this PR is merged. These commits modify the If this was unintentional then you should revert the changes before this PR is merged. Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
Let's run a perf check then. @bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
update to literal-escaper 0.0.4 for better API without `unreachable` and faster string parsing This is the replacement for just the part of #138163 dealing with the changed API of unescape functionality, since that got moved into its own crate. This is a draft, because it uses an unpublished version of literal-escaper (rust-lang/literal-escaper#8). To test, clone literal-escaper into a folder next to rustc, and test rustc normally. r? `@nnethercote`
Please file the rust-analyzer parts upstream once it's released, if possible. |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
library/Cargo.toml
Outdated
rustc-std-workspace-core = { path = 'rustc-std-workspace-core' } | ||
rustc-std-workspace-alloc = { path = 'rustc-std-workspace-alloc' } | ||
rustc-std-workspace-std = { path = 'rustc-std-workspace-std' } | ||
compiler_builtins = { path = "compiler-builtins/compiler-builtins" } | ||
|
||
# rustc-literal-escaper = { path = '../../literal-escaper/' } |
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.
This is unnecessary.
Just need to fix the |
…and faster string parsing
3ce05f6
to
707a6f5
Compare
Done. |
@bors r+ |
@rustbot labels -A-tidy |
@bors r+ p=5 |
💡 This pull request was already approved, no need to approve it again.
|
(just adding Nick back to the reviewers) @bors r=nnethercote,workingjubilee |
💡 This pull request was already approved, no need to approve it again.
|
( oh right, brainslip. ) |
and to clarify I didn't review this, I just briefly imagined an entirely different way that r+ works. @bors r=nnethercote |
💡 This pull request was already approved, no need to approve it again.
|
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 3de5b08 (parent) -> 2c2bb99 (this PR) Test differencesNo test diffs found Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 2c2bb995af398383e3b93b859302bdc447ca7a7c --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Finished benchmarking commit (2c2bb99): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowOur benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.8%, secondary 4.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 690.192s -> 689.044s (-0.17%) |
update to literal-escaper 0.0.4 for better API without `unreachable` and faster string parsing This is the replacement for just the part of rust-lang#138163 dealing with the changed API of unescape functionality, since that got moved into its own crate. <del>This uses an unpublished version of literal-escaper (https://github.com/rust-lang/literal-escaper/pull/8).</del> r? `@nnethercote`
This is the replacement for just the part of #138163 dealing with the changed API of unescape functionality, since that got moved into its own crate.
This uses an unpublished version of literal-escaper (rust-lang/literal-escaper#8).r? @nnethercote