Skip to content

Virtual frame adjustement - Filename only#413

Merged
r1viollet merged 1 commit into
mainfrom
r1viollet/adjust_exe_base_name
Jun 21, 2024
Merged

Virtual frame adjustement - Filename only#413
r1viollet merged 1 commit into
mainfrom
r1viollet/adjust_exe_base_name

Conversation

@r1viollet

Copy link
Copy Markdown
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

pr-commenter Bot commented Jun 13, 2024

Copy link
Copy Markdown

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

pr-commenter Bot commented Jun 13, 2024

Copy link
Copy Markdown

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
@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