Skip to content

Releases: CodSpeedHQ/pytest-codspeed

v3.0.0

29 Oct 16:58
v3.0.0
4f45b41
Compare
Choose a tag to compare

What's Changed

This new release includes a new wall time instrument that allows measurement of real execution timings. This will be very useful for macro benchmarks running on properly isolated machines. You can now use our CodSpeed Macro runners without changing anything to your existing CI workflows.

Find more info on our Walltime instrument here.

image

Breaking changes

  • Dropped support for Python 3.8 since it reached its EOL

Features

  • feat: add walltime clock benchmarking by @art049 in #41
  • feat/add max time and quartiles by @art049 in #45
  • feat: also save the lower and upper fences in the json data by @art049 in #46

Fixes

  • fix: pytest-benchmark 5.0.0 compatibility by @art049 in #54
  • fix: don't override pytest's default protocol by @kenodegard in #32

Internals

  • chore: Add TCH, FA, and UP lints by @kenodegard in #29
  • Expose type information by @Dreamsorcerer in #53
  • ci: bump actions/checkout to v4 by @fargito in #47
  • chore: support python 3.13 and drop 3.7 by @art049 in #40
  • feat: use a true semver version by @art049 in #44
  • test: add benches for TheAlgorithms/backtracking by @art049 in #43
  • test: add benches for TheAlgorithms/audio_filters by @art049 in #42
  • docs(readme): update action version in the CI workflow configuration by @frgfm in #39

New Contributors

Full Changelog: v2.2.1...v3.0.0

v2.2.1

19 Mar 22:00
v2.2.1
7546a2f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.2.1

v2.2.0

01 Sep 12:59
v2.2.0
faa4b7d
Compare
Choose a tag to compare

What's Changed

pytest-xdist is now fully supported. Thus if you have a lot of benches, you can totally leverage xdist test distribution (on the same CPU) to speed up benchmark execution.

Details

  • feat: fix pytest-xdist-compatibility by @art049 in #18

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

v2.1.0

27 Jul 13:38
v2.1.0
a752fb9
Compare
Choose a tag to compare

What's Changed

Relative paths are now properly handled when using the working-directory action parameter.

Details

  • fix: git relative path with working-directory by @art049 in #15

Internals

Full Changelog: v2.0.1...v2.1.0

v2.0.1

22 Jul 09:27
v2.0.1
3704ce0
Compare
Choose a tag to compare

What's Changed

Added

  • Added support for returning values by @patrick91 in #12
  • Add a return type to the benchmark fixture by @art049 in #13

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

05 Jul 17:05
48e4228
Compare
Choose a tag to compare

🎉 What's Changed

  • Flame graph generation is now supported with Python 3.12+, 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.

🚀 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 pytest-codspeed package, acknowledge the potential regressions, and merge it to update the baseline on your default branch.

📚 Details

Fixes

  • support benchmark.extra_info from pytest-benchmark by @art049 in #10

Internals

Full Changelog: v1.2.2...v2.0.0

v1.2.2

02 Dec 16:18
Compare
Choose a tag to compare

What's Changed

  • feat: add library metadata in the profile output by @art049 in #5

Full Changelog: v1.2.1...v1.2.2

v1.2.1

28 Nov 10:26
Compare
Choose a tag to compare

What's Changed

  • fix: support kwargs with the benchmark fixture by @art049 in #4

Full Changelog: v1.2.0...v1.2.1

v1.2.0

22 Nov 16:17
bef56c0
Compare
Choose a tag to compare

What's Changed

  • fix: disable automatic garbage collection to increase stability by @art049 in #2

Full Changelog: v1.1.0...v1.2.0

v1.1.0

10 Nov 09:11
Compare
Choose a tag to compare

What's Changed

  • feat: allow running along with pytest-benchmark by @art049 in #1

Full Changelog: v1.0.4...v1.1.0