Skip to content

Update iai-callgrind requirement from 0.14.0 to 0.15.0 #524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 23, 2025

Updates the requirements on iai-callgrind to permit the latest version.

Release notes

Sourced from iai-callgrind's releases.

v0.15.0

[0.15.0] - 2025-06-22

Support running cachegrind instead of or in addition to callgrind if required. The change also allowed a more flexible way to run benchmarks with any valgrind tool as default tool if wished so.

Added

  • (#365): Adjustable metrics in the terminal output of callgrind
  • (#372): Support to run cachegrind instead of callgrind or in addition to callgrind. The cachegrind feature of iai-callgrind allows to switch between both tools in the Cargo.toml in a more permanent way. But, it is also possible to change the default tool to cachegrind (or any other valgrind tool) on the command-line with --default-tool option. The LibraryBenchmarkConfig::default_tool (BinaryBenchmarkConfig::default_tool) can be used in the benchmarks to selectively change the default tool. To be able to define cachegrind limits in the same way as --callgrind-limits to detect regressions, the --cachegrind-limits options was added.
  • (#372): In the same way as --callgrind-args can be used on the command-line the following options were added to pass arguments to any valgrind tool: --valgrind-args, --cachegrind-args, --dhat-args, --memcheck-args, --helgrind-args, --drd-args, --massif-args, --bbv-args
  • (#372): Added the command-line arguments --tools to run additional tools
  • (#372): The new structs Callgrind, Cachegrind, DHAT, Memcheck, Helgrind, DRD, Massif, BBV replace the old more generic Tool to be able to specify tool specific options. These structs can be passed to LibraryBenchmarkConfig::tool and BinaryBenchmarkConfig::tool.
  • (#372): Adjustable metrics in the terminal output for all tools.

Changed

  • (#372): The command-line argument name --regressions changed to --callgrind-limits. The IAI_CALLGRIND_REGRESSIONS environment variable changed to IAI_CALLGRIND_CALLGRIND_LIMITS.
  • (#372): The summary summary json schema v3 summary.v3.schema.json was updated to v4 summary.v4.schema.json
  • (#372): Ignore with a warning the arguments --xtree-memory, --xtree-memory-file, --xtree-leak, --xtree-leak-file
  • (#372): A small change in the regression summary at the end of the benchmark run: The tool is now printed along with the detected regression: Callgrind: Instructions (132 -> 195): +47.7273% exceeds limit of +0.00000% instead of just Instructions (132 -> 195): +47.7273% exceeds limit of +0.00000%
  • (#372): The comparison by id between benchmark functions now compares the metrics of all tools and not just callgrind.
  • Update direct dependencies: cc, syn, clap, cfg-if, bindgen, which and all transitive dependencies to their latest possible versions.

Removed

  • (#372): The following functions were removed BinaryBenchmarkConfig::with_callgrind_args, BinaryBenchmarkConfig::raw_callgrind_args, BinaryBenchmarkConfig::callgrind_args (now in Callgrind::args), BinaryBenchmarkConfig::flamegraph (now in Callgrind::flamegraph), BinaryBenchmarkConfig::regression (now in Callgrind::regression), BinaryBenchmarkConfig::entry_point (now in Callgrind::entry_point) BinaryBenchmarkConfig::tools, BinaryBenchmarkConfig::tools_override, LibraryBenchmarkConfig::with_callgrind_args, LibraryBenchmarkConfig::raw_callgrind_args, LibraryBenchmarkConfig::callgrind_args, LibraryBenchmarkConfig::with_raw_callgrind_args, LibraryBenchmarkConfig::flamegraph, LibraryBenchmarkConfig::regression, LibraryBenchmarkConfig::entry_point, LibraryBenchmarkConfig::tools, LibraryBenchmarkConfig::tools_override,
  • (#372): The Tool struct was removed and replaced by the more specific Callgrind, Cachegrind, ... structs
  • (#372): The deprecated black_box function was removed. Use std::hint::black_box instead.

Fixed

New Contributors

Full Changelog: iai-callgrind/iai-callgrind@v0.14.2...v0.15.0

Changelog

Sourced from iai-callgrind's changelog.

[0.15.0] - 2025-06-22

Support running cachegrind instead of callgrind or in addition to callgrind if required. The change also allowed a more flexible way to run benchmarks with any valgrind tool as default tool if wished so.

Added

  • (#365): Adjustable metrics in the terminal output of callgrind
  • (#372): Support to run cachegrind instead of callgrind or in addition to callgrind. The cachegrind feature of iai-callgrind allows to switch between both tools in the Cargo.toml in a more permanent way. But, it is also possible to change the default tool to cachegrind (or any other valgrind tool) on the command-line with --default-tool option. The LibraryBenchmarkConfig::default_tool (BinaryBenchmarkConfig::default_tool) can be used in the benchmarks to selectively change the default tool. To be able to define cachegrind limits in the same way as --callgrind-limits to detect regressions, the --cachegrind-limits options was added.
  • (#372): In the same way as --callgrind-args can be used on the command-line the following options were added to pass arguments to any valgrind tool: --valgrind-args, --cachegrind-args, --dhat-args, --memcheck-args, --helgrind-args, --drd-args, --massif-args, --bbv-args
  • (#372): Added the command-line arguments --tools to run additional tools
  • (#372): The new structs Callgrind, Cachegrind, DHAT, Memcheck, Helgrind, DRD, Massif, BBV replace the old more generic Tool to be able to specify tool specific options. These structs can be passed to LibraryBenchmarkConfig::tool and BinaryBenchmarkConfig::tool.
  • (#372): Adjustable metrics in the terminal output for all tools.

Changed

  • (#372): The command-line argument name --regressions changed to --callgrind-limits. The IAI_CALLGRIND_REGRESSIONS environment variable changed to IAI_CALLGRIND_CALLGRIND_LIMITS.
  • (#372): The summary summary json schema v3 summary.v3.schema.json was updated to v4 summary.v4.schema.json
  • (#372): Ignore with a warning the arguments --xtree-memory, --xtree-memory-file, --xtree-leak, --xtree-leak-file
  • (#372): A small change in the regression summary at the end of the benchmark run: The tool is now printed along with the detected regression: `Callgrind: Instructions (132

... (truncated)

Commits
  • 37b000d Merge pull request #380 from gamma0987/release
  • 6016abd Update CHANGELOG
  • ad1e4cc Bump version v0.14.2 -> v0.15.0
  • f08fce5 Bump iai-callgrind-macros version v0.5.1 -> v0.6.0
  • d5ac434 Update CONTRIBUTING
  • 4c7153b cicd: Unpin nightly version
  • 5fe8138 docs: Update comparison with iai in readme and in the guide
  • 527dd17 feat(cachegrind): Split MetricKind::Error into tools MetricKind::Memcheck, ...
  • acbc2e6 Merge pull request #379 from iai-callgrind/renovate/syn-2.x-lockfile
  • be81c7f chore(just): Add jobs with BENCH_OVERWRITE. Remove redundant book-serve
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [iai-callgrind](https://github.com/iai-callgrind/iai-callgrind) to permit the latest version.
- [Release notes](https://github.com/iai-callgrind/iai-callgrind/releases)
- [Changelog](https://github.com/iai-callgrind/iai-callgrind/blob/main/CHANGELOG.md)
- [Commits](iai-callgrind/iai-callgrind@v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: iai-callgrind
  dependency-version: 0.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 30, 2025

Superseded by #525.

@dependabot dependabot bot closed this Jun 30, 2025
@dependabot dependabot bot deleted the dependabot/cargo/iai-callgrind-0.15.0 branch June 30, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants