3 ms·
https://www.pingcap.com/blog/rust-compilation-model-calamity/ https://www.pingcap.com/blog/rust-compilation-model-calamity... is a good overview. In general it
by jynelson 4y ago
https://www.pingcap.com/blog/rust-compilation-model-calamity/ https://www.pingcap.com/blog/rust-compilation-model-calamity... is a good overview. In general it varies depending on the crate but we track the performance at https://perf.rust-lang.org/ https://perf.rust-lang.org/ - if you look at cargo, for example, over 60% of the time is spent in codegen through LLVM: https://perf.rust-lang.org/detailed-query.html?commit=222d1ff68d5bfe1dc2d7f3f0c42811fe12964af9&base_commit=606c3907251397a42e23d3e60de31be9d32525d5&benchmark=cargo-0.60.0-debug&scenario=full https://perf.rust-lang.org/detailed-query.html?commit=222d1f...