4 ms·
> Dev rebuilds lasting 14 seconds was getting me a bit worried I wish my dev builds only took 14 seconds...
by imron 6y ago
> Dev rebuilds lasting 14 seconds was getting me a bit worried
I wish my dev builds only took 14 seconds...
- snake_case 6y agoAuthor 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 6y 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 6y 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 6y 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 6y agoOh ok, that makes much more sense.
- imron 6y 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.