-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add IAI_CALLGRIND_<triple>_VALGRIND_INCLUDE
#101
Comments
Thanks for your interest in iai-callgrind! Can you please explain a little bit more? What do you expect |
Hi, from doc:
so for cross benches I must to set this variable every time, example: IAI_CALLGRIND_VALGRIND_INCLUDE=/aarch64/valgrind/include cargo bench --target aarch64-unknown-linux-gnu
IAI_CALLGRIND_VALGRIND_INCLUDE=/x86_64/valgrind/include cargo bench --target x86_64-unknown-linux-gnu My proposal:
This allows to set the path once per target:
Then just run benches:
|
Also, it would be nice if the reports were grouped by target (now - the comparison with the last launch, regardless of the target) |
Thanks for clarifying. Sounds good. Regarding the grouping, you should already be able to achieve something like that by saving baselines per target. See the README https://github.com/iai-callgrind/iai-callgrind?tab=readme-ov-file#comparing-with-baselines. |
I think this is a little different - there is no point in comparing two targets, moreover it looks terrible and is easy to make a mistake:
|
It's not the same and maybe not ideal for this usecase but for the time being there's a possibility to achieve a comparison between the same target and you're not completely lost. Maybe consider using |
I was just interested to hear your opinion. This way I can do the PR when I have time. |
For cross compilation like
CARGO_TARGET_<triple>_RUNNER
.Example:
The text was updated successfully, but these errors were encountered: