Skip to content

profiler: log cpuProfileRate when starting a trace #2030

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

Merged

Conversation

felixge
Copy link
Member

@felixge felixge commented Jun 9, 2023

What does this PR do?

profiler: log cpuProfileRate when starting a trace

Motivation

This will improve our ability to analyze OS scheduling latency.

See golang/go#60701 for a better approach in the long run.

For PROF-7728

Describe how to test/QA your changes

See new test case.

Reviewer's Checklist

  • Changed code has unit tests for its functionality.
  • If this interacts with the agent in a new way, a system test has been added.

@pr-commenter
Copy link

pr-commenter bot commented Jun 9, 2023

Benchmarks

Benchmark execution time: 2023-06-29 14:43:03

Comparing candidate commit 0dae742 in PR branch felix.geisendoerfer/PROF-7728-reveal-os-scheduling-latency with baseline commit f023ebd in branch main.

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

nsrip-dd
nsrip-dd previously approved these changes Jun 9, 2023
@felixge felixge force-pushed the felix.geisendoerfer/PROF-7728-reveal-os-scheduling-latency branch from 7992969 to 5ccb743 Compare June 9, 2023 12:45
@felixge felixge marked this pull request as ready for review June 9, 2023 12:45
@felixge felixge requested a review from a team as a code owner June 9, 2023 12:45
This will improve our ability to analyze OS scheduling latency.

See golang/go#60701 for a better approach in
the long run.

For PROF-7728
@felixge felixge force-pushed the felix.geisendoerfer/PROF-7728-reveal-os-scheduling-latency branch from 5ccb743 to 323dc59 Compare June 9, 2023 12:46
Copy link
Contributor

@nsrip-dd nsrip-dd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test seems reasonable to me. Thanks!

@felixge felixge enabled auto-merge (squash) October 21, 2023 12:18
@felixge felixge merged commit 00055c7 into main Oct 21, 2023
@felixge felixge deleted the felix.geisendoerfer/PROF-7728-reveal-os-scheduling-latency branch October 21, 2023 12:24
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.

3 participants