v5.0.0
🎉 What's Changed
This major release brings support for our Walltime instrument, allowing you to benchmark larger pieces of code more reliably by making use of CodSpeed's Macro Runners.
Support for newer versions of tinybench and vitest have been added. Feel free to visit our node.js documentation for more details.
Lastly, we now use our common instrument-hooks implementation to interact with our instruments.
💥 Breaking Changes
- tinybench: Support for versions below v4 has been dropped. You must upgrade to tinybench v4 or above.
⚠️ Since tinybench v4 drops support for CJS, ES modules are now required to use the library.
🚀 Migration Path
This is a breaking change because we updated the compatible versions of underlying benchmarking libraries.
For example, support for tinybench v3 and below has been dropped. We recommend upgrading to tinybench v4 or above.
We recommend creating a dedicated PR to update your dependencies, and create a new performance baseline for your code.
📚 Details
- Bump node, bump tinybench, and add support of walltime runs for tinybench by @GuillaumeLagrange in #48
- Add walltime support for vitest plugin by @GuillaumeLagrange in #49
- chore: bump vitest and rollup dev dependencies by @GuillaumeLagrange in #52
Full Changelog: v4.0.1...v5.0.0