· 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.

Earlier coverage

Related coverage

Also worth reading

  1. TypeScript scode-typescript/v1.0.2 released, bundling TypeScript 7.0.2
  2. angular 22.3.0-next.4 released
  3. HUMAN Security's Lindsay Kaye discusses AI-generated malware traits, patching time, and fraud scaling
  4. Gartner report shows AI risks dominate top five enterprise concerns
  5. Anthropic open-sources FlashProve, its provable inference prototype for MoE models