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
I use the following setting in package.json to run the test on the AWS machine and I have tried pool=theads but it gets slower! CI=true vitest run --coverage.enabled=true --pool=forks --minWorkers=8 --maxWorkers=8
Describe the bug
Hello,
I am writing because I see high collection times when I run our 1100 React tests with Vitest in docker on AWS T3.xlarge instance.
On my local environment I get the following metrics on Macbook Pro M1 (8 CPUs). The test run takes here only 130 seconds.
In Docker on AWS T3.xlarge instance (4CPU) I see the following. The test run takes 680 seconds. Why is the collect number os high?
In Docker on AWS T3.xlarge instance (4CPU) using Jest. The test run takes 495 seconds.
Any Idea why this would happen?
PS:
I am using the following versions:
I use the following setting in package.json to run the test on the AWS machine and I have tried
pool=theads
but it gets slower!CI=true vitest run --coverage.enabled=true --pool=forks --minWorkers=8 --maxWorkers=8
Below is my vitets.config.ts file
setup.js
looks like the following:
Reproduction
I have 1111 test and I am not able to reproduce this in smaller scale
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: