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
We've migrated our biggest codebase (>200 test suites) to using Vitest's Browser Mode.
I've noticed that, when running all the tests, at first Vitest runs as many test suites in parallel as possible, but the amount of parallel test suites gradually decreases as it's making progress, all the way down to only 1 test suite running at any one time.
This has a huge impact on overall test time, especially in CI.
Reproduction
Our codebase isn't public, and I don't know the exact root cause, so I'm not sure I can provide a useful reproducible repo.
Yeah, currently it's kind of a fake parallelisation. It's doesn't use the same mechanism that Node.js tests use for parallelisation. It just starts specific tests in several tabs, and they don't communicate between each other when one is free to run other tests.
Describe the bug
We've migrated our biggest codebase (>200 test suites) to using Vitest's Browser Mode.
I've noticed that, when running all the tests, at first Vitest runs as many test suites in parallel as possible, but the amount of parallel test suites gradually decreases as it's making progress, all the way down to only 1 test suite running at any one time.
This has a huge impact on overall test time, especially in CI.
Reproduction
Our codebase isn't public, and I don't know the exact root cause, so I'm not sure I can provide a useful reproducible repo.
I can narrow our config down to this:
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: