3 ms·
Author here. How long do your dev builds take, and what is it that you are building? Curious what kind of improvement you get with split-debuginfo enabled! Thi
by snake_case 5y ago
Author here. How long do your dev builds take, and what is it that you are building? Curious what kind of improvement you get with split-debuginfo enabled!
This project is a very small hyper/tokio backend API. However, I also work on a CLI tool [1] I created which has very fast recompile times, usually less than a second. Mostly because it's pretty light on dependencies.
[1]: https://github.com/jakedeichert/mask https://github.com/jakedeichert/mask
- vlovich123 5y agoIn C++ land I’ve experienced the gamut from multi-minute clean builds to 30 minutes to 1.5 hours on the latest & greatest CPUs, even with ccache. 14s sounds like paradise to me.
- O_H_E 5y agoHonest question, is there really no way to know whether what you wrote is working or not without waiting 20min-1H?? That sounds like hell. Where these incremental compilation?
- vlovich123 5y agoThat’s usually clean builds. Incremental builds can be in the instant to 1-5 min depending on what line of code you change (deploy a new compiler and you’re probably rebuilding everything).
- O_H_E 5y agoOh ok, that makes much more sense.
- imron 5y agoIt’s a C++ project for an embedded device, so my comment was more a reflection on build times in general rather than being Rust related.