Skip to content

Binary size bloat in the last Nightly (Gnu64) #44183

Closed
@leonardo-m

Description

@leonardo-m

In the current Nightly (gnu64 target) the sizes of the produced binaries has grown a lot (from 2017-08-27 to 2017-08-29 Nightlies).

The problem is visible in nightly-x86_64-pc-windows-gnu 1.21.0-nightly (c11f689 2017-08-29).

The test code is not critical, the problem is visible in all kinds of code, but you could use this:

https://gist.github.com/anonymous/324be5d846ea0a00cd2c5fed1ff747ea

See also:
https://users.rust-lang.org/t/std-library-inclusion-policy-and-a-data-point-of-compilation-times/5212/31

We have not yet tested the Gnu32 target.

(Also I've seen 15-20% decrease in performance of some binaries, but not for the tiny program above that runs in a moment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-slowIssue: Problems and improvements with respect to performance of generated code.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions