-
Notifications
You must be signed in to change notification settings - Fork 291
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
POC of a simplified code origin probe #8081
Draft
evanchooly
wants to merge
3
commits into
master
Choose a base branch
from
evanchooly/codeorigin
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
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
Debugger benchmarksParameters
See matching parameters
SummaryFound 4 performance improvements and 0 performance regressions! Performance is the same for 5 metrics, 6 unstable metrics.
See unchanged results
Request duration reports for reportsgantt
title reports - request duration [CI 0.99] : candidate=None, baseline=None
dateFormat X
axisFormat %s
section baseline
noprobe (301.569 µs) : 278, 325
. : milestone, 302,
basic (301.698 µs) : 292, 311
. : milestone, 302,
loop (10.741 ms) : 10628, 10854
. : milestone, 10741,
section candidate
noprobe (310.998 µs) : 271, 351
. : milestone, 311,
basic (313.418 µs) : 304, 323
. : milestone, 313,
loop (10.385 ms) : 10352, 10418
. : milestone, 10385,
|
BenchmarksStartupLoadParameters
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.45.0-SNAPSHOT~199e8e8072, baseline=1.45.0-SNAPSHOT~bdc9eae8ff
dateFormat X
axisFormat %s
section baseline
no_agent (375.066 µs) : 355, 395
. : milestone, 375,
iast (497.96 µs) : 476, 519
. : milestone, 498,
iast_FULL (653.448 µs) : 632, 675
. : milestone, 653,
iast_GLOBAL (518.388 µs) : 497, 540
. : milestone, 518,
iast_HARDCODED_SECRET_DISABLED (495.636 µs) : 474, 517
. : milestone, 496,
iast_INACTIVE (453.329 µs) : 432, 474
. : milestone, 453,
iast_TELEMETRY_OFF (488.161 µs) : 466, 510
. : milestone, 488,
tracing (449.576 µs) : 429, 470
. : milestone, 450,
section candidate
no_agent (371.993 µs) : 352, 392
. : milestone, 372,
iast (495.62 µs) : 474, 518
. : milestone, 496,
iast_FULL (658.531 µs) : 637, 680
. : milestone, 659,
iast_GLOBAL (516.241 µs) : 495, 538
. : milestone, 516,
iast_HARDCODED_SECRET_DISABLED (490.673 µs) : 469, 512
. : milestone, 491,
iast_INACTIVE (456.071 µs) : 435, 477
. : milestone, 456,
iast_TELEMETRY_OFF (484.694 µs) : 463, 506
. : milestone, 485,
tracing (448.022 µs) : 428, 468
. : milestone, 448,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~199e8e8072, baseline=1.45.0-SNAPSHOT~bdc9eae8ff
dateFormat X
axisFormat %s
section baseline
no_agent (1.371 ms) : 1351, 1391
. : milestone, 1371,
appsec (1.759 ms) : 1736, 1782
. : milestone, 1759,
appsec_no_iast (1.737 ms) : 1711, 1762
. : milestone, 1737,
iast (1.5 ms) : 1478, 1523
. : milestone, 1500,
profiling (1.552 ms) : 1526, 1577
. : milestone, 1552,
tracing (1.49 ms) : 1465, 1515
. : milestone, 1490,
section candidate
no_agent (1.367 ms) : 1348, 1387
. : milestone, 1367,
appsec (1.755 ms) : 1732, 1778
. : milestone, 1755,
appsec_no_iast (1.76 ms) : 1735, 1785
. : milestone, 1760,
iast (1.495 ms) : 1472, 1518
. : milestone, 1495,
profiling (1.549 ms) : 1525, 1574
. : milestone, 1549,
tracing (1.501 ms) : 1476, 1525
. : milestone, 1501,
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.45.0-SNAPSHOT~199e8e8072, baseline=1.45.0-SNAPSHOT~bdc9eae8ff
dateFormat X
axisFormat %s
section baseline
no_agent (1.472 ms) : 1460, 1483
. : milestone, 1472,
appsec (2.336 ms) : 2294, 2378
. : milestone, 2336,
iast (2.091 ms) : 2038, 2144
. : milestone, 2091,
iast_GLOBAL (2.141 ms) : 2088, 2194
. : milestone, 2141,
profiling (1.959 ms) : 1916, 2001
. : milestone, 1959,
tracing (1.941 ms) : 1900, 1982
. : milestone, 1941,
section candidate
no_agent (1.467 ms) : 1456, 1479
. : milestone, 1467,
appsec (2.349 ms) : 2307, 2391
. : milestone, 2349,
iast (2.092 ms) : 2038, 2145
. : milestone, 2092,
iast_GLOBAL (2.138 ms) : 2085, 2192
. : milestone, 2138,
profiling (1.95 ms) : 1908, 1992
. : milestone, 1950,
tracing (1.926 ms) : 1886, 1967
. : milestone, 1926,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~199e8e8072, baseline=1.45.0-SNAPSHOT~bdc9eae8ff
dateFormat X
axisFormat %s
section baseline
no_agent (15.605 s) : 15605000, 15605000
. : milestone, 15605000,
appsec (15.125 s) : 15125000, 15125000
. : milestone, 15125000,
iast (18.889 s) : 18889000, 18889000
. : milestone, 18889000,
iast_GLOBAL (17.856 s) : 17856000, 17856000
. : milestone, 17856000,
profiling (14.899 s) : 14899000, 14899000
. : milestone, 14899000,
tracing (15.161 s) : 15161000, 15161000
. : milestone, 15161000,
section candidate
no_agent (14.97 s) : 14970000, 14970000
. : milestone, 14970000,
appsec (14.96 s) : 14960000, 14960000
. : milestone, 14960000,
iast (18.707 s) : 18707000, 18707000
. : milestone, 18707000,
iast_GLOBAL (17.614 s) : 17614000, 17614000
. : milestone, 17614000,
profiling (15.551 s) : 15551000, 15551000
. : milestone, 15551000,
tracing (15.057 s) : 15057000, 15057000
. : milestone, 15057000,
|
evanchooly
force-pushed
the
evanchooly/codeorigin
branch
from
December 12, 2024 20:08
690026b
to
c0d6b75
Compare
evanchooly
force-pushed
the
evanchooly/codeorigin
branch
from
December 12, 2024 20:37
c0d6b75
to
7ba729f
Compare
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.
Motivation
In order to minimize the impact of the code origin feature as much as possible, this is a POC to make the code origin probe only care about code location and not bother with snapshots. However, to preserve the UX of automatically getting snapshot information at the code origin sites, a dynamic snapshot probe can be optionally added at the same site to capture that snapshot during a debug session. This preserves the current functionality while minimizing the impact outside of a debug session.