-
Notifications
You must be signed in to change notification settings - Fork 279
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
Refine static analysis rules #7316
Merged
Merged
Conversation
This file contains 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
smola
added
tag: no release notes
Changes to exclude from release notes
comp: tooling
Build & Tooling
labels
Jul 12, 2024
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 53 metrics, 10 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.38.0-SNAPSHOT~bb0f2cc81c, baseline=1.38.0-SNAPSHOT~9184826036
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.067 s) : 0, 1066625
Total [baseline] (10.342 s) : 0, 10342247
Agent [candidate] (1.065 s) : 0, 1065252
Total [candidate] (10.318 s) : 0, 10317551
section appsec
Agent [baseline] (1.186 s) : 0, 1186453
Total [baseline] (10.598 s) : 0, 10598092
Agent [candidate] (1.185 s) : 0, 1184794
Total [candidate] (10.509 s) : 0, 10509315
section iast
Agent [baseline] (1.172 s) : 0, 1172471
Total [baseline] (10.84 s) : 0, 10839524
Agent [candidate] (1.18 s) : 0, 1179846
Total [candidate] (10.713 s) : 0, 10713126
section profiling
Agent [baseline] (1.267 s) : 0, 1266930
Total [baseline] (10.611 s) : 0, 10610901
Agent [candidate] (1.268 s) : 0, 1267503
Total [candidate] (10.635 s) : 0, 10635311
gantt
title petclinic - break down per module: candidate=1.38.0-SNAPSHOT~bb0f2cc81c, baseline=1.38.0-SNAPSHOT~9184826036
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (667.706 ms) : 0, 667706
BytebuddyAgent [candidate] (666.703 ms) : 0, 666703
GlobalTracer [baseline] (305.963 ms) : 0, 305963
GlobalTracer [candidate] (305.488 ms) : 0, 305488
AppSec [baseline] (49.976 ms) : 0, 49976
AppSec [candidate] (49.984 ms) : 0, 49984
Remote Config [baseline] (675.612 µs) : 0, 676
Remote Config [candidate] (670.746 µs) : 0, 671
Telemetry [baseline] (7.643 ms) : 0, 7643
Telemetry [candidate] (7.611 ms) : 0, 7611
section appsec
BytebuddyAgent [baseline] (679.563 ms) : 0, 679563
BytebuddyAgent [candidate] (677.562 ms) : 0, 677562
GlobalTracer [baseline] (299.399 ms) : 0, 299399
GlobalTracer [candidate] (299.856 ms) : 0, 299856
AppSec [baseline] (153.856 ms) : 0, 153856
AppSec [candidate] (153.817 ms) : 0, 153817
Remote Config [baseline] (621.059 µs) : 0, 621
Remote Config [candidate] (622.826 µs) : 0, 623
Telemetry [baseline] (8.338 ms) : 0, 8338
Telemetry [candidate] (8.349 ms) : 0, 8349
IAST [baseline] (19.627 ms) : 0, 19627
IAST [candidate] (19.676 ms) : 0, 19676
section iast
BytebuddyAgent [baseline] (781.432 ms) : 0, 781432
BytebuddyAgent [candidate] (785.533 ms) : 0, 785533
GlobalTracer [baseline] (296.242 ms) : 0, 296242
GlobalTracer [candidate] (297.375 ms) : 0, 297375
AppSec [baseline] (48.942 ms) : 0, 48942
AppSec [candidate] (48.255 ms) : 0, 48255
Remote Config [baseline] (568.699 µs) : 0, 569
Remote Config [candidate] (586.784 µs) : 0, 587
Telemetry [baseline] (6.945 ms) : 0, 6945
Telemetry [candidate] (7.005 ms) : 0, 7005
IAST [baseline] (24.767 ms) : 0, 24767
IAST [candidate] (27.461 ms) : 0, 27461
section profiling
BytebuddyAgent [baseline] (663.841 ms) : 0, 663841
BytebuddyAgent [candidate] (664.417 ms) : 0, 664417
GlobalTracer [baseline] (388.814 ms) : 0, 388814
GlobalTracer [candidate] (389.393 ms) : 0, 389393
AppSec [baseline] (52.07 ms) : 0, 52070
AppSec [candidate] (51.985 ms) : 0, 51985
Remote Config [baseline] (652.972 µs) : 0, 653
Remote Config [candidate] (653.373 µs) : 0, 653
Telemetry [baseline] (7.324 ms) : 0, 7324
Telemetry [candidate] (7.305 ms) : 0, 7305
ProfilingAgent [baseline] (97.004 ms) : 0, 97004
ProfilingAgent [candidate] (96.295 ms) : 0, 96295
Profiling [baseline] (97.03 ms) : 0, 97030
Profiling [candidate] (96.32 ms) : 0, 96320
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.38.0-SNAPSHOT~bb0f2cc81c, baseline=1.38.0-SNAPSHOT~9184826036
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.065 s) : 0, 1065416
Total [baseline] (8.513 s) : 0, 8513026
Agent [candidate] (1.079 s) : 0, 1079016
Total [candidate] (8.578 s) : 0, 8578399
section iast
Agent [baseline] (1.187 s) : 0, 1186522
Total [baseline] (9.008 s) : 0, 9007699
Agent [candidate] (1.183 s) : 0, 1182759
Total [candidate] (8.978 s) : 0, 8977687
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.18 s) : 0, 1179885
Total [baseline] (8.924 s) : 0, 8924421
Agent [candidate] (1.172 s) : 0, 1172042
Total [candidate] (8.934 s) : 0, 8934155
section iast_TELEMETRY_OFF
Agent [baseline] (1.181 s) : 0, 1180725
Total [baseline] (8.985 s) : 0, 8985264
Agent [candidate] (1.169 s) : 0, 1168679
Total [candidate] (8.964 s) : 0, 8964050
gantt
title insecure-bank - break down per module: candidate=1.38.0-SNAPSHOT~bb0f2cc81c, baseline=1.38.0-SNAPSHOT~9184826036
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (667.021 ms) : 0, 667021
BytebuddyAgent [candidate] (675.826 ms) : 0, 675826
GlobalTracer [baseline] (305.5 ms) : 0, 305500
GlobalTracer [candidate] (309.175 ms) : 0, 309175
AppSec [baseline] (50.04 ms) : 0, 50040
AppSec [candidate] (50.479 ms) : 0, 50479
Remote Config [baseline] (685.339 µs) : 0, 685
Remote Config [candidate] (687.863 µs) : 0, 688
Telemetry [baseline] (7.629 ms) : 0, 7629
Telemetry [candidate] (7.813 ms) : 0, 7813
section iast
BytebuddyAgent [baseline] (792.813 ms) : 0, 792813
BytebuddyAgent [candidate] (789.568 ms) : 0, 789568
GlobalTracer [baseline] (297.584 ms) : 0, 297584
GlobalTracer [candidate] (297.767 ms) : 0, 297767
AppSec [baseline] (50.182 ms) : 0, 50182
AppSec [candidate] (49.426 ms) : 0, 49426
Remote Config [baseline] (583.958 µs) : 0, 584
Remote Config [candidate] (583.695 µs) : 0, 584
Telemetry [baseline] (6.968 ms) : 0, 6968
Telemetry [candidate] (7.003 ms) : 0, 7003
IAST [baseline] (24.716 ms) : 0, 24716
IAST [candidate] (24.772 ms) : 0, 24772
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (784.873 ms) : 0, 784873
BytebuddyAgent [candidate] (780.987 ms) : 0, 780987
GlobalTracer [baseline] (297.206 ms) : 0, 297206
GlobalTracer [candidate] (295.647 ms) : 0, 295647
AppSec [baseline] (48.559 ms) : 0, 48559
AppSec [candidate] (49.71 ms) : 0, 49710
Remote Config [baseline] (579.006 µs) : 0, 579
Remote Config [candidate] (565.744 µs) : 0, 566
Telemetry [baseline] (7.016 ms) : 0, 7016
Telemetry [candidate] (6.977 ms) : 0, 6977
IAST [baseline] (28.071 ms) : 0, 28071
IAST [candidate] (24.59 ms) : 0, 24590
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (785.934 ms) : 0, 785934
BytebuddyAgent [candidate] (778.076 ms) : 0, 778076
GlobalTracer [baseline] (298.359 ms) : 0, 298359
GlobalTracer [candidate] (294.998 ms) : 0, 294998
AppSec [baseline] (47.77 ms) : 0, 47770
AppSec [candidate] (47.195 ms) : 0, 47195
Remote Config [baseline] (576.078 µs) : 0, 576
Remote Config [candidate] (576.941 µs) : 0, 577
Telemetry [baseline] (7.613 ms) : 0, 7613
Telemetry [candidate] (7.648 ms) : 0, 7648
IAST [baseline] (26.797 ms) : 0, 26797
IAST [candidate] (26.619 ms) : 0, 26619
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 17 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.38.0-SNAPSHOT~bb0f2cc81c, baseline=1.38.0-SNAPSHOT~9184826036
dateFormat X
axisFormat %s
section baseline
no_agent (372.98 µs) : 353, 393
. : milestone, 373,
iast (486.674 µs) : 465, 508
. : milestone, 487,
iast_FULL (548.295 µs) : 527, 570
. : milestone, 548,
iast_GLOBAL (505.455 µs) : 484, 527
. : milestone, 505,
iast_HARDCODED_SECRET_DISABLED (486.036 µs) : 464, 508
. : milestone, 486,
iast_INACTIVE (448.09 µs) : 427, 469
. : milestone, 448,
iast_TELEMETRY_OFF (469.345 µs) : 448, 490
. : milestone, 469,
tracing (444.753 µs) : 423, 466
. : milestone, 445,
section candidate
no_agent (367.71 µs) : 348, 387
. : milestone, 368,
iast (476.159 µs) : 455, 497
. : milestone, 476,
iast_FULL (547.649 µs) : 527, 569
. : milestone, 548,
iast_GLOBAL (517.052 µs) : 495, 540
. : milestone, 517,
iast_HARDCODED_SECRET_DISABLED (479.661 µs) : 459, 501
. : milestone, 480,
iast_INACTIVE (455.801 µs) : 434, 477
. : milestone, 456,
iast_TELEMETRY_OFF (474.365 µs) : 453, 495
. : milestone, 474,
tracing (444.825 µs) : 424, 465
. : milestone, 445,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.38.0-SNAPSHOT~bb0f2cc81c, baseline=1.38.0-SNAPSHOT~9184826036
dateFormat X
axisFormat %s
section baseline
no_agent (1.356 ms) : 1336, 1376
. : milestone, 1356,
appsec (1.711 ms) : 1687, 1735
. : milestone, 1711,
appsec_no_iast (1.71 ms) : 1685, 1736
. : milestone, 1710,
iast (1.465 ms) : 1443, 1488
. : milestone, 1465,
profiling (1.528 ms) : 1503, 1554
. : milestone, 1528,
tracing (1.456 ms) : 1432, 1481
. : milestone, 1456,
section candidate
no_agent (1.348 ms) : 1328, 1368
. : milestone, 1348,
appsec (1.731 ms) : 1707, 1754
. : milestone, 1731,
appsec_no_iast (1.712 ms) : 1687, 1737
. : milestone, 1712,
iast (1.486 ms) : 1463, 1508
. : milestone, 1486,
profiling (1.492 ms) : 1468, 1517
. : milestone, 1492,
tracing (1.477 ms) : 1453, 1501
. : milestone, 1477,
Dacapo |
PerfectSlayer
approved these changes
Jul 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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
Refine static analysis rules configuration, with a few things that seem to be irrelevant or noisy in our project.
I'm not excluding some noisy rules in cases where I reported false positives to be fixed in the rules themselves.