· javascript
Vitest 5: Prioritises Performance with a Shared Vite Server, Trace View, and Stricter Test Defaults
Using a purpose-built benchmark suite that spans everything from a five-file utility package to a 1,280-module monolith, the team reports gains of around 8 to 25 percent across most setups, rising to 53 percent in VM pool scenarios.
VoidZero summarised the release on X as "vm pools up to 53% faster, ~18% boost across the board including Browser Mode". The wins come from inline projects sharing a single Vite server, a stabilised on-disk fsModuleCache, fewer round trips between the main process and workers, and VM pools that reuse compiled code. A new vitest doctor command reruns a suite under alternative configurations and recommends faster options.



