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

Add a script for diffing cachegrind output #1086

Merged
merged 1 commit into from
Dec 18, 2020
Merged

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Dec 18, 2020

Motivation:

When profiling with cachegrind it's often useful to compare changes
across runs. It's reasonably easy to do this for program totals but a
little harder to see changes between instructions.

Modifications:

Add a script for diffing output from cachegrind. Features:

  • runs input files through swift demangle (unless you tell it not to)
  • sort on file1, file2, or the delta
  • ignores changes less than a configurable low watermark (configurable)

Result:

Easier to diff output from cachegrind

Motivation:

When profiling with cachegrind it's often useful to compare changes
across runs. It's reasonably easy to do this for program totals but a
little harder to see changes between instructions.

Modifications:

Add a script for diffing output from cachegrind. Features:
- runs input files through swift demangle (unless you tell it not to)
- sort on file1, file2, or the delta
- ignores changes less than a configurable low watermark (configurable)

Result:

Easier to diff output from cachegrind
@glbrntt glbrntt added the semver/none No version bump required. label Dec 18, 2020
@glbrntt glbrntt requested a review from Lukasa December 18, 2020 13:39
@glbrntt glbrntt merged commit 55f083a into grpc:main Dec 18, 2020
@glbrntt glbrntt deleted the gb-cg-diff branch December 18, 2020 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants