Back to Daily Feed 
Vitest v5.0.0-beta.7: Benchmarking API & Performance Boosts
Must Read
Originally published on Vitest Releases
View Original Article
Share this article:
Summary & Key Takeaways
- Config resolution is now separated from server creation, introducing breaking changes.
- A new togglable
injectCjsGlobalsoption has been added. fsModuleCacheis promoted to a top-level configuration option.- The benchmark system now features a pluggable provider API.
- Performance is improved by serving warm modules to workers and enabling a Node compile cache.
- The Node compile cache is now opt-in and worker caches persist on teardown.
Our Commentary
Vitest keeps pushing. A pluggable benchmark API in a testing framework is a really interesting direction; it feels like they're building a comprehensive dev tool, not just a test runner. And the performance gains from the Node compile cache? That's just good news for everyone. We're seeing a lot of focus on speed in the tooling space, and Vitest is clearly leading the charge here.
View Original Article
Share this article: