Skip to content

Choose a tag to compare

@adriencaccia adriencaccia released this 20 Mar 15:45
· 9 commits to main since this release
v4.12.1
1c8ae48

Release Notes

In this release, we've focused on improving the local user experience.
We've revamped the output of the cli to provide tailed logs while the benchmarks are being executed, and polished a bit the display of results after your run.

We also added support to run multiple modes in a single command invocation, both for local and CI runs!
For instance, that means you can now do
codspeed run --mode simulation --mode memory --mode walltime -- cargo codspeed run

Last but not least, you can now define entrypoints in your project config

# codspeed.yml
# List of commands that are run when running `codspeed run` without further arguments
benchmarks:
  - name: My ls command
    # Mutually exclusive with entrypoint
    # Expects a command that will run a benchmark for an arbitrary command
    exec: ls -al /usr/bin
   
  - name: My pytest-codspeed benchmark
    # Mutually exclusive with exec
    # Expects a command that will run a benchmark program that is using a codspeed integration
    entrypoint: pytest --codspeed src

Fix a bug where memory profiling with codspeed exec for binaries that use statically-linked allocators (e.g. jemalloc in Rust). Previously, we reported incorrect memory usage because it didn't attach to the statically linked allocators.

Details

🚀 Features

🐛 Bug Fixes

🏗️ Refactor

📚 Documentation

🧪 Testing

  • Add spawn wrapper integration test for static allocator discovery by @not-matthias in #266

⚙️ Internals

  • Bump linux-perf-data to use upstream version by @GuillaumeLagrange in #271
  • Remove lazy_static in favor of LazyLock by @GuillaumeLagrange in #265
  • Rename skill directories with codspeed prefix by @art049
  • Move architecture docs out of this repo by @GuillaumeLagrange in #262
  • Typo in plugin description by @art049
  • Bump memtrack version
  • chore: bump runner version to 4.12.0 by @github-actions[bot] in #194
  • chore: bump runner version to 4.12.1 by @github-actions[bot] in #196

Install codspeed-runner 4.12.1

Install prebuilt binaries via shell script

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

Download codspeed-runner 4.12.1

File Platform 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

Full Runner Changelog: https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md

Full Changelog: v4.11.1...v4.12.1