Skip to content

Releases: CodSpeedHQ/codspeed-node

v4.0.1

Choose a tag to compare

@github-actions github-actions released this 24 Mar 14:53
6df11e8

What's Changed

  • feat: vitest-plugin - allow vite 6 in peer dependencies by @belgattitude in #43

New Contributors

Full Changelog: v4.0.0...v4.0.1

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 11 Dec 14:53
acaf925

🎉 What's Changed

This major release aims to reduce variance in the measurements, by updating the V8 flags and forcing other optimizations.

🚀 Migration Path

This is a breaking change and it will affect your current performance baseline. But updating will improve result stability!

We recommend you create a standalone PR to update the @codspeed/* dependencies, acknowledge the potential regressions, and merge it to update the baseline on your default branch.

📚 Details

Full Changelog: v3.1.1...v4.0.0

v3.1.1

Choose a tag to compare

@github-actions github-actions released this 22 Jul 10:58
f2c6054

What's Changed

  • fix(vitest-plugin): ensure typings are found when using exports by @adriencaccia in #35

Full Changelog: v3.1.0...v3.1.1

v3.1.0

Choose a tag to compare

@github-actions github-actions released this 02 Feb 15:56
46a7a56

🎉 What's Changed

The inimum required version of vitest is now the 1.2.2.
@codspeed/vitest-plugin now supports the before* and after* hooks from vitest 🪝
This brings a benchmark authoring experience similar to writing unit and integration tests.
Take a look at the documentation on Database instrumentation to see it in action!

Since this feature is not available yet in the actual vitest's bench API, enabling the codspeedPlugin will now always activate the CodSpeed benchmark runner instead of the default one, even in local environments.

🚀 Migration Path

We recommend you create a standalone PR to update the @codspeed/* dependencies, acknowledge the potential regressions, and merge it to update the baseline on your default branch.

📚 Details

Full Changelog: v3.0.0...v3.1.0

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 18 Jan 15:12
eea918d

🎉 What's Changed

This major release brings support for the MongoDB instrumentation beta, bringing MongoDB queries insights directly in the CodSpeed report.
Documentation is coming soon...

🚀 Migration Path

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🎉!

We recommend you create a standalone PR to update the @codspeed/* dependencies, acknowledge the potential regressions, and merge it to update the baseline on your default branch.

📚 Details

Full Changelog: v2.3.1...v3.0.0

v2.3.1

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:01
b22974e

What's changed

Full Changelog: v2.3.0...v2.3.1

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 17:19
5d34938

What's Changed

Full Changelog: v2.2.0...v2.3.0

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 03 Aug 12:59
7f00e39

🎉 What's Changed

Trace generation now works out of the box with both plugins 🚀
Find the flame graphs directly in the reports on the codspeed app.

image

@codspeed/tinybench-plugin

  • call internal setupCore and teardownCore at the right places by @adriencaccia in #23

@codspeed/benchmark.js-plugin

Internals

Full Changelog: v2.1.0...v2.2.0

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 31 Jul 15:16
9c3d572

What's Changed

  • feat(tinybench-plugin): support afterAll, afterEach, beforeAll and beforeEach by @adriencaccia in #20

Full Changelog: v2.0.0...v2.1.0

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Jul 17:08
06cb38d

🎉 What's Changed

  • Flame graph generation is now supported with Node 16+, allowing more granularity in the performance reports. More details can be found in the documentation.
  • Each benchmark is now warmed up a single time before each run to reduce the flakiness and the side effects related to the order in which the benchmarks are run.
  • The uri of the benchmarks now contains the exact path of the file where they are added, either with bench.add(...) (with @codspeed/tinybench-plugin) or suite.add(...) (with @codspeed/benchmark.js-plugin). Before, they were all defined under the file where the bench or suite variable was instantiated. This feature enables better code splitting of your different benchmarks, read more on this in our documentation about bigger projects. This means that your existing benchmarks might be dropped in favor of new ones with correct URIs. Just acknowledge the dropping in the CodSpeed app, and you are good to go!

🚀 Migration Path

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🎉!

We recommend you create a standalone PR to update the @codspeed/* dependencies, acknowledge the potential regressions, and merge it to update the baseline on your default branch.

📚 Details

Features

Fixes

Internals


Full Changelog: v1.1.0...v2.0.0