ruff
c378604d - mdtest.py: set `CARGO_PROFILE_DEV_OPT_LEVEL=1` unless filters were specified (#24606)

Commit
12 days ago
mdtest.py: set `CARGO_PROFILE_DEV_OPT_LEVEL=1` unless filters were specified (#24606) ## Summary Setting `CARGO_DEV_OPT_LEVEL=1` makes compile times much slower but mdtest runtime much faster. Overall, for a full run of ty's mdtest suite, it's faster to run mdtests (including compilation time) if you set this environment variable. This PR sets the environment variable in mdtest.py, but only if filters weren't specified. If you specified a filter, only a (probably small) subset of mdtests will be run, so the compile time is going to dominate and setting this environment variable will be counterproductive. For a full mdtest run, though, it'll be helpful. ## Test Plan I ran mdtest.py locally and observed that the whole mdtest suite finished in <3s, compared to 13.77s on `main`
Author
Parents
Loading