-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Dogfood -Zno-embed-metadata in the standard library
#145343
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
base: main
Are you sure you want to change the base?
Conversation
|
@bors try |
Dogfood `-Zno-embed-metadata` in the compiler
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@rust-timer build 6edf4f5 |
This comment has been minimized.
This comment has been minimized.
74ef778 to
ce49790
Compare
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (6edf4f5): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @bors rollup=never 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 -0.7%, secondary -0.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 3.6%, secondary 3.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: 464.328s -> 465.28s (0.21%) |
|
☔ The latest upstream changes (presumably #145366) made this pull request unmergeable. Please resolve the merge conflicts. |
ce49790 to
412cf87
Compare
|
@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.
Dogfood `-Zno-embed-metadata` in the compiler
This comment has been minimized.
This comment has been minimized.
412cf87 to
70e90f9
Compare
|
@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.
Dogfood `-Zno-embed-metadata` in the compiler
This comment has been minimized.
This comment has been minimized.
|
@bors try @rust-timer queue |
|
r? @bjorn3 |
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #149836) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@bors2 r+ (Just testing new bors) |
|
@bors2 r- |
|
Commit b143030 has been unapproved. |
This comment has been minimized.
This comment has been minimized.
Add .rmeta resolution for run-make/sysroot-crates-are-unstable test
afef2c7 to
64bd438
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
Dogfood `-Zno-embed-metadata` in the standard library
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (0dfbe35): comparison URL. Overall result: ❌ regressions - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @bors rollup=never 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 0.3%, secondary -1.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 0.6%)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: 472.736s -> 473.671s (0.20%) |
|
The performance regression exists only for the most trivial crates and benchmarks that are almost empty. I think that they are caused by rustc now scanning an additional The libstd.so size difference:
|
|
@rustbot ready |
This PR dogfoods the
-Zno-embed-metadataflag in the standard library. This removes the .rmeta portion out of thelibstd.sofile, thus reducing its filesize on disk. Notably, this reduces the amount of MiB that we ship to people who download the standard library.I think that the only way to find out what this breaks is to try to run full CI, and then try to land it on nightly :)
r? @ghost