File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ especially for release builds.
4646
4747## How does this perform?
4848
49+ Some build timings for clean release builds of a crate depending on various
50+ specific large API crates:
51+
4952| ** Dependency Crate** | ** Before** | ** ` hint-mostly-unused ` ** | ** Delta** |
5053| :- | -: | -: | -: |
5154| ` windows ` , all Graphics/UI features | 18.3s | 10.7s | -42% |
@@ -64,6 +67,9 @@ in multiple different crates or binaries (e.g. multiple test binaries that each
6467test a substantial swath of the API), may result in redoing code generation for
6568the same items repeatedly.
6669
70+ Also note that this only provides a performance win if you are rebuilding the
71+ dependency. If you're only rebuilding the top-level crate, this won't help.
72+
6773## Plumbing this through Cargo with profiles
6874
6975In order to support compiling specific dependencies with this option, Cargo
You can’t perform that action at this time.
0 commit comments