Skip to content

Releases: CodSpeedHQ/codspeed-node

v2.1.0

31 Jul 15:16
9c3d572

Choose a tag to compare

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

05 Jul 17:08
06cb38d

Choose a tag to compare

🎉 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

v1.1.0

13 Apr 09:06
v1.1.0
67a4f23

Choose a tag to compare

What's Changed

@codspeed/core

  • fix: explicitly zero callgrind stats at the beginning of each bench by @art049 in #8
  • feat: make forced v8 optimization optional by @art049 in #9

Internals

  • fix: remove version dependency from snapshot tests by @art049 in #7

Full Changelog: v1.0.2...v1.1.0

v1.0.2

27 Mar 09:32
a38b2cb

Choose a tag to compare

What's Changed

benchmark.js-plugin

  • feat: support deffered benchmarks by @art049 in #6

Full Changelog: v1.0.1...v1.0.2

v1.0.1

19 Jan 12:37
23ed359

Choose a tag to compare

Changes

  • tinybench is now a peer dependency of its plugin
  • benchmark.js is now also a peer dependency of its plugin

Full Changelog: v1.0.0...v1.0.1

v1.0.0

17 Jan 16:14
293682e

Choose a tag to compare