-
Notifications
You must be signed in to change notification settings - Fork 293
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
Refactor CapturedSnapshotTest method/line probes #8262
Conversation
Debugger benchmarksParameters
See matching parameters
SummaryFound 0 performance improvements and 5 performance regressions! Performance is the same for 2 metrics, 8 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 (310.023 µs) : 278, 342
. : milestone, 310,
basic (308.799 µs) : 295, 323
. : milestone, 309,
loop (10.152 ms) : 10119, 10185
. : milestone, 10152,
section candidate
noprobe (330.409 µs) : 255, 406
. : milestone, 330,
basic (316.71 µs) : 297, 336
. : milestone, 317,
loop (10.452 ms) : 10338, 10567
. : milestone, 10452,
|
bd4c172
to
d8b9e87
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 8 performance regressions! Performance is the same for 48 metrics, 7 unstable metrics.
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.46.0-SNAPSHOT~ed62ae3491, baseline=1.46.0-SNAPSHOT~64e6e864bc
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.048 s) : 0, 1047723
Total [baseline] (10.5 s) : 0, 10500007
Agent [candidate] (1.056 s) : 0, 1055935
Total [candidate] (10.511 s) : 0, 10510852
section appsec
Agent [baseline] (1.176 s) : 0, 1175809
Total [baseline] (10.795 s) : 0, 10794977
Agent [candidate] (1.189 s) : 0, 1188991
Total [candidate] (10.742 s) : 0, 10741511
section iast
Agent [baseline] (1.168 s) : 0, 1168461
Total [baseline] (10.908 s) : 0, 10907797
Agent [candidate] (1.186 s) : 0, 1185790
Total [candidate] (10.943 s) : 0, 10942772
section profiling
Agent [baseline] (1.252 s) : 0, 1251760
Total [baseline] (10.841 s) : 0, 10841013
Agent [candidate] (1.255 s) : 0, 1254790
Total [candidate] (10.823 s) : 0, 10823133
gantt
title petclinic - break down per module: candidate=1.46.0-SNAPSHOT~ed62ae3491, baseline=1.46.0-SNAPSHOT~64e6e864bc
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (723.013 ms) : 0, 723013
BytebuddyAgent [candidate] (715.417 ms) : 0, 715417
GlobalTracer [baseline] (240.757 ms) : 0, 240757
GlobalTracer [candidate] (255.926 ms) : 0, 255926
AppSec [baseline] (56.617 ms) : 0, 56617
AppSec [candidate] (55.567 ms) : 0, 55567
Remote Config [baseline] (735.64 µs) : 0, 736
Remote Config [candidate] (743.215 µs) : 0, 743
Telemetry [baseline] (11.465 ms) : 0, 11465
Telemetry [candidate] (13.215 ms) : 0, 13215
section appsec
BytebuddyAgent [baseline] (730.04 ms) : 0, 730040
BytebuddyAgent [candidate] (731.419 ms) : 0, 731419
GlobalTracer [baseline] (236.02 ms) : 0, 236020
GlobalTracer [candidate] (253.058 ms) : 0, 253058
AppSec [baseline] (175.64 ms) : 0, 175640
AppSec [candidate] (170.972 ms) : 0, 170972
IAST [baseline] (19.942 ms) : 0, 19942
IAST [candidate] (19.36 ms) : 0, 19360
Remote Config [baseline] (671.945 µs) : 0, 672
Remote Config [candidate] (652.516 µs) : 0, 653
Telemetry [baseline] (8.579 ms) : 0, 8579
Telemetry [candidate] (8.171 ms) : 0, 8171
section iast
BytebuddyAgent [baseline] (834.601 ms) : 0, 834601
BytebuddyAgent [candidate] (834.396 ms) : 0, 834396
GlobalTracer [baseline] (230.024 ms) : 0, 230024
GlobalTracer [candidate] (247.303 ms) : 0, 247303
AppSec [baseline] (58.21 ms) : 0, 58210
AppSec [candidate] (58.1 ms) : 0, 58100
IAST [baseline] (21.289 ms) : 0, 21289
IAST [candidate] (21.48 ms) : 0, 21480
Remote Config [baseline] (665.228 µs) : 0, 665
Remote Config [candidate] (663.194 µs) : 0, 663
Telemetry [baseline] (8.637 ms) : 0, 8637
Telemetry [candidate] (8.801 ms) : 0, 8801
section profiling
BytebuddyAgent [baseline] (702.48 ms) : 0, 702480
BytebuddyAgent [candidate] (704.346 ms) : 0, 704346
GlobalTracer [baseline] (347.883 ms) : 0, 347883
GlobalTracer [candidate] (349.378 ms) : 0, 349378
AppSec [baseline] (54.792 ms) : 0, 54792
AppSec [candidate] (54.151 ms) : 0, 54151
Remote Config [baseline] (708.607 µs) : 0, 709
Remote Config [candidate] (717.232 µs) : 0, 717
Telemetry [baseline] (8.754 ms) : 0, 8754
Telemetry [candidate] (8.78 ms) : 0, 8780
ProfilingAgent [baseline] (95.277 ms) : 0, 95277
ProfilingAgent [candidate] (95.38 ms) : 0, 95380
Profiling [baseline] (95.301 ms) : 0, 95301
Profiling [candidate] (95.404 ms) : 0, 95404
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.46.0-SNAPSHOT~ed62ae3491, baseline=1.46.0-SNAPSHOT~64e6e864bc
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.041 s) : 0, 1041256
Total [baseline] (8.669 s) : 0, 8668928
Agent [candidate] (1.058 s) : 0, 1057799
Total [candidate] (8.658 s) : 0, 8657589
section iast
Agent [baseline] (1.173 s) : 0, 1172789
Total [baseline] (9.235 s) : 0, 9235245
Agent [candidate] (1.194 s) : 0, 1194170
Total [candidate] (9.298 s) : 0, 9298368
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.167 s) : 0, 1166999
Total [baseline] (9.158 s) : 0, 9157997
Agent [candidate] (1.183 s) : 0, 1183192
Total [candidate] (9.178 s) : 0, 9177758
section iast_TELEMETRY_OFF
Agent [baseline] (1.161 s) : 0, 1160656
Total [baseline] (9.2 s) : 0, 9200054
Agent [candidate] (1.181 s) : 0, 1181367
Total [candidate] (9.198 s) : 0, 9198189
gantt
title insecure-bank - break down per module: candidate=1.46.0-SNAPSHOT~ed62ae3491, baseline=1.46.0-SNAPSHOT~64e6e864bc
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (716.086 ms) : 0, 716086
BytebuddyAgent [candidate] (714.133 ms) : 0, 714133
GlobalTracer [baseline] (239.466 ms) : 0, 239466
GlobalTracer [candidate] (255.883 ms) : 0, 255883
AppSec [baseline] (55.397 ms) : 0, 55397
AppSec [candidate] (56.254 ms) : 0, 56254
Remote Config [baseline] (712.826 µs) : 0, 713
Remote Config [candidate] (753.209 µs) : 0, 753
Telemetry [baseline] (14.59 ms) : 0, 14590
Telemetry [candidate] (15.731 ms) : 0, 15731
section iast
BytebuddyAgent [baseline] (837.833 ms) : 0, 837833
BytebuddyAgent [candidate] (838.623 ms) : 0, 838623
GlobalTracer [baseline] (230.638 ms) : 0, 230638
GlobalTracer [candidate] (249.882 ms) : 0, 249882
AppSec [baseline] (58.516 ms) : 0, 58516
AppSec [candidate] (58.998 ms) : 0, 58998
IAST [baseline] (21.217 ms) : 0, 21217
IAST [candidate] (21.853 ms) : 0, 21853
Remote Config [baseline] (648.007 µs) : 0, 648
Remote Config [candidate] (690.497 µs) : 0, 690
Telemetry [baseline] (8.82 ms) : 0, 8820
Telemetry [candidate] (9.037 ms) : 0, 9037
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (833.701 ms) : 0, 833701
BytebuddyAgent [candidate] (832.959 ms) : 0, 832959
GlobalTracer [baseline] (229.456 ms) : 0, 229456
GlobalTracer [candidate] (246.308 ms) : 0, 246308
AppSec [baseline] (58.098 ms) : 0, 58098
AppSec [candidate] (58.009 ms) : 0, 58009
IAST [baseline] (21.271 ms) : 0, 21271
IAST [candidate] (21.569 ms) : 0, 21569
Remote Config [baseline] (639.827 µs) : 0, 640
Remote Config [candidate] (657.522 µs) : 0, 658
Telemetry [baseline] (8.737 ms) : 0, 8737
Telemetry [candidate] (8.728 ms) : 0, 8728
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (828.765 ms) : 0, 828765
BytebuddyAgent [candidate] (830.825 ms) : 0, 830825
GlobalTracer [baseline] (228.914 ms) : 0, 228914
GlobalTracer [candidate] (246.727 ms) : 0, 246727
AppSec [baseline] (57.905 ms) : 0, 57905
AppSec [candidate] (58.473 ms) : 0, 58473
IAST [baseline] (20.884 ms) : 0, 20884
IAST [candidate] (20.962 ms) : 0, 20962
Remote Config [baseline] (637.292 µs) : 0, 637
Remote Config [candidate] (676.362 µs) : 0, 676
Telemetry [baseline] (8.597 ms) : 0, 8597
Telemetry [candidate] (8.689 ms) : 0, 8689
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.46.0-SNAPSHOT~ed62ae3491, baseline=1.46.0-SNAPSHOT~64e6e864bc
dateFormat X
axisFormat %s
section baseline
no_agent (377.935 µs) : 356, 399
. : milestone, 378,
iast (507.806 µs) : 486, 530
. : milestone, 508,
iast_FULL (739.564 µs) : 717, 763
. : milestone, 740,
iast_GLOBAL (558.037 µs) : 535, 582
. : milestone, 558,
iast_HARDCODED_SECRET_DISABLED (511.097 µs) : 488, 534
. : milestone, 511,
iast_INACTIVE (469.731 µs) : 447, 492
. : milestone, 470,
iast_TELEMETRY_OFF (495.119 µs) : 472, 518
. : milestone, 495,
tracing (451.876 µs) : 431, 472
. : milestone, 452,
section candidate
no_agent (385.62 µs) : 366, 405
. : milestone, 386,
iast (506.17 µs) : 484, 528
. : milestone, 506,
iast_FULL (740.983 µs) : 719, 763
. : milestone, 741,
iast_GLOBAL (562.086 µs) : 540, 584
. : milestone, 562,
iast_HARDCODED_SECRET_DISABLED (512.723 µs) : 491, 535
. : milestone, 513,
iast_INACTIVE (465.122 µs) : 444, 487
. : milestone, 465,
iast_TELEMETRY_OFF (495.542 µs) : 474, 517
. : milestone, 496,
tracing (453.796 µs) : 433, 475
. : milestone, 454,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~ed62ae3491, baseline=1.46.0-SNAPSHOT~64e6e864bc
dateFormat X
axisFormat %s
section baseline
no_agent (1.365 ms) : 1346, 1383
. : milestone, 1365,
appsec (1.739 ms) : 1715, 1763
. : milestone, 1739,
appsec_no_iast (1.738 ms) : 1715, 1762
. : milestone, 1738,
iast (1.508 ms) : 1483, 1532
. : milestone, 1508,
profiling (1.553 ms) : 1528, 1578
. : milestone, 1553,
tracing (1.51 ms) : 1486, 1535
. : milestone, 1510,
section candidate
no_agent (1.347 ms) : 1327, 1367
. : milestone, 1347,
appsec (1.765 ms) : 1742, 1789
. : milestone, 1765,
appsec_no_iast (1.782 ms) : 1758, 1805
. : milestone, 1782,
iast (1.544 ms) : 1519, 1569
. : milestone, 1544,
profiling (1.52 ms) : 1497, 1543
. : milestone, 1520,
tracing (1.51 ms) : 1486, 1534
. : milestone, 1510,
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.46.0-SNAPSHOT~ed62ae3491, baseline=1.46.0-SNAPSHOT~64e6e864bc
dateFormat X
axisFormat %s
section baseline
no_agent (1.468 ms) : 1456, 1479
. : milestone, 1468,
appsec (2.345 ms) : 2301, 2389
. : milestone, 2345,
iast (2.096 ms) : 2042, 2151
. : milestone, 2096,
iast_GLOBAL (2.129 ms) : 2074, 2184
. : milestone, 2129,
profiling (1.962 ms) : 1918, 2007
. : milestone, 1962,
tracing (1.933 ms) : 1891, 1975
. : milestone, 1933,
section candidate
no_agent (1.467 ms) : 1455, 1478
. : milestone, 1467,
appsec (2.34 ms) : 2297, 2383
. : milestone, 2340,
iast (2.092 ms) : 2038, 2147
. : milestone, 2092,
iast_GLOBAL (2.132 ms) : 2078, 2187
. : milestone, 2132,
profiling (1.982 ms) : 1937, 2027
. : milestone, 1982,
tracing (1.942 ms) : 1900, 1985
. : milestone, 1942,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~ed62ae3491, baseline=1.46.0-SNAPSHOT~64e6e864bc
dateFormat X
axisFormat %s
section baseline
no_agent (14.787 s) : 14787000, 14787000
. : milestone, 14787000,
appsec (15.153 s) : 15153000, 15153000
. : milestone, 15153000,
iast (18.493 s) : 18493000, 18493000
. : milestone, 18493000,
iast_GLOBAL (17.978 s) : 17978000, 17978000
. : milestone, 17978000,
profiling (15.004 s) : 15004000, 15004000
. : milestone, 15004000,
tracing (15.041 s) : 15041000, 15041000
. : milestone, 15041000,
section candidate
no_agent (15.407 s) : 15407000, 15407000
. : milestone, 15407000,
appsec (15.199 s) : 15199000, 15199000
. : milestone, 15199000,
iast (18.667 s) : 18667000, 18667000
. : milestone, 18667000,
iast_GLOBAL (18.111 s) : 18111000, 18111000
. : milestone, 18111000,
profiling (15.554 s) : 15554000, 15554000
. : milestone, 15554000,
tracing (15.024 s) : 15024000, 15024000
. : milestone, 15024000,
|
I don't see the part that scans the source file for the ID tag to determine the line. Was that supposed to be part of this or is it still pending? |
next PR, it's just a preparation for that |
make a clear distinction when creating method probes and line probes Removing lines varargs to use int for helper methods Use dedicated line probe ids in preparation of id-based line probe source matching
d8b9e87
to
ed62ae3
Compare
What Does This Do
make a clear distinction when creating method probes and line probes Removing lines varargs to use int for helper methods Use dedicated line probe ids in preparation of
id-based line probe source matching
Motivation
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]