You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, x test tidy includes two additional checks besides tidy itself: auto-completions and rustfmt check. Currently, they run sequentially, but running them concurrently could speed things up; potentially saving around one second depending on the machine specs. It's a quite popular and frequently used command, so it's worth making it faster.
One problem is that x is supposed to obey parallelism limits (-j) and both tidy and rustfmt individually respect that but via explicitly passed limits, not via jobserver support. So executing them in parallel would mean they'd not cooperatively limit themselves.
Activity
chenyukang commentedon May 16, 2025
absolutely worth to improve here, on my machine it cost 16 seconds now:
[-]`x test tidy` can be slightly faster[/-][+]`x test tidy` can be faster[/+]the8472 commentedon Jun 26, 2025
One problem is that
xis supposed to obey parallelism limits (-j) and both tidy and rustfmt individually respect that but via explicitly passed limits, not via jobserver support. So executing them in parallel would mean they'd not cooperatively limit themselves.Rollup merge of rust-lang#161201 - the8472:tidy-opts, r=Kobzol
Rollup merge of rust-lang#161201 - the8472:tidy-opts, r=Kobzol
Unrolled build for #161201 in rollup 164005
Rollup merge of #161201 - the8472:tidy-opts, r=Kobzol