8000 Newsletter 3: Dev Time Optimization · ozkriff/rust-gamedev.github.io@f31572a · GitHub
[go: up one dir, main page]

Skip to content

Commit f31572a

Browse files
committed
Newsletter 3: Dev Time Optimization
1 parent fe12acd commit f31572a

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

_drafts/newsletter-003.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,28 @@ Here are some of the games made with Rust:
458458

459459
## Library & Tooling updates
460460

461-
### Dev Time Optimization -- Part 1 (1.9x speedup, 65% less disk usage)
461+
### [Dev Time Optimization -- Part 1 (1.9x speedup, 65% less disk usage)][dev-time-opt]
462462

463-
by Azriel
463+
Compile times (full and incremental) are one of Rust's pain points.
464+
[Azriel] published a devlog about optimizing [Will]'s build times.
465+
Summary:
464466

465-
**TODO**: img?
467+
> In a 45k LOC / 102-crate workspace,
468+
> moving tests from member crates into a single workspace_tests crate
469+
> achieved the following improvements:
470+
>
471+
> - Build and test duration in release mode reduced
472+
> from 23 minutes to 13 minutes.
473+
> - Debug artifact disk usage reduced from 20 G to 7 G
474+
> (65% reduction, fresh build),
475+
> or 230 G to 50 G (78% reduction, ongoing development).
476+
477+
_Discussions:
478+
[/r/rust](https://reddit.com/r/rust/comments/desc3q/dev_time_optimization_part_1_19x_speedup_65_less)_
479+
480+
[Azriel]: https://azriel.im
481+
[Will]: https://azriel91.itch.io/will
482+
[dev-time-opt]: https://azriel.im/will/2019/10/08/dev-time-optimization-part-1-1.9x-speedup-65-less-disk-usage
466483

467484
<https://azriel.im/will/2019/10/08/dev-time-optimization-part-1-1.9x-speedup-65-less-disk-usage>
468485

0 commit comments

Comments
 (0)
0