Migration
From version 0.17.0 onwards this project's name is Gungraun. The packages
were renamed from iai-callgrind to gungraun, iai-callgrind-runner to
gungraun-runner and iai-callgrind-macros to gungraun-macros.
Migration check-list
- Update the library: Rename
iai-callgrindtogungraunin yourCargo.tomland use a version>=0.17.0. - Update all usages of
use iai_callgrindtouse gungraun. - Update the binary: Uninstall the old binary with
cargo uninstall iai-callgrind-runner. Install the new binary for example with binstall:cargo binstall gungraun-runner@0.17.0 - Update any scripts which installed
iai-callgrind-runnerin the CI to usegungraun-runner. - If you are parsing the benchmark output: The summary line has changed from
Iai-Callgrind result: Ok, ...toGungraun result: Ok, ... - Update any environment variable names to use the
GUNGRAUNprefix instead ofIAI_CALLGRIND. For exampleIAI_CALLGRIND_LOG=warn->GUNGRAUN_LOG=warnorIAI_CALLGRIND_VALGRIND_INCLUDE=...toGUNGRAUN_VALGRIND_INCLUDE=.... - If you want to keep the old benchmark output from the
target/iaidirectory, simply rename it totarget/gungraun. - Rename benchmark files to use
gungrauninstead ofiaioriai_callgrind. This will also change the output directory. If you want to keep the old files, for example when renaming the old benchmarks of themy_iai_callgrind_benchmarks.rsfile tomy_gungraun_benchmarks.rs, then the output directory changes fromtarget/iai/my_package/my_iai_callgrind_benchmarkstotarget/gungraun/my_package/my_gungraun_benchmarks