Skip to content
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

Virtual frame adjustement - Filename only #413

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

r1viollet
Copy link
Collaborator

What does this PR do?

Adjust binary and DSO frames to only keep the filename instead of the full path This makes the flamegraphs easier to read

Motivation

Consistency with Otel profiler

Additional Notes

NA

How to test the change?

This is mostly a cosmetic change. The top frame for instance does not include the full path.
Prof correctness could be used for this.

image

@pr-commenter
Copy link

pr-commenter bot commented Jun 13, 2024

Benchmark results for collatz

Parameters

Baseline Candidate
config baseline candidate
profiler-version ddprof 0.17.1+8518e4fe.34733158 ddprof 0.17.1+60228300.36984462

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean execution_time
scenario:ddprof -S bench-collatz --preset cpu_only collatz_runner.sh same

@pr-commenter
Copy link

pr-commenter bot commented Jun 13, 2024

Benchmark results for BadBoggleSolver_run

Parameters

Baseline Candidate
config baseline candidate
profiler-version ddprof 0.17.1+8518e4fe.34733158 ddprof 0.17.1+60228300.36984462

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean execution_time
scenario:ddprof -S bench-bad-boggle-solver BadBoggleSolver_run work 1000 same

nsavoire
nsavoire previously approved these changes Jun 13, 2024
Adjust binary and DSO frames to only keep the filename instead of the full path
This makes the flamegraphs easier to read
@r1viollet r1viollet force-pushed the r1viollet/adjust_exe_base_name branch from 650f4ad to 6022830 Compare June 18, 2024 08:49
@r1viollet r1viollet requested a review from nsavoire June 18, 2024 09:01
@r1viollet r1viollet merged commit fd57d2c into main Jun 21, 2024
2 checks passed
@r1viollet r1viollet deleted the r1viollet/adjust_exe_base_name branch June 21, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants