-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
"hello world" binary size increase in each release #75804
Comments
Assigning Would be nice to see where (if it's just one PR) this has regressed ... @rustbot ping cleanup And also if this affects more complex programs too. For now considering it as |
Hey Cleanup Crew ICE-breakers! This bug has been identified as a good cc @AminArria @camelid @chrissimpkins @contrun @DutchGhost @elshize @ethanboxx @h-michael @HallerPatrick @hdhoang @hellow554 @imtsuki @kanru @KarlK90 @LeSeulArtichaut @MAdrianMattocks @matheus-consoli @mental32 @nmccarty @Noah-Kennedy @pard68 @PeytonT @pierreN @Redblueflame @RobbieClarken @RobertoSnap @robjtede @SarthakSingh31 @senden9 @shekohex @sinato @spastorino @turboladen @woshilapin @yerke |
I think a high regression in nightly is from #74682 . Not that I think we should revert it, but it is worth investigating |
I just saw this on Windows (x86_64-pc-windows-msvc) in one of my applications on the upgrade from 1.49 to 1.50 and explored if this issue is known and reported.
I just did a adaptation of the script to run on windows using cygwin (not using WSL as that would pick up Linux's version and I'm interested in Windows for this particular app). I installed all versions since 1.45 (I didn't force the usage of 1.x.0), cygwin's strip has no effect on the binaries, so kept only one column. I got these results:
|
Can anybody explain why there is a huge drop in current beta? 😊 |
Also similar results on my application (on x86_64-pc-windows-msvc) which is a parser using pest: Sizes are as follow:
L.E.: if older versions of the crates below, only the nightly debug is
|
Closed as this seems to be taken care by https://perf.rust-lang.org/index.html. |
The binary size of "hello world" program increased in each release:
Detail table
main.rs
Script to reproduce
Meta
beta:
nightly:
The text was updated successfully, but these errors were encountered: