wide-midnight-78598
02/22/2026, 4:16 PM[profile.dev]
# Increase the optimization level of the dev profile slightly, as otherwise `rule_graph`
# solving takes prohibitively long.
opt-level = 1
FWIW this literally doubles debug build time (50s to 100s), and triples incremental (3s to 10s) builds on my machine.
If the concern is around test profiles, we could also just set something there.
Everything is slower already in debug, so 🤷wide-midnight-78598
02/22/2026, 4:16 PMfast-nail-55400
02/22/2026, 5:49 PMopt-level choice in a while, so it is worth testing whether it is still needed or not.happy-kitchen-89482
02/22/2026, 7:11 PMwide-midnight-78598
02/22/2026, 7:17 PMpants --version with all debugs, but that doesn't speak to whether more complicated queries would be better/worse (I can't assume it would be that different though)wide-midnight-78598
02/23/2026, 2:15 PMwide-midnight-78598
02/24/2026, 6:14 AMcargo build --release - swapping release codegen units to default from 1 reduces engine build time by a factor of 3-4
That brings back the concept of splitting up "local release" and "CI release" profiles. CI release, we'd probably add some extra optimization, while local, I think we're fine with the default codegen for the time savings.
Also added debug build times - a lot of the same offenders.
Docker + Bollard are a pain, but aws-lc-sys build script dwarfs everythingcurved-manchester-66006
02/24/2026, 9:56 PMfast-nail-55400
02/25/2026, 9:11 PMaws-lc-sys is the default backend these days for RustTLS, but it can be switched back to the ring crate.fast-nail-55400
02/25/2026, 9:12 PMrustls between "local release" and "CI release" profiles?fast-nail-55400
02/25/2026, 9:13 PMwide-midnight-78598
02/25/2026, 9:17 PMwide-midnight-78598
02/25/2026, 10:14 PMwide-midnight-78598
02/25/2026, 10:15 PMwide-midnight-78598
02/25/2026, 10:23 PM