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

profiler: remove PprofDiff #2267

Merged
merged 2 commits into from
Oct 16, 2023
Merged

Conversation

nsrip-dd
Copy link
Contributor

What does this PR do?

Remove the deprecated PprofDiff function.

Motivation

We deprecated PprofDiff in v1.49.0, with a note that it would be removed in a
future release (see #1806). There is a low likelihood that any user actually
depends on this, and at any rate we have had several releases during which time
staticcheck/other linters would have flaged the deprecated function.

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.

For Datadog employees:

  • If this PR touches code that handles credentials of any kind, such as Datadog API keys, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

We deprecated PprofDiff in v1.49.0, with a note that it would be removed
in a future release. There is a low likelihood that any user actually
depends on this, and at any rate we have had several releases during
which time staticcheck/other linters could flag the deprecated function.
Finally remove it and inline it into the one place it was used.
@pr-commenter
Copy link

pr-commenter bot commented Oct 13, 2023

Benchmarks

Benchmark execution time: 2023-10-16 09:07:55

Comparing candidate commit 8904dc9 in PR branch nick.ripley/really-remove-pprof-diff with baseline commit 0428ded in branch main.

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

@felixge
Copy link
Member

felixge commented Oct 15, 2023

Any reason this is a draft?

@nsrip-dd
Copy link
Contributor Author

Any reason this is a draft?

Just habit :)

@nsrip-dd nsrip-dd marked this pull request as ready for review October 16, 2023 08:52
@nsrip-dd nsrip-dd requested a review from a team as a code owner October 16, 2023 08:52
@nsrip-dd nsrip-dd merged commit c188333 into main Oct 16, 2023
52 checks passed
@nsrip-dd nsrip-dd deleted the nick.ripley/really-remove-pprof-diff branch October 16, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants