-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nextest-runner] spawn a task for each test
Previously we'd use the same task for all tests -- that turns out to be fine in most cases, but doesn't quite provide per-test isolation, and is slower in repos like clap that have lots of small tests. Switch to using the same task instead. It's cool that async-scoped kind of works here, but non-static tasks are such a pain to work with in general. This makes the clap tests significantly faster. On `fc55ad08`, runtime on my desktop (Ryzen 7950X/Linux) goes from 0.36 seconds to 0.24.
- Loading branch information
1 parent
c6d034b
commit 5f010c7
Showing
4 changed files
with
129 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters