Add After callsites support for void methods#8116
Merged
manuel-alvarez-alvarez merged 1 commit intomasterfrom Dec 20, 2024
Merged
Add After callsites support for void methods#8116manuel-alvarez-alvarez merged 1 commit intomasterfrom
manuel-alvarez-alvarez merged 1 commit intomasterfrom
Conversation
Contributor
|
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
Mariovido
approved these changes
Dec 19, 2024
BenchmarksStartupLoadParameters
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.45.0-SNAPSHOT~981eee20be, baseline=1.45.0-SNAPSHOT~8d5f5acd23
dateFormat X
axisFormat %s
section baseline
no_agent (373.697 µs) : 354, 393
. : milestone, 374,
iast (484.817 µs) : 463, 506
. : milestone, 485,
iast_FULL (647.166 µs) : 626, 669
. : milestone, 647,
iast_GLOBAL (519.855 µs) : 498, 542
. : milestone, 520,
iast_HARDCODED_SECRET_DISABLED (486.955 µs) : 465, 508
. : milestone, 487,
iast_INACTIVE (448.623 µs) : 428, 470
. : milestone, 449,
iast_TELEMETRY_OFF (486.014 µs) : 464, 508
. : milestone, 486,
tracing (447.069 µs) : 426, 468
. : milestone, 447,
section candidate
no_agent (376.142 µs) : 354, 398
. : milestone, 376,
iast (491.413 µs) : 469, 513
. : milestone, 491,
iast_FULL (648.386 µs) : 627, 670
. : milestone, 648,
iast_GLOBAL (512.271 µs) : 491, 534
. : milestone, 512,
iast_HARDCODED_SECRET_DISABLED (492.875 µs) : 471, 514
. : milestone, 493,
iast_INACTIVE (449.532 µs) : 429, 470
. : milestone, 450,
iast_TELEMETRY_OFF (480.067 µs) : 458, 502
. : milestone, 480,
tracing (442.706 µs) : 422, 463
. : milestone, 443,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~981eee20be, baseline=1.45.0-SNAPSHOT~8d5f5acd23
dateFormat X
axisFormat %s
section baseline
no_agent (1.337 ms) : 1318, 1356
. : milestone, 1337,
appsec (1.745 ms) : 1719, 1770
. : milestone, 1745,
appsec_no_iast (1.755 ms) : 1731, 1780
. : milestone, 1755,
iast (1.501 ms) : 1478, 1524
. : milestone, 1501,
profiling (1.494 ms) : 1470, 1518
. : milestone, 1494,
tracing (1.47 ms) : 1444, 1495
. : milestone, 1470,
section candidate
no_agent (1.356 ms) : 1335, 1376
. : milestone, 1356,
appsec (1.739 ms) : 1715, 1763
. : milestone, 1739,
appsec_no_iast (1.76 ms) : 1736, 1784
. : milestone, 1760,
iast (1.504 ms) : 1481, 1527
. : milestone, 1504,
profiling (1.497 ms) : 1473, 1520
. : milestone, 1497,
tracing (1.483 ms) : 1457, 1508
. : milestone, 1483,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~981eee20be, baseline=1.45.0-SNAPSHOT~8d5f5acd23
dateFormat X
axisFormat %s
section baseline
no_agent (15.499 s) : 15499000, 15499000
. : milestone, 15499000,
appsec (14.967 s) : 14967000, 14967000
. : milestone, 14967000,
iast (18.844 s) : 18844000, 18844000
. : milestone, 18844000,
iast_GLOBAL (17.693 s) : 17693000, 17693000
. : milestone, 17693000,
profiling (15.052 s) : 15052000, 15052000
. : milestone, 15052000,
tracing (15.253 s) : 15253000, 15253000
. : milestone, 15253000,
section candidate
no_agent (15.216 s) : 15216000, 15216000
. : milestone, 15216000,
appsec (15.14 s) : 15140000, 15140000
. : milestone, 15140000,
iast (18.963 s) : 18963000, 18963000
. : milestone, 18963000,
iast_GLOBAL (18.056 s) : 18056000, 18056000
. : milestone, 18056000,
profiling (14.777 s) : 14777000, 14777000
. : milestone, 14777000,
tracing (15.134 s) : 15134000, 15134000
. : milestone, 15134000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~981eee20be, baseline=1.45.0-SNAPSHOT~8d5f5acd23
dateFormat X
axisFormat %s
section baseline
no_agent (1.47 ms) : 1458, 1481
. : milestone, 1470,
appsec (2.347 ms) : 2306, 2389
. : milestone, 2347,
iast (2.076 ms) : 2023, 2128
. : milestone, 2076,
iast_GLOBAL (2.122 ms) : 2069, 2175
. : milestone, 2122,
profiling (1.953 ms) : 1910, 1996
. : milestone, 1953,
tracing (1.928 ms) : 1888, 1969
. : milestone, 1928,
section candidate
no_agent (1.461 ms) : 1450, 1472
. : milestone, 1461,
appsec (2.34 ms) : 2298, 2382
. : milestone, 2340,
iast (2.081 ms) : 2028, 2134
. : milestone, 2081,
iast_GLOBAL (2.132 ms) : 2079, 2185
. : milestone, 2132,
profiling (2.433 ms) : 2252, 2614
. : milestone, 2433,
tracing (1.926 ms) : 1886, 1967
. : milestone, 1926,
|
smola
approved these changes
Dec 19, 2024
16ed803 to
981eee2
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
Adds support for After callsites in void methods, validations have been updated so:
@Return@ReturnAs an example:
Motivation
Additional Notes
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: APPSEC-55359