4 ms·
Wait, like, you don't understand, or you don't share their complaint? I don't really understand how you don't understand. If I make a change to ripgrep because
by burntsushi 4y ago
Wait, like, you don't understand, or you don't share their complaint? I don't really understand how you don't understand. If I make a change to ripgrep because I'm debugging its perf and need to therefore create a release build, it can take several seconds to rebuild. Compared to some other projects that probably sounds amazing, but it's still annoying enough to impact my flow state.
ripgrep is probably on the smallish side. It's not hard to get a lot bigger than that and have those incremental times also get correspondingly bigger.
And complaining about compile times doesn't mean compile times haven't improved.
- Ygg2 4y agoI do understand some factors, but I never noticed it being like super slow to build. My personal project takes seconds to compile, but fair enough it's small, but even bigger projects like a game in Bevy don't take that much to compile. Minute or two tops. About 30 seconds when incremental. People complained of 10x slower perf. Essentially 15min build times. Fact that older versions might be slower to compile fills another part of the puzzle. That and fact I have a 24 hyper thread monster of CPU.
- TinkersW 4y ago30 seconds isn't incremental, that is way too long. I work on a large'ish C++ project and incremental is generally 1-2 seconds. Incremental must work in release builds(someone else said it only works in debug for Rust), although it is fine to disable link time optimizations as those are obviously kinda slow.
- Ygg2 4y ago> 30 seconds isn't incremental I don't recall exact numbers. But bevy can pull a lot of depenencies. Enough for `target` directory to rival NPM worst offenders (e.g. ~1GB).
- mlindner 4y agoI'll echo Ygg2's comments. My previous job the minimum compile times were around 30 minutes so compile times under a minute feel like they're happening almost instantly. It's enough such that I don't need to break my thought process every time I compile.
- burntsushi 4y agoSurely you can see how 1) it's all relative and 2) different people work differently. Like is this really so hard to understand? As far as I can tell, your comment is basically, "be grateful for what you have." But I am already. Yet I still want faster compile times because I think it will help me iterate more quickly. I truly just do not see what is difficult to understand here.