Skip to content

Commit cf06413

Browse files
committed
Add a graph from the incremental compilation post
1 parent eb2fe94 commit cf06413

File tree

2 files changed

+134
-0
lines changed

2 files changed

+134
-0
lines changed

_posts/2017-05-15-rust-at-two-years.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,21 @@ over the next few months. If you're interested in getting involved, please
237237
check out the [roadmap issue #4][roadmap-4], which is updated periodically to
238238
reflect the current status, as well as places where help is needed.
239239

240+
[The February post][incrcomp] on the "beta" support showed that recompiling in
241+
release mode will often be **five times as fast** with incremental compilation!
242+
This graph shows the improvements in compilation time when making changes to
243+
various parts of the regex crate and rebuilding in release mode:
244+
245+
![Graph showing improved time with incremental compilation][incrcomp-svg]{:class="center"}
246+
247+
Try out incremental compilation on nightly Rust with
248+
`CARGO_INCREMENTAL=1 cargo <command>`!
249+
240250
*Thanks to Niko Matsakis for this incremental compilation summary!*
241251

242252
[incrcomp]: https://internals.rust-lang.org/t/incremental-compilation-beta/4721
243253
[roadmap-4]: https://github.com/rust-lang/rust-roadmap/issues/4
254+
[incrcomp-svg]: /images/2017-05-Second-Birthday/incremental-compilation.svg
244255

245256
The progress that's happened in the last year on improving the time it takes to
246257
do a full compilation is mostly slow and steady, with a few pathological cases
Lines changed: 123 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)