Allow disabling JFR profiler manually via configuration - #6428
Merged
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 45 metrics, 9 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.27.0-SNAPSHOT~f158574ca1, baseline=1.27.0-SNAPSHOT~7440eac70c
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.046 s) : 0, 1045558
Total [baseline] (8.702 s) : 0, 8701540
Agent [candidate] (1.057 s) : 0, 1057184
Total [candidate] (8.759 s) : 0, 8758990
section iast
Agent [baseline] (1.166 s) : 0, 1166444
Total [baseline] (9.338 s) : 0, 9338264
Agent [candidate] (1.17 s) : 0, 1170414
Total [candidate] (9.254 s) : 0, 9253682
section iast_TELEMETRY_OFF
Agent [baseline] (1.168 s) : 0, 1168451
Total [baseline] (9.27 s) : 0, 9270009
Agent [candidate] (1.162 s) : 0, 1162143
Total [candidate] (9.234 s) : 0, 9233893
gantt
title insecure-bank - break down per module: candidate=1.27.0-SNAPSHOT~f158574ca1, baseline=1.27.0-SNAPSHOT~7440eac70c
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (647.324 ms) : 0, 647324
BytebuddyAgent [candidate] (654.301 ms) : 0, 654301
GlobalTracer [baseline] (305.913 ms) : 0, 305913
GlobalTracer [candidate] (309.445 ms) : 0, 309445
AppSec [baseline] (50.372 ms) : 0, 50372
AppSec [candidate] (50.925 ms) : 0, 50925
Remote Config [baseline] (677.822 µs) : 0, 678
Remote Config [candidate] (679.732 µs) : 0, 680
Telemetry [baseline] (7.158 ms) : 0, 7158
Telemetry [candidate] (7.359 ms) : 0, 7359
section iast
BytebuddyAgent [baseline] (768.766 ms) : 0, 768766
BytebuddyAgent [candidate] (771.362 ms) : 0, 771362
GlobalTracer [baseline] (284.867 ms) : 0, 284867
GlobalTracer [candidate] (285.677 ms) : 0, 285677
AppSec [baseline] (53.531 ms) : 0, 53531
AppSec [candidate] (51.116 ms) : 0, 51116
IAST [baseline] (18.087 ms) : 0, 18087
IAST [candidate] (20.087 ms) : 0, 20087
Remote Config [baseline] (554.413 µs) : 0, 554
Remote Config [candidate] (569.324 µs) : 0, 569
Telemetry [baseline] (6.383 ms) : 0, 6383
Telemetry [candidate] (7.272 ms) : 0, 7272
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (768.003 ms) : 0, 768003
BytebuddyAgent [candidate] (763.405 ms) : 0, 763405
GlobalTracer [baseline] (287.297 ms) : 0, 287297
GlobalTracer [candidate] (285.742 ms) : 0, 285742
AppSec [baseline] (49.45 ms) : 0, 49450
AppSec [candidate] (49.263 ms) : 0, 49263
IAST [baseline] (22.014 ms) : 0, 22014
IAST [candidate] (22.478 ms) : 0, 22478
Remote Config [baseline] (648.986 µs) : 0, 649
Remote Config [candidate] (567.085 µs) : 0, 567
Telemetry [baseline] (6.495 ms) : 0, 6495
Telemetry [candidate] (6.44 ms) : 0, 6440
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.27.0-SNAPSHOT~f158574ca1, baseline=1.27.0-SNAPSHOT~7440eac70c
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.048 s) : 0, 1048061
Total [baseline] (9.328 s) : 0, 9327697
Agent [candidate] (1.053 s) : 0, 1053490
Total [candidate] (9.34 s) : 0, 9340197
section appsec
Agent [baseline] (1.144 s) : 0, 1143863
Total [baseline] (9.453 s) : 0, 9452513
Agent [candidate] (1.149 s) : 0, 1149302
Total [candidate] (9.418 s) : 0, 9417575
section iast
Agent [baseline] (1.168 s) : 0, 1168388
Total [baseline] (9.634 s) : 0, 9633921
Agent [candidate] (1.178 s) : 0, 1177889
Total [candidate] (9.672 s) : 0, 9671981
section profiling
Agent [baseline] (1.251 s) : 0, 1251087
Total [baseline] (9.586 s) : 0, 9586397
Agent [candidate] (1.245 s) : 0, 1244971
Total [candidate] (9.566 s) : 0, 9566330
gantt
title petclinic - break down per module: candidate=1.27.0-SNAPSHOT~f158574ca1, baseline=1.27.0-SNAPSHOT~7440eac70c
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (648.671 ms) : 0, 648671
BytebuddyAgent [candidate] (652.34 ms) : 0, 652340
GlobalTracer [baseline] (306.638 ms) : 0, 306638
GlobalTracer [candidate] (308.217 ms) : 0, 308217
AppSec [baseline] (50.836 ms) : 0, 50836
AppSec [candidate] (50.647 ms) : 0, 50647
Remote Config [baseline] (661.334 µs) : 0, 661
Remote Config [candidate] (673.768 µs) : 0, 674
Telemetry [baseline] (7.107 ms) : 0, 7107
Telemetry [candidate] (7.221 ms) : 0, 7221
section appsec
BytebuddyAgent [baseline] (648.542 ms) : 0, 648542
BytebuddyAgent [candidate] (650.911 ms) : 0, 650911
GlobalTracer [baseline] (305.738 ms) : 0, 305738
GlobalTracer [candidate] (307.977 ms) : 0, 307977
AppSec [baseline] (147.943 ms) : 0, 147943
AppSec [candidate] (148.549 ms) : 0, 148549
Remote Config [baseline] (643.833 µs) : 0, 644
Remote Config [candidate] (645.842 µs) : 0, 646
Telemetry [baseline] (6.884 ms) : 0, 6884
Telemetry [candidate] (6.908 ms) : 0, 6908
section iast
BytebuddyAgent [baseline] (769.281 ms) : 0, 769281
BytebuddyAgent [candidate] (776.262 ms) : 0, 776262
GlobalTracer [baseline] (285.136 ms) : 0, 285136
GlobalTracer [candidate] (287.029 ms) : 0, 287029
AppSec [baseline] (52.56 ms) : 0, 52560
AppSec [candidate] (52.862 ms) : 0, 52862
Remote Config [baseline] (579.919 µs) : 0, 580
Remote Config [candidate] (586.862 µs) : 0, 587
Telemetry [baseline] (8.068 ms) : 0, 8068
Telemetry [candidate] (6.484 ms) : 0, 6484
IAST [baseline] (18.435 ms) : 0, 18435
IAST [candidate] (20.094 ms) : 0, 20094
section profiling
ProfilingAgent [baseline] (95.466 ms) : 0, 95466
ProfilingAgent [candidate] (94.836 ms) : 0, 94836
BytebuddyAgent [baseline] (662.712 ms) : 0, 662712
BytebuddyAgent [candidate] (659.584 ms) : 0, 659584
GlobalTracer [baseline] (378.486 ms) : 0, 378486
GlobalTracer [candidate] (376.932 ms) : 0, 376932
AppSec [baseline] (51.53 ms) : 0, 51530
AppSec [candidate] (51.335 ms) : 0, 51335
Remote Config [baseline] (1.033 ms) : 0, 1033
Remote Config [candidate] (998.609 µs) : 0, 999
Telemetry [baseline] (7.317 ms) : 0, 7317
Telemetry [candidate] (7.167 ms) : 0, 7167
Profiling [baseline] (95.492 ms) : 0, 95492
Profiling [candidate] (94.861 ms) : 0, 94861
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 14 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.27.0-SNAPSHOT~f158574ca1, baseline=1.27.0-SNAPSHOT~7440eac70c
dateFormat X
axisFormat %s
section baseline
no_agent (367.843 µs) : 348, 387
. : milestone, 368,
iast (474.664 µs) : 454, 495
. : milestone, 475,
iast_FULL (541.2 µs) : 521, 562
. : milestone, 541,
iast_INACTIVE (446.786 µs) : 425, 468
. : milestone, 447,
iast_TELEMETRY_OFF (466.731 µs) : 446, 488
. : milestone, 467,
tracing (446.443 µs) : 425, 468
. : milestone, 446,
section candidate
no_agent (365.932 µs) : 346, 386
. : milestone, 366,
iast (477.729 µs) : 457, 499
. : milestone, 478,
iast_FULL (542.795 µs) : 522, 563
. : milestone, 543,
iast_INACTIVE (444.789 µs) : 424, 465
. : milestone, 445,
iast_TELEMETRY_OFF (470.92 µs) : 451, 491
. : milestone, 471,
tracing (445.055 µs) : 425, 466
. : milestone, 445,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.27.0-SNAPSHOT~f158574ca1, baseline=1.27.0-SNAPSHOT~7440eac70c
dateFormat X
axisFormat %s
section baseline
no_agent (1.349 ms) : 1330, 1367
. : milestone, 1349,
appsec (1.757 ms) : 1732, 1783
. : milestone, 1757,
iast (1.529 ms) : 1505, 1552
. : milestone, 1529,
profiling (1.534 ms) : 1509, 1560
. : milestone, 1534,
tracing (1.49 ms) : 1465, 1515
. : milestone, 1490,
section candidate
no_agent (1.347 ms) : 1328, 1366
. : milestone, 1347,
appsec (1.771 ms) : 1746, 1796
. : milestone, 1771,
iast (1.526 ms) : 1502, 1550
. : milestone, 1526,
profiling (1.519 ms) : 1493, 1546
. : milestone, 1519,
tracing (1.517 ms) : 1492, 1541
. : milestone, 1517,
|
jbachorik
marked this pull request as ready for review
January 2, 2024 12:10
bantonsson
approved these changes
Jan 2, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Adds a debug config option to allow manually disabling the JFR profiler
Motivation
Debugging weird issues with JFR repository we are seeing at some customers
Additional Notes
Jira ticket: PROF-8843