Skip to content

5.4.0 - 2026-10-02

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Oct 15:13
· 8 commits to main since this release
v5.4.0
214c040

Release Notes

This release adds a new --experimental-disable-pythonmalloc-override flag to prevent overriding the python allocator, which can cause issues when running free-threaded Python in Simulation mode.

We have also improved the Memory instrument:

  • Improved serialization performance for large memory benchmarks
  • Physical Memory tracking is now enabled by default (previously opt-in)
  • Added support for flamegraphs (enabled by default)

CodSpeed now also works on non-Ubuntu/Debian distributions such as Arch Linux.

🚀 Features

🐛 Bug Fixes

  • Error out when profile archive exceeds upload size limit (#557) by @lvaroqui in #557
  • Honor falsey values of the deprecated memory flags by @not-matthias in #553
  • Never resume a reused pid by @not-matthias
  • Keep stack hashing scratch inside the ring record by @not-matthias
  • Count stack-ring overflow as dropped events by @not-matthias
  • Detach BPF links through forked fd holders by @not-matthias
  • Read tracking_enabled from a global instead of an array map by @not-matthias
  • Skip allocator symbols aliased at an attached offset by @not-matthias
  • Honor deprecated experimental flags instead of ignoring them by @not-matthias in #532
  • Detect free-threaded Python from venv and uv before setting PYTHONMALLOC by @not-matthias
  • Support distributions CodSpeed publishes no valgrind package for (Arch, rolling releases) (#525) by @moha-bekh in #525

🏗️ Refactor

📚 Documentation

⚡ Performance

🧪 Testing

⚙️ Internals

Install codspeed-runner 5.4.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v5.4.0/codspeed-runner-installer.sh | sh

Download codspeed-runner 5.4.0

File Platform Checksum
codspeed-runner-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
codspeed-runner-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
codspeed-runner-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum