-
Notifications
You must be signed in to change notification settings - Fork 250
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
OCPBUGS-17157: opm: always serve pprof endpoints, improve server allocations #1129
OCPBUGS-17157: opm: always serve pprof endpoints, improve server allocations #1129
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1129 +/- ##
==========================================
+ Coverage 53.77% 53.81% +0.04%
==========================================
Files 108 108
Lines 10163 10166 +3
==========================================
+ Hits 5465 5471 +6
+ Misses 3738 3734 -4
- Partials 960 961 +1
|
3ec0ea3
to
2796254
Compare
Previously, new buffers were allocated on each file we read in, which was unnecessary and wasteful. Signed-off-by: Steve Kuznetsov <[email protected]>
2796254
to
bbbe592
Compare
Note on the first commit: |
bbbe592
to
c6f8062
Compare
unit tests broken on codecov ...
|
There is no substantial runtime cost to serving pprof endpoints, and when things hit the fan and we need to investigate performance in situ, there is no time to restart pods and change flags. Capturing profiles remains opt-in, since those are costly. Signed-off-by: Steve Kuznetsov <[email protected]>
c6f8062
to
c2e5511
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: grokspawn, stevekuznetsov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
@stevekuznetsov: Jira Issue OCPBUGS-17157: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with Jira Issue OCPBUGS-17157 has not been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There's no substantial runtime cost to serving the endpoints by default, and when things hit the fan you always need to query them in situ.
Description of the change:
Motivation for the change:
Reviewer Checklist
/docs