-
Notifications
You must be signed in to change notification settings - Fork 212
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
Feature request: Show effectiveness of each step #48
Comments
I agree that would be nice information. I would ideally like that to be in a blog post we could link to It would also be neat to see the negative effects as well: i.e. how much does execution and compilation speed decrease as these size-reducing techniques are applied. |
Not sure if it's useful for you, but I wrote down some measurements for my crate for each step here: https://github.com/dirs-dev/dirs-cli-rs/blob/main/Cargo.toml I'm currently updating the crate, so some of the numbers are out of date until I can get things to compile again. I. e.
|
@soc Thanks! I think a nicely written Gist or a blog post is what I'd be looking for if we wanted to link to some real world numbers. But either way, interested users can find your comment here too and look at the numbers you've posted in your |
@johnthagen I'll look into that after I manage to sort out my issues ... do you have an idea what's going on with those missing |
@soc do you have an idea what's going on with those missing rsbegin/rsend files maybe? No, I haven't worked with the |
Thanks, no worries! (Doesn't |
I assumed you were trying to build on Windows given the |
|
interesting...
from: https://doc.rust-lang.org/cargo/reference/profiles.html#opt-level |
For those interested, I posted in IRLO to see if those more knowledgeable than me can help provide insights on what/how we should recommend |
Would be nice to grab a couple random crates and measure average binary size changes for each step and list those as well.
The text was updated successfully, but these errors were encountered: