Why your Vitest test suite is slow (and how to fix it)

After migrating to Vitest, we noticed a performance drop running our test suite. Here are the changes that helped us improving a lot.