-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Wild experiments #146421
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
Wild experiments #146421
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
[nothing to see here yet] Experiments
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.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
[nothing to see here yet] Experiments
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
[nothing to see here yet] Experiments
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
One last thing to try. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
[nothing to see here yet] Experiments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (87248e1): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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. @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 -8.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 13.4%, secondary 10.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -1.2%, secondary -2.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 473.077s -> 516.803s (9.24%) |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
[nothing to see here yet] Experiments
This comment has been minimized.
This comment has been minimized.
The job Click to see the possible cause of the failure (guessed by this bot)
|
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (8d02507): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking 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. @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 -5.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 9.0%, secondary 10.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -1.1%, secondary -1.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 473.872s -> 517.604s (9.23%) |
Summary of Wild compared to LLD:
Keep in mind those are wall-times which are prone to be noisy, so focus on the general tendencies, rather than specific cases. |
I was puzzled by bootstrap taking longer, but that is because it now also includes the time to build wild, right? |
Yes, I made it a part of rustc to make the benchmarking simple. In the proper setup, it'd be an optional component that can be enabled or disabled. |
Looks like there is quite a lot of a publicity here, so I probably at least provide minimal info if somebody wants to try it out.
You can try it locally out by adding
-Clinker=wild
toRUSTFLAGS
or withcargo +<toolchain_name> rustc -- -C linker=wild
and verify whether it works by runningreadelf -p .comment target/debug/<binary/shared object name> | rg -i linker
- it should sayWild ...
.This experiment only covers
x86_64-unknown-linux-gnu
host for now.