Refactor propagation module to introduce better naming for methods#6945
Merged
manuel-alvarez-alvarez merged 1 commit intomasterfrom Apr 30, 2024
Merged
Conversation
04f9ff5 to
47747c1
Compare
Kafka / producer-benchmarkParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics. See unchanged results
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 52 metrics, 11 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.34.0-SNAPSHOT~7ee59e445f, baseline=1.34.0-SNAPSHOT~3293d86cd4
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.084 s) : 0, 1083575
Total [baseline] (8.561 s) : 0, 8561266
Agent [candidate] (1.076 s) : 0, 1076203
Total [candidate] (8.535 s) : 0, 8535149
section iast
Agent [baseline] (1.201 s) : 0, 1201012
Total [baseline] (9.02 s) : 0, 9020440
Agent [candidate] (1.2 s) : 0, 1200094
Total [candidate] (8.979 s) : 0, 8979030
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.199 s) : 0, 1198711
Total [baseline] (8.938 s) : 0, 8937942
Agent [candidate] (1.207 s) : 0, 1206910
Total [candidate] (9.001 s) : 0, 9001231
section iast_TELEMETRY_OFF
Agent [baseline] (1.197 s) : 0, 1197369
Total [baseline] (9.004 s) : 0, 9003940
Agent [candidate] (1.198 s) : 0, 1198360
Total [candidate] (8.982 s) : 0, 8982460
gantt
title insecure-bank - break down per module: candidate=1.34.0-SNAPSHOT~7ee59e445f, baseline=1.34.0-SNAPSHOT~3293d86cd4
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (678.883 ms) : 0, 678883
BytebuddyAgent [candidate] (674.03 ms) : 0, 674030
GlobalTracer [baseline] (311.729 ms) : 0, 311729
GlobalTracer [candidate] (310.091 ms) : 0, 310091
AppSec [baseline] (49.881 ms) : 0, 49881
AppSec [candidate] (49.482 ms) : 0, 49482
Remote Config [baseline] (668.94 µs) : 0, 669
Remote Config [candidate] (656.99 µs) : 0, 657
Telemetry [baseline] (7.734 ms) : 0, 7734
Telemetry [candidate] (7.524 ms) : 0, 7524
section iast
BytebuddyAgent [baseline] (795.753 ms) : 0, 795753
BytebuddyAgent [candidate] (795.122 ms) : 0, 795122
GlobalTracer [baseline] (288.5 ms) : 0, 288500
GlobalTracer [candidate] (288.469 ms) : 0, 288469
AppSec [baseline] (51.089 ms) : 0, 51089
AppSec [candidate] (51.723 ms) : 0, 51723
Remote Config [baseline] (587.064 µs) : 0, 587
Remote Config [candidate] (555.597 µs) : 0, 556
Telemetry [baseline] (6.62 ms) : 0, 6620
Telemetry [candidate] (6.559 ms) : 0, 6559
IAST [baseline] (24.098 ms) : 0, 24098
IAST [candidate] (23.163 ms) : 0, 23163
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (794.888 ms) : 0, 794888
BytebuddyAgent [candidate] (800.3 ms) : 0, 800300
GlobalTracer [baseline] (287.4 ms) : 0, 287400
GlobalTracer [candidate] (289.965 ms) : 0, 289965
AppSec [baseline] (49.882 ms) : 0, 49882
AppSec [candidate] (52.363 ms) : 0, 52363
Remote Config [baseline] (634.033 µs) : 0, 634
Remote Config [candidate] (645.616 µs) : 0, 646
Telemetry [baseline] (6.576 ms) : 0, 6576
Telemetry [candidate] (6.74 ms) : 0, 6740
IAST [baseline] (24.924 ms) : 0, 24924
IAST [candidate] (22.258 ms) : 0, 22258
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (793.861 ms) : 0, 793861
BytebuddyAgent [candidate] (794.579 ms) : 0, 794579
GlobalTracer [baseline] (288.165 ms) : 0, 288165
GlobalTracer [candidate] (288.104 ms) : 0, 288104
AppSec [baseline] (49.725 ms) : 0, 49725
AppSec [candidate] (53.042 ms) : 0, 53042
Remote Config [baseline] (585.393 µs) : 0, 585
Remote Config [candidate] (569.889 µs) : 0, 570
Telemetry [baseline] (7.382 ms) : 0, 7382
Telemetry [candidate] (7.337 ms) : 0, 7337
IAST [baseline] (23.138 ms) : 0, 23138
IAST [candidate] (20.32 ms) : 0, 20320
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.34.0-SNAPSHOT~7ee59e445f, baseline=1.34.0-SNAPSHOT~3293d86cd4
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.075 s) : 0, 1075499
Total [baseline] (10.394 s) : 0, 10393543
Agent [candidate] (1.076 s) : 0, 1076096
Total [candidate] (10.385 s) : 0, 10385059
section appsec
Agent [baseline] (1.191 s) : 0, 1190658
Total [baseline] (10.446 s) : 0, 10445945
Agent [candidate] (1.189 s) : 0, 1189046
Total [candidate] (10.44 s) : 0, 10440401
section iast
Agent [baseline] (1.2 s) : 0, 1200491
Total [baseline] (10.724 s) : 0, 10723735
Agent [candidate] (1.202 s) : 0, 1202396
Total [candidate] (10.76 s) : 0, 10760063
section profiling
Agent [baseline] (1.27 s) : 0, 1270214
Total [baseline] (10.64 s) : 0, 10640040
Agent [candidate] (1.276 s) : 0, 1275894
Total [candidate] (10.663 s) : 0, 10662767
gantt
title petclinic - break down per module: candidate=1.34.0-SNAPSHOT~7ee59e445f, baseline=1.34.0-SNAPSHOT~3293d86cd4
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (673.818 ms) : 0, 673818
BytebuddyAgent [candidate] (674.259 ms) : 0, 674259
GlobalTracer [baseline] (309.648 ms) : 0, 309648
GlobalTracer [candidate] (309.849 ms) : 0, 309849
AppSec [baseline] (49.518 ms) : 0, 49518
AppSec [candidate] (49.296 ms) : 0, 49296
Remote Config [baseline] (653.479 µs) : 0, 653
Remote Config [candidate] (654.439 µs) : 0, 654
Telemetry [baseline] (7.578 ms) : 0, 7578
Telemetry [candidate] (7.631 ms) : 0, 7631
section appsec
BytebuddyAgent [baseline] (696.196 ms) : 0, 696196
BytebuddyAgent [candidate] (695.932 ms) : 0, 695932
GlobalTracer [baseline] (291.738 ms) : 0, 291738
GlobalTracer [candidate] (291.536 ms) : 0, 291536
AppSec [baseline] (149.643 ms) : 0, 149643
AppSec [candidate] (148.863 ms) : 0, 148863
Remote Config [baseline] (617.268 µs) : 0, 617
Remote Config [candidate] (615.482 µs) : 0, 615
Telemetry [baseline] (8.405 ms) : 0, 8405
Telemetry [candidate] (8.136 ms) : 0, 8136
IAST [baseline] (19.253 ms) : 0, 19253
IAST [candidate] (19.174 ms) : 0, 19174
section iast
BytebuddyAgent [baseline] (795.027 ms) : 0, 795027
BytebuddyAgent [candidate] (795.251 ms) : 0, 795251
GlobalTracer [baseline] (288.276 ms) : 0, 288276
GlobalTracer [candidate] (288.875 ms) : 0, 288875
AppSec [baseline] (52.365 ms) : 0, 52365
AppSec [candidate] (49.648 ms) : 0, 49648
Remote Config [baseline] (565.255 µs) : 0, 565
Remote Config [candidate] (574.116 µs) : 0, 574
Telemetry [baseline] (6.601 ms) : 0, 6601
Telemetry [candidate] (6.645 ms) : 0, 6645
IAST [baseline] (23.301 ms) : 0, 23301
IAST [candidate] (26.945 ms) : 0, 26945
section profiling
ProfilingAgent [baseline] (95.707 ms) : 0, 95707
ProfilingAgent [candidate] (96.801 ms) : 0, 96801
BytebuddyAgent [baseline] (679.344 ms) : 0, 679344
BytebuddyAgent [candidate] (682.238 ms) : 0, 682238
GlobalTracer [baseline] (380.564 ms) : 0, 380564
GlobalTracer [candidate] (381.82 ms) : 0, 381820
AppSec [baseline] (49.952 ms) : 0, 49952
AppSec [candidate] (50.127 ms) : 0, 50127
Remote Config [baseline] (709.704 µs) : 0, 710
Remote Config [candidate] (711.22 µs) : 0, 711
Telemetry [baseline] (7.468 ms) : 0, 7468
Telemetry [candidate] (7.521 ms) : 0, 7521
Profiling [baseline] (95.731 ms) : 0, 95731
Profiling [candidate] (96.825 ms) : 0, 96825
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 16 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.34.0-SNAPSHOT~7ee59e445f, baseline=1.34.0-SNAPSHOT~3293d86cd4
dateFormat X
axisFormat %s
section baseline
no_agent (369.894 µs) : 350, 389
. : milestone, 370,
iast (480.426 µs) : 460, 501
. : milestone, 480,
iast_FULL (539.917 µs) : 518, 562
. : milestone, 540,
iast_GLOBAL (499.882 µs) : 478, 521
. : milestone, 500,
iast_HARDCODED_SECRET_DISABLED (473.975 µs) : 452, 496
. : milestone, 474,
iast_INACTIVE (446.1 µs) : 426, 466
. : milestone, 446,
iast_TELEMETRY_OFF (476.424 µs) : 454, 499
. : milestone, 476,
tracing (450.964 µs) : 430, 472
. : milestone, 451,
section candidate
no_agent (372.109 µs) : 353, 392
. : milestone, 372,
iast (473.576 µs) : 453, 494
. : milestone, 474,
iast_FULL (545.823 µs) : 525, 567
. : milestone, 546,
iast_GLOBAL (501.661 µs) : 481, 522
. : milestone, 502,
iast_HARDCODED_SECRET_DISABLED (479.196 µs) : 458, 501
. : milestone, 479,
iast_INACTIVE (446.24 µs) : 426, 467
. : milestone, 446,
iast_TELEMETRY_OFF (469.767 µs) : 448, 491
. : milestone, 470,
tracing (448.103 µs) : 427, 469
. : milestone, 448,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.34.0-SNAPSHOT~7ee59e445f, baseline=1.34.0-SNAPSHOT~3293d86cd4
dateFormat X
axisFormat %s
section baseline
no_agent (1.341 ms) : 1322, 1360
. : milestone, 1341,
appsec (1.704 ms) : 1679, 1729
. : milestone, 1704,
appsec_no_iast (1.73 ms) : 1706, 1754
. : milestone, 1730,
iast (1.481 ms) : 1458, 1504
. : milestone, 1481,
profiling (1.546 ms) : 1520, 1573
. : milestone, 1546,
tracing (1.503 ms) : 1480, 1527
. : milestone, 1503,
section candidate
no_agent (1.33 ms) : 1311, 1350
. : milestone, 1330,
appsec (1.712 ms) : 1687, 1737
. : milestone, 1712,
appsec_no_iast (1.737 ms) : 1713, 1762
. : milestone, 1737,
iast (1.476 ms) : 1453, 1499
. : milestone, 1476,
profiling (1.492 ms) : 1468, 1516
. : milestone, 1492,
tracing (1.499 ms) : 1475, 1523
. : milestone, 1499,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.34.0-SNAPSHOT~7ee59e445f, baseline=1.34.0-SNAPSHOT~3293d86cd4
dateFormat X
axisFormat %s
section baseline
no_agent (1.462 ms) : 1451, 1474
. : milestone, 1462,
appsec (2.205 ms) : 2172, 2239
. : milestone, 2205,
iast (1.894 ms) : 1858, 1929
. : milestone, 1894,
iast_GLOBAL (1.935 ms) : 1899, 1970
. : milestone, 1935,
profiling (1.855 ms) : 1821, 1888
. : milestone, 1855,
tracing (1.833 ms) : 1801, 1865
. : milestone, 1833,
section candidate
no_agent (1.467 ms) : 1456, 1478
. : milestone, 1467,
appsec (2.22 ms) : 2186, 2255
. : milestone, 2220,
iast (1.89 ms) : 1855, 1925
. : milestone, 1890,
iast_GLOBAL (1.929 ms) : 1894, 1964
. : milestone, 1929,
profiling (1.851 ms) : 1819, 1884
. : milestone, 1851,
tracing (1.835 ms) : 1803, 1867
. : milestone, 1835,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.34.0-SNAPSHOT~7ee59e445f, baseline=1.34.0-SNAPSHOT~3293d86cd4
dateFormat X
axisFormat %s
section baseline
no_agent (14.866 s) : 14866000, 14866000
. : milestone, 14866000,
appsec (14.905 s) : 14905000, 14905000
. : milestone, 14905000,
iast (18.772 s) : 18772000, 18772000
. : milestone, 18772000,
iast_GLOBAL (17.642 s) : 17642000, 17642000
. : milestone, 17642000,
profiling (15.293 s) : 15293000, 15293000
. : milestone, 15293000,
tracing (14.827 s) : 14827000, 14827000
. : milestone, 14827000,
section candidate
no_agent (15.351 s) : 15351000, 15351000
. : milestone, 15351000,
appsec (15.068 s) : 15068000, 15068000
. : milestone, 15068000,
iast (18.718 s) : 18718000, 18718000
. : milestone, 18718000,
iast_GLOBAL (17.952 s) : 17952000, 17952000
. : milestone, 17952000,
profiling (15.243 s) : 15243000, 15243000
. : milestone, 15243000,
tracing (14.761 s) : 14761000, 14761000
. : milestone, 14761000,
|
Kafka / consumer-benchmarkParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics. See unchanged results
|
08ed35f to
7a7725f
Compare
7a7725f to
5276f58
Compare
jandro996
approved these changes
Apr 29, 2024
ValentinZakharov
approved these changes
Apr 29, 2024
cfbb6c3 to
d30675f
Compare
d30675f to
7ee59e4
Compare
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
Renames the methods in the
PropagationModuleso they adhere to the following patterns:taintObject/taintString: taints an object/string specifying its source propertiestaintObjectRange/taintStringRange: taints a range of an object/string or appends a new range if already taintedtaintObjectIfTainted/taintStringIfTainted: taints an object/string if the input argument is taintedtaintObjectIfAnyTainted/taintStringIfAnyTainted: taints an object/string if the any of the input arguments is taintedtaintObjectIfRangeTainted/taintStringIfRangeTainted: taints an object/string if the input argument has a tainted range that intersectstaintObjectDeeply: visits an object and taints its propertiesThere are no other changes in this PR but the rename of the previous methods.