Repository navigation
Releases
v3.0.1
Fixes
- Benchmarks built with ccache and
base_dir(orCCACHE_BASEDIR) now get URIs relative to the repository root, such astests/bench.cpp::BM_suminstead of../tests/bench.cpp::BM_sum. Their benchmark pages and flame graphs no longer return a 404. The URIs of these benchmarks change, so their history starts over with this version.
What's Changed
- fix: resolve relative FILE against the compiler's directory by @lvaroqui in #58
- ci: install clang-format from the pre-commit mirror by @adriencaccia in #59
New Contributors
Full Changelog: v3.0.0...v3.0.1
v3.0.0
Highlights
PauseTiming is respected in Simulation mode
In Simulation mode, code between state.PauseTiming() and state.ResumeTiming() was still measured, so setup and teardown counted toward the result. It is now excluded, as in walltime mode. Expect a one-time improvement on the first run with this version.
What's Changed
- fix: exclude paused sections from instrumentation measurement by @not-matthias in #44
- build: pin -std=c11 for instrument-hooks core.c by @not-matthias in #53
Full Changelog: v2.4.0...v3.0.0
v2.4.0
Highlights
MacOS walltime profiling is now available with the codspeed cli v4.16.1 and above.
What's Changed
- chore: bump instrument-hooks by @not-matthias in #49
Full Changelog: v2.3.0...v2.4.0
v2.3.0
What's Changed
This release adds first support for macOS walltime.
Please note that profiling and other instruments are not yet available on macOS and will come in a later update.
- Support macos walltime without profiling in codspeed-cpp by @GuillaumeLagrange in #48
Full Changelog: v2.2.0...v2.3.0
v2.2.0
What's Changed
We now collect buildtime and runtime environment data to warn users about differences in their runtime environment when comparing two runs against one another.
This data includes toolchain metadata like version and build options, as well as a list of dynamically loaded linked libraries.
- ci: stop targeting our fork for BCR PR by @GuillaumeLagrange in #43
- Implement toolchain harvesting for cpp by @GuillaumeLagrange in #46
- chore: bump instrument-hooks to collect runtime libraries by @GuillaumeLagrange in #47
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- fix(google_benchmark): dont start and stop valgrind twice by @not-matthias in #38
- fix: incorrect link of flamegraph and URI by @not-matthias in #41
- feat: add memory profiling support by @not-matthias in #39
- chore: bump instrument-hooks by @not-matthias in #42
Full Changelog: v2.0.0...v2.1.0
v2.0.0
What's Changed
- feat: rename instrumentation to simulation by @GuillaumeLagrange in #36
- Prepare repository for BCR release by @GuillaumeLagrange in #37
Full Changelog: v1.4.1...v2.0.0
v1.4.1
What's Changed
- feat: add support for setting a custom benchmark name by @not-matthias in #31
- fix: warmup being sampled by perf by @not-matthias in #32
- fix(walltime): use seconds instead of nanoseconds for total_time by @adriencaccia in #33
- Increase default repetitions during codspeed walltime runs, and fix walltime stats computation by @GuillaumeLagrange in #34
New Contributors
- @adriencaccia made their first contribution in #33
Full Changelog: v1.4.0...v1.4.1
v1.4.0
What's Changed
- Add visibility setting to BUILD by @anonrig in #23
- fix: build failure with bazel 8 by @not-matthias in #24
- fix: compiler warning on v130 by @not-matthias in #27
- fix: initialize g_hooks before using it by @not-matthias in #28
New Contributors
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's new?
🎉 codspeed-cpp now supports profiling with the walltime instrument! Check out the docs for more details!
Details
🚀 Features
- Add bench with
PauseTiming - Add multithread example
- Add support for benchmark markers
- Add walltime support to google benchmark
- Add instrument-hooks library
- Add root frame
- Add fibonacci benchmark
- Add sleep benches
- Add pre-commit-hooks
🐛 Bug Fixes
- Remove memory allocations, use fixed iteration count
- Ignore instrument-hooks warning
- Add mode param
- Dont optimize out benches
⚙️ Internals
- Add a changelog and a release script
- Bump instrument-hooks
Full Changelog: v1.2.0...v1.3.0