Make the warning in ScriptInitializer less scary#7514
Merged
Conversation
e4ac7a0 to
6de92f1
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 48 metrics, 15 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.39.0-SNAPSHOT~6de92f18ed, baseline=1.39.0-SNAPSHOT~bb9b598987
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.05 s) : 0, 1049532
Total [baseline] (10.431 s) : 0, 10431409
Agent [candidate] (1.053 s) : 0, 1052942
Total [candidate] (10.497 s) : 0, 10497494
section appsec
Agent [baseline] (1.176 s) : 0, 1175612
Total [baseline] (10.498 s) : 0, 10498069
Agent [candidate] (1.181 s) : 0, 1181089
Total [candidate] (10.494 s) : 0, 10493801
section iast
Agent [baseline] (1.177 s) : 0, 1177083
Total [baseline] (10.83 s) : 0, 10829828
Agent [candidate] (1.192 s) : 0, 1191709
Total [candidate] (10.906 s) : 0, 10905674
section profiling
Agent [baseline] (1.245 s) : 0, 1245479
Total [baseline] (10.607 s) : 0, 10606960
Agent [candidate] (1.257 s) : 0, 1256733
Total [candidate] (10.625 s) : 0, 10625144
gantt
title petclinic - break down per module: candidate=1.39.0-SNAPSHOT~6de92f18ed, baseline=1.39.0-SNAPSHOT~bb9b598987
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (669.59 ms) : 0, 669590
BytebuddyAgent [candidate] (670.372 ms) : 0, 670372
GlobalTracer [baseline] (306.981 ms) : 0, 306981
GlobalTracer [candidate] (308.761 ms) : 0, 308761
AppSec [baseline] (51.323 ms) : 0, 51323
AppSec [candidate] (51.998 ms) : 0, 51998
Remote Config [baseline] (671.205 µs) : 0, 671
Remote Config [candidate] (684.047 µs) : 0, 684
Telemetry [baseline] (7.451 ms) : 0, 7451
Telemetry [candidate] (7.573 ms) : 0, 7573
section appsec
BytebuddyAgent [baseline] (681.754 ms) : 0, 681754
BytebuddyAgent [candidate] (686.565 ms) : 0, 686565
GlobalTracer [baseline] (301.611 ms) : 0, 301611
GlobalTracer [candidate] (302.142 ms) : 0, 302142
AppSec [baseline] (160.624 ms) : 0, 160624
AppSec [candidate] (161.215 ms) : 0, 161215
Remote Config [baseline] (637.904 µs) : 0, 638
Remote Config [candidate] (643.984 µs) : 0, 644
Telemetry [baseline] (8.106 ms) : 0, 8106
Telemetry [candidate] (7.483 ms) : 0, 7483
IAST [baseline] (18.54 ms) : 0, 18540
IAST [candidate] (18.698 ms) : 0, 18698
section iast
BytebuddyAgent [baseline] (780.29 ms) : 0, 780290
BytebuddyAgent [candidate] (791.789 ms) : 0, 791789
GlobalTracer [baseline] (298.496 ms) : 0, 298496
GlobalTracer [candidate] (300.521 ms) : 0, 300521
AppSec [baseline] (51.721 ms) : 0, 51721
AppSec [candidate] (51.669 ms) : 0, 51669
Remote Config [baseline] (606.365 µs) : 0, 606
Remote Config [candidate] (607.505 µs) : 0, 608
Telemetry [baseline] (9.548 ms) : 0, 9548
Telemetry [candidate] (10.436 ms) : 0, 10436
IAST [baseline] (22.857 ms) : 0, 22857
IAST [candidate] (22.938 ms) : 0, 22938
section profiling
ProfilingAgent [baseline] (95.99 ms) : 0, 95990
ProfilingAgent [candidate] (97.268 ms) : 0, 97268
BytebuddyAgent [baseline] (663.288 ms) : 0, 663288
BytebuddyAgent [candidate] (669.121 ms) : 0, 669121
GlobalTracer [baseline] (388.88 ms) : 0, 388880
GlobalTracer [candidate] (391.774 ms) : 0, 391774
AppSec [baseline] (52.062 ms) : 0, 52062
AppSec [candidate] (52.802 ms) : 0, 52802
Remote Config [baseline] (684.187 µs) : 0, 684
Remote Config [candidate] (699.956 µs) : 0, 700
Telemetry [baseline] (7.307 ms) : 0, 7307
Telemetry [candidate] (7.464 ms) : 0, 7464
Profiling [baseline] (96.013 ms) : 0, 96013
Profiling [candidate] (97.293 ms) : 0, 97293
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.39.0-SNAPSHOT~6de92f18ed, baseline=1.39.0-SNAPSHOT~bb9b598987
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.048 s) : 0, 1047676
Total [baseline] (8.507 s) : 0, 8506948
Agent [candidate] (1.049 s) : 0, 1048536
Total [candidate] (8.501 s) : 0, 8500557
section iast
Agent [baseline] (1.181 s) : 0, 1181271
Total [baseline] (9.001 s) : 0, 9000622
Agent [candidate] (1.172 s) : 0, 1172314
Total [candidate] (8.96 s) : 0, 8959775
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.171 s) : 0, 1170755
Total [baseline] (8.97 s) : 0, 8970046
Agent [candidate] (1.182 s) : 0, 1181973
Total [candidate] (8.97 s) : 0, 8969692
section iast_TELEMETRY_OFF
Agent [baseline] (1.18 s) : 0, 1179648
Total [baseline] (8.98 s) : 0, 8979715
Agent [candidate] (1.169 s) : 0, 1169078
Total [candidate] (8.971 s) : 0, 8971142
gantt
title insecure-bank - break down per module: candidate=1.39.0-SNAPSHOT~6de92f18ed, baseline=1.39.0-SNAPSHOT~bb9b598987
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (667.827 ms) : 0, 667827
BytebuddyAgent [candidate] (668.875 ms) : 0, 668875
GlobalTracer [baseline] (306.726 ms) : 0, 306726
GlobalTracer [candidate] (306.655 ms) : 0, 306655
AppSec [baseline] (51.466 ms) : 0, 51466
AppSec [candidate] (51.355 ms) : 0, 51355
Remote Config [baseline] (675.132 µs) : 0, 675
Remote Config [candidate] (664.311 µs) : 0, 664
Telemetry [baseline] (7.48 ms) : 0, 7480
Telemetry [candidate] (7.46 ms) : 0, 7460
section iast
BytebuddyAgent [baseline] (784.515 ms) : 0, 784515
BytebuddyAgent [candidate] (778.869 ms) : 0, 778869
GlobalTracer [baseline] (298.382 ms) : 0, 298382
GlobalTracer [candidate] (296.369 ms) : 0, 296369
AppSec [baseline] (51.499 ms) : 0, 51499
AppSec [candidate] (48.492 ms) : 0, 48492
Remote Config [baseline] (603.408 µs) : 0, 603
Remote Config [candidate] (615.053 µs) : 0, 615
Telemetry [baseline] (7.327 ms) : 0, 7327
Telemetry [candidate] (7.993 ms) : 0, 7993
IAST [baseline] (25.281 ms) : 0, 25281
IAST [candidate] (26.404 ms) : 0, 26404
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (776.806 ms) : 0, 776806
BytebuddyAgent [candidate] (784.975 ms) : 0, 784975
GlobalTracer [baseline] (295.914 ms) : 0, 295914
GlobalTracer [candidate] (298.988 ms) : 0, 298988
AppSec [baseline] (49.056 ms) : 0, 49056
AppSec [candidate] (49.319 ms) : 0, 49319
Remote Config [baseline] (615.196 µs) : 0, 615
Remote Config [candidate] (591.634 µs) : 0, 592
Telemetry [baseline] (10.437 ms) : 0, 10437
Telemetry [candidate] (9.517 ms) : 0, 9517
IAST [baseline] (24.404 ms) : 0, 24404
IAST [candidate] (24.911 ms) : 0, 24911
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (782.091 ms) : 0, 782091
BytebuddyAgent [candidate] (774.779 ms) : 0, 774779
GlobalTracer [baseline] (298.914 ms) : 0, 298914
GlobalTracer [candidate] (296.236 ms) : 0, 296236
AppSec [baseline] (51.46 ms) : 0, 51460
AppSec [candidate] (51.363 ms) : 0, 51363
Remote Config [baseline] (597.112 µs) : 0, 597
Remote Config [candidate] (589.217 µs) : 0, 589
Telemetry [baseline] (7.895 ms) : 0, 7895
Telemetry [candidate] (9.425 ms) : 0, 9425
IAST [baseline] (25.045 ms) : 0, 25045
IAST [candidate] (23.135 ms) : 0, 23135
LoadParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 19 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.39.0-SNAPSHOT~6de92f18ed, baseline=1.39.0-SNAPSHOT~bb9b598987
dateFormat X
axisFormat %s
section baseline
no_agent (1.315 ms) : 1296, 1334
. : milestone, 1315,
appsec (1.719 ms) : 1696, 1743
. : milestone, 1719,
appsec_no_iast (1.708 ms) : 1683, 1732
. : milestone, 1708,
iast (1.469 ms) : 1446, 1492
. : milestone, 1469,
profiling (1.535 ms) : 1510, 1559
. : milestone, 1535,
tracing (1.473 ms) : 1449, 1497
. : milestone, 1473,
section candidate
no_agent (1.335 ms) : 1314, 1355
. : milestone, 1335,
appsec (1.722 ms) : 1699, 1746
. : milestone, 1722,
appsec_no_iast (1.717 ms) : 1694, 1741
. : milestone, 1717,
iast (1.474 ms) : 1452, 1497
. : milestone, 1474,
profiling (1.463 ms) : 1440, 1486
. : milestone, 1463,
tracing (1.467 ms) : 1443, 1491
. : milestone, 1467,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.39.0-SNAPSHOT~6de92f18ed, baseline=1.39.0-SNAPSHOT~bb9b598987
dateFormat X
axisFormat %s
section baseline
no_agent (371.35 µs) : 351, 392
. : milestone, 371,
iast (480.546 µs) : 458, 503
. : milestone, 481,
iast_FULL (545.82 µs) : 525, 567
. : milestone, 546,
iast_GLOBAL (501.873 µs) : 480, 524
. : milestone, 502,
iast_HARDCODED_SECRET_DISABLED (476.796 µs) : 455, 499
. : milestone, 477,
iast_INACTIVE (444.293 µs) : 423, 466
. : milestone, 444,
iast_TELEMETRY_OFF (467.155 µs) : 445, 490
. : milestone, 467,
tracing (435.535 µs) : 415, 456
. : milestone, 436,
section candidate
no_agent (364.153 µs) : 345, 383
. : milestone, 364,
iast (476.609 µs) : 454, 499
. : milestone, 477,
iast_FULL (542.782 µs) : 522, 564
. : milestone, 543,
iast_GLOBAL (500.903 µs) : 479, 523
. : milestone, 501,
iast_HARDCODED_SECRET_DISABLED (473.631 µs) : 451, 496
. : milestone, 474,
iast_INACTIVE (436.802 µs) : 416, 458
. : milestone, 437,
iast_TELEMETRY_OFF (466.476 µs) : 444, 489
. : milestone, 466,
tracing (436.787 µs) : 415, 458
. : milestone, 437,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.39.0-SNAPSHOT~6de92f18ed, baseline=1.39.0-SNAPSHOT~bb9b598987
dateFormat X
axisFormat %s
section baseline
no_agent (15.072 s) : 15072000, 15072000
. : milestone, 15072000,
appsec (15.015 s) : 15015000, 15015000
. : milestone, 15015000,
iast (18.904 s) : 18904000, 18904000
. : milestone, 18904000,
iast_GLOBAL (17.822 s) : 17822000, 17822000
. : milestone, 17822000,
profiling (15.275 s) : 15275000, 15275000
. : milestone, 15275000,
tracing (15.232 s) : 15232000, 15232000
. : milestone, 15232000,
section candidate
no_agent (15.355 s) : 15355000, 15355000
. : milestone, 15355000,
appsec (15.265 s) : 15265000, 15265000
. : milestone, 15265000,
iast (18.888 s) : 18888000, 18888000
. : milestone, 18888000,
iast_GLOBAL (17.937 s) : 17937000, 17937000
. : milestone, 17937000,
profiling (15.075 s) : 15075000, 15075000
. : milestone, 15075000,
tracing (15.261 s) : 15261000, 15261000
. : milestone, 15261000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.39.0-SNAPSHOT~6de92f18ed, baseline=1.39.0-SNAPSHOT~bb9b598987
dateFormat X
axisFormat %s
section baseline
no_agent (1.459 ms) : 1447, 1470
. : milestone, 1459,
appsec (2.244 ms) : 2208, 2280
. : milestone, 2244,
iast (1.968 ms) : 1926, 2010
. : milestone, 1968,
iast_GLOBAL (2.027 ms) : 1983, 2071
. : milestone, 2027,
profiling (1.87 ms) : 1835, 1904
. : milestone, 1870,
tracing (1.844 ms) : 1811, 1878
. : milestone, 1844,
section candidate
no_agent (1.454 ms) : 1443, 1466
. : milestone, 1454,
appsec (2.219 ms) : 2185, 2254
. : milestone, 2219,
iast (1.966 ms) : 1923, 2009
. : milestone, 1966,
iast_GLOBAL (2.028 ms) : 1984, 2072
. : milestone, 2028,
profiling (1.874 ms) : 1838, 1910
. : milestone, 1874,
tracing (1.842 ms) : 1808, 1875
. : milestone, 1842,
|
PerfectSlayer
approved these changes
Aug 27, 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
Stop printing the caught exception stacktrace unless logging at debug level.
Motivation
Customers are scared and mislead by the exception stack tracer, mistaking it for application going down because of the exception.
Additional Notes
Most of the work was already done in #7427 - this PR is just changing not to log full stacktrace for completely unexpected exceptions.
Contributor Checklist
type:and (comp:orinst:) labels in addition to any usefull labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: PROF-10405