4 ms·
Which isn't to say that the compiler itself (not counting incremental compilation here) isn't getting faster, but the improvements are gradual rather than the d
by kibwen 9y ago
Which isn't to say that the compiler itself (not counting incremental compilation here) isn't getting faster, but the improvements are gradual rather than the dramatic numbers seen in the OP. We have a website for tracking general compiler perf on a few representative programs: http://perf.rust-lang.org/ http://perf.rust-lang.org/ . In the benchmarks there it looks like we've shaved off about half a second from the compilation time on most benchmarks since March, though some have improved by multiple seconds and others have remained the same. In the long-term, we're looking at improvements to typechecking (via Chalk: http://smallcultfollowing.com/babysteps/blog/2017/01/26/lowering-rust-traits-to-logic/ http://smallcultfollowing.com/babysteps/blog/2017/01/26/lowe... ), improvements to linking (via LLD), improvements to debug codegen (via Cretonne: https://internals.rust-lang.org/t/possible-alternative-compiler-backend-cretonne/4275 https://internals.rust-lang.org/t/possible-alternative-compi... ), and of course incremental recompilation.
- shmerl 9y agoNice, I see it has a graph section too.
- infogulch 9y agoWhat's that jump at Apr 22 [1]? [1]: https://github.com/rust-lang/rust/compare/cb4065b9ce4e2bb2c37994762462da76272d6907...252d3da8a6c715ccafcf77d83b826f6fb899cfe5 https://github.com/rust-lang/rust/compare/cb4065b9ce4e2bb2c3...
- Manishearth 9y agohttps://github.com/rust-lang/rust/pull/41469 https://github.com/rust-lang/rust/pull/41469 Whole bunch of perf fixes at once.