-
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
Fix CodeOrigin for @Trace
annotation
#8344
base: master
Are you sure you want to change the base?
Conversation
Debugger benchmarksParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 7 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 (329.9 µs) : 251, 409
. : milestone, 330,
basic (307.212 µs) : 290, 324
. : milestone, 307,
loop (10.154 ms) : 10102, 10206
. : milestone, 10154,
section candidate
noprobe (303.487 µs) : 279, 328
. : milestone, 303,
basic (295.629 µs) : 287, 304
. : milestone, 296,
loop (10.147 ms) : 10114, 10181
. : milestone, 10147,
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 4 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.47.0-SNAPSHOT~f1458bf562, baseline=1.47.0-SNAPSHOT~8a74e85918
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.05 s) : 0, 1050104
Total [baseline] (10.505 s) : 0, 10504999
Agent [candidate] (1.053 s) : 0, 1053322
Total [candidate] (10.47 s) : 0, 10469989
section appsec
Agent [baseline] (1.196 s) : 0, 1196334
Total [baseline] (10.778 s) : 0, 10778119
Agent [candidate] (1.183 s) : 0, 1183002
Total [candidate] (10.757 s) : 0, 10757285
section iast
Agent [baseline] (1.173 s) : 0, 1172585
Total [baseline] (10.976 s) : 0, 10976291
Agent [candidate] (1.176 s) : 0, 1176141
Total [candidate] (10.993 s) : 0, 10993330
section profiling
Agent [baseline] (1.261 s) : 0, 1261377
Total [baseline] (10.827 s) : 0, 10827383
Agent [candidate] (1.262 s) : 0, 1261528
Total [candidate] (10.94 s) : 0, 10940320
gantt
title petclinic - break down per module: candidate=1.47.0-SNAPSHOT~f1458bf562, baseline=1.47.0-SNAPSHOT~8a74e85918
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (721.194 ms) : 0, 721194
BytebuddyAgent [candidate] (721.469 ms) : 0, 721469
GlobalTracer [baseline] (244.363 ms) : 0, 244363
GlobalTracer [candidate] (245.012 ms) : 0, 245012
AppSec [baseline] (55.531 ms) : 0, 55531
AppSec [candidate] (55.568 ms) : 0, 55568
Remote Config [baseline] (721.202 µs) : 0, 721
Remote Config [candidate] (715.722 µs) : 0, 716
Telemetry [baseline] (12.974 ms) : 0, 12974
Telemetry [candidate] (15.135 ms) : 0, 15135
section appsec
BytebuddyAgent [baseline] (740.839 ms) : 0, 740839
BytebuddyAgent [candidate] (732.263 ms) : 0, 732263
GlobalTracer [baseline] (242.381 ms) : 0, 242381
GlobalTracer [candidate] (240.39 ms) : 0, 240390
AppSec [baseline] (177.684 ms) : 0, 177684
AppSec [candidate] (175.379 ms) : 0, 175379
Remote Config [baseline] (682.257 µs) : 0, 682
Remote Config [candidate] (651.433 µs) : 0, 651
Telemetry [baseline] (8.404 ms) : 0, 8404
Telemetry [candidate] (8.27 ms) : 0, 8270
IAST [baseline] (21.972 ms) : 0, 21972
IAST [candidate] (21.79 ms) : 0, 21790
section iast
BytebuddyAgent [baseline] (835.025 ms) : 0, 835025
BytebuddyAgent [candidate] (836.633 ms) : 0, 836633
GlobalTracer [baseline] (233.492 ms) : 0, 233492
GlobalTracer [candidate] (234.65 ms) : 0, 234650
AppSec [baseline] (56.846 ms) : 0, 56846
AppSec [candidate] (57.443 ms) : 0, 57443
Remote Config [baseline] (613.312 µs) : 0, 613
Remote Config [candidate] (620.144 µs) : 0, 620
Telemetry [baseline] (8.61 ms) : 0, 8610
Telemetry [candidate] (8.795 ms) : 0, 8795
IAST [baseline] (22.713 ms) : 0, 22713
IAST [candidate] (22.713 ms) : 0, 22713
section profiling
BytebuddyAgent [baseline] (705.935 ms) : 0, 705935
BytebuddyAgent [candidate] (706.02 ms) : 0, 706020
GlobalTracer [baseline] (352.676 ms) : 0, 352676
GlobalTracer [candidate] (353.228 ms) : 0, 353228
AppSec [baseline] (55.281 ms) : 0, 55281
AppSec [candidate] (54.535 ms) : 0, 54535
Remote Config [baseline] (686.037 µs) : 0, 686
Remote Config [candidate] (699.054 µs) : 0, 699
Telemetry [baseline] (8.869 ms) : 0, 8869
Telemetry [candidate] (8.836 ms) : 0, 8836
ProfilingAgent [baseline] (95.664 ms) : 0, 95664
ProfilingAgent [candidate] (95.827 ms) : 0, 95827
Profiling [baseline] (95.689 ms) : 0, 95689
Profiling [candidate] (95.851 ms) : 0, 95851
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.47.0-SNAPSHOT~f1458bf562, baseline=1.47.0-SNAPSHOT~8a74e85918
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.044 s) : 0, 1043917
Total [baseline] (8.636 s) : 0, 8635634
Agent [candidate] (1.048 s) : 0, 1048328
Total [candidate] (8.685 s) : 0, 8684612
section iast
Agent [baseline] (1.18 s) : 0, 1179638
Total [baseline] (9.233 s) : 0, 9233253
Agent [candidate] (1.186 s) : 0, 1186280
Total [candidate] (9.235 s) : 0, 9234999
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.18 s) : 0, 1179758
Total [baseline] (9.215 s) : 0, 9215496
Agent [candidate] (1.173 s) : 0, 1172990
Total [candidate] (9.239 s) : 0, 9238982
section iast_TELEMETRY_OFF
Agent [baseline] (1.171 s) : 0, 1170577
Total [baseline] (9.217 s) : 0, 9216845
Agent [candidate] (1.173 s) : 0, 1172625
Total [candidate] (9.212 s) : 0, 9211805
gantt
title insecure-bank - break down per module: candidate=1.47.0-SNAPSHOT~f1458bf562, baseline=1.47.0-SNAPSHOT~8a74e85918
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (716.768 ms) : 0, 716768
BytebuddyAgent [candidate] (718.746 ms) : 0, 718746
GlobalTracer [baseline] (243.296 ms) : 0, 243296
GlobalTracer [candidate] (245.399 ms) : 0, 245399
AppSec [baseline] (55.116 ms) : 0, 55116
AppSec [candidate] (55.436 ms) : 0, 55436
Remote Config [baseline] (719.033 µs) : 0, 719
Remote Config [candidate] (714.262 µs) : 0, 714
Telemetry [baseline] (12.876 ms) : 0, 12876
Telemetry [candidate] (12.799 ms) : 0, 12799
section iast
BytebuddyAgent [baseline] (839.89 ms) : 0, 839890
BytebuddyAgent [candidate] (846.894 ms) : 0, 846894
GlobalTracer [baseline] (234.99 ms) : 0, 234990
GlobalTracer [candidate] (234.893 ms) : 0, 234893
IAST [baseline] (23.003 ms) : 0, 23003
IAST [candidate] (22.919 ms) : 0, 22919
AppSec [baseline] (57.179 ms) : 0, 57179
AppSec [candidate] (56.807 ms) : 0, 56807
Remote Config [baseline] (608.327 µs) : 0, 608
Remote Config [candidate] (605.007 µs) : 0, 605
Telemetry [baseline] (8.731 ms) : 0, 8731
Telemetry [candidate] (8.64 ms) : 0, 8640
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (839.902 ms) : 0, 839902
BytebuddyAgent [candidate] (834.592 ms) : 0, 834592
GlobalTracer [baseline] (234.897 ms) : 0, 234897
GlobalTracer [candidate] (233.974 ms) : 0, 233974
IAST [baseline] (22.997 ms) : 0, 22997
IAST [candidate] (22.951 ms) : 0, 22951
AppSec [baseline] (57.197 ms) : 0, 57197
AppSec [candidate] (56.899 ms) : 0, 56899
Remote Config [baseline] (618.503 µs) : 0, 619
Remote Config [candidate] (615.889 µs) : 0, 616
Telemetry [baseline] (8.795 ms) : 0, 8795
Telemetry [candidate] (8.695 ms) : 0, 8695
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (834.56 ms) : 0, 834560
BytebuddyAgent [candidate] (835.358 ms) : 0, 835358
GlobalTracer [baseline] (232.772 ms) : 0, 232772
GlobalTracer [candidate] (234.573 ms) : 0, 234573
IAST [baseline] (26.946 ms) : 0, 26946
IAST [candidate] (28.415 ms) : 0, 28415
AppSec [baseline] (51.806 ms) : 0, 51806
AppSec [candidate] (49.865 ms) : 0, 49865
Remote Config [baseline] (607.05 µs) : 0, 607
Remote Config [candidate] (606.582 µs) : 0, 607
Telemetry [baseline] (8.595 ms) : 0, 8595
Telemetry [candidate] (8.508 ms) : 0, 8508
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.47.0-SNAPSHOT~f1458bf562, baseline=1.47.0-SNAPSHOT~8a74e85918
dateFormat X
axisFormat %s
section baseline
no_agent (378.633 µs) : 358, 399
. : milestone, 379,
iast (505.379 µs) : 484, 527
. : milestone, 505,
iast_FULL (740.063 µs) : 718, 762
. : milestone, 740,
iast_GLOBAL (559.96 µs) : 537, 582
. : milestone, 560,
iast_HARDCODED_SECRET_DISABLED (502.825 µs) : 481, 524
. : milestone, 503,
iast_INACTIVE (454.32 µs) : 432, 477
. : milestone, 454,
iast_TELEMETRY_OFF (498.315 µs) : 475, 522
. : milestone, 498,
tracing (451.422 µs) : 430, 472
. : milestone, 451,
section candidate
no_agent (379.221 µs) : 360, 399
. : milestone, 379,
iast (503.02 µs) : 481, 525
. : milestone, 503,
iast_FULL (735.444 µs) : 713, 758
. : milestone, 735,
iast_GLOBAL (542.326 µs) : 521, 564
. : milestone, 542,
iast_HARDCODED_SECRET_DISABLED (505.455 µs) : 483, 527
. : milestone, 505,
iast_INACTIVE (457.396 µs) : 436, 478
. : milestone, 457,
iast_TELEMETRY_OFF (488.53 µs) : 467, 510
. : milestone, 489,
tracing (456.181 µs) : 435, 477
. : milestone, 456,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.47.0-SNAPSHOT~f1458bf562, baseline=1.47.0-SNAPSHOT~8a74e85918
dateFormat X
axisFormat %s
section baseline
no_agent (1.373 ms) : 1354, 1393
. : milestone, 1373,
appsec (1.734 ms) : 1711, 1757
. : milestone, 1734,
appsec_no_iast (1.746 ms) : 1721, 1772
. : milestone, 1746,
iast (1.489 ms) : 1465, 1514
. : milestone, 1489,
profiling (1.504 ms) : 1480, 1527
. : milestone, 1504,
tracing (1.492 ms) : 1468, 1516
. : milestone, 1492,
section candidate
no_agent (1.336 ms) : 1316, 1355
. : milestone, 1336,
appsec (1.753 ms) : 1730, 1776
. : milestone, 1753,
appsec_no_iast (1.719 ms) : 1695, 1744
. : milestone, 1719,
iast (1.504 ms) : 1479, 1528
. : milestone, 1504,
profiling (1.486 ms) : 1462, 1509
. : milestone, 1486,
tracing (1.488 ms) : 1463, 1514
. : milestone, 1488,
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.47.0-SNAPSHOT~f1458bf562, baseline=1.47.0-SNAPSHOT~8a74e85918
dateFormat X
axisFormat %s
section baseline
no_agent (1.473 ms) : 1461, 1484
. : milestone, 1473,
appsec (2.37 ms) : 2327, 2414
. : milestone, 2370,
iast (2.12 ms) : 2064, 2175
. : milestone, 2120,
iast_GLOBAL (2.153 ms) : 2098, 2208
. : milestone, 2153,
profiling (1.985 ms) : 1941, 2029
. : milestone, 1985,
tracing (1.945 ms) : 1903, 1987
. : milestone, 1945,
section candidate
no_agent (1.478 ms) : 1467, 1490
. : milestone, 1478,
appsec (2.363 ms) : 2319, 2406
. : milestone, 2363,
iast (2.12 ms) : 2065, 2175
. : milestone, 2120,
iast_GLOBAL (2.157 ms) : 2101, 2212
. : milestone, 2157,
profiling (1.992 ms) : 1947, 2037
. : milestone, 1992,
tracing (1.945 ms) : 1903, 1987
. : milestone, 1945,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.47.0-SNAPSHOT~f1458bf562, baseline=1.47.0-SNAPSHOT~8a74e85918
dateFormat X
axisFormat %s
section baseline
no_agent (15.589 s) : 15589000, 15589000
. : milestone, 15589000,
appsec (15.111 s) : 15111000, 15111000
. : milestone, 15111000,
iast (18.301 s) : 18301000, 18301000
. : milestone, 18301000,
iast_GLOBAL (17.837 s) : 17837000, 17837000
. : milestone, 17837000,
profiling (15.042 s) : 15042000, 15042000
. : milestone, 15042000,
tracing (14.897 s) : 14897000, 14897000
. : milestone, 14897000,
section candidate
no_agent (14.744 s) : 14744000, 14744000
. : milestone, 14744000,
appsec (15.33 s) : 15330000, 15330000
. : milestone, 15330000,
iast (18.905 s) : 18905000, 18905000
. : milestone, 18905000,
iast_GLOBAL (18.083 s) : 18083000, 18083000
. : milestone, 18083000,
profiling (14.972 s) : 14972000, 14972000
. : milestone, 14972000,
tracing (14.966 s) : 14966000, 14966000
. : milestone, 14966000,
|
683c682
to
8871f09
Compare
add a param for captureCodeOrigin method to indicate if we need to instrument for the CodeOriginProbe. the instrumentation for the @trace annotation insert a call to start and activate the span. so we just need to call captureCodeOrigin after the activation so we benefit from tracer instrumentation without generating a call to CodeOriginProbe. That way are in sync with the tracer instrumentation. add smoke test
8871f09
to
f1458bf
Compare
What Does This Do
add a param for captureCodeOrigin method to indicate if we need to
instrument for the CodeOriginProbe. the instrumentation for the
@trace
annotation insert a call to start and activate the span.so we just need to call captureCodeOrigin after the activation so we
benefit from tracer instrumentation without generating a call to
CodeOrigin probe.
That way are in sync with the tracer instrumentation.
add smoke test
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: DEBUG-3449