npm list
checks added in #84586 regress wall time of running tidy
#86147
Labels
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
#84586 introduced some checks which execute
npm list
4 times. They run unconditionally when executing./x.py test ...
, even if it is just to run tidy. On my system the added wall time exceeds that of running tidy itself.I'll look into whether the checks themselves can be made be less wasteful. But if there are suggestions how to completely eliminate them or defer them while preserving their original purpose that would be great too.
CC @GuillaumeGomez can you explain the purpose of running this in
should_run
rather than erroring inrun
?The text was updated successfully, but these errors were encountered: