Be consistent when deciding when to do async propagation#8555
Merged
Conversation
i.e. we should have a non-null, valid span and the async propagation flag should be set (also remove some unused variables in the executor advice)
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 58 metrics, 5 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.48.0-SNAPSHOT~4d7f1cf33f, baseline=1.48.0-SNAPSHOT~32f4d6ac81
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.039 s) : 0, 1039161
Total [baseline] (10.528 s) : 0, 10528420
Agent [candidate] (1.05 s) : 0, 1050341
Total [candidate] (10.579 s) : 0, 10579158
section appsec
Agent [baseline] (1.185 s) : 0, 1185026
Total [baseline] (10.752 s) : 0, 10751548
Agent [candidate] (1.189 s) : 0, 1188664
Total [candidate] (10.801 s) : 0, 10801096
section iast
Agent [baseline] (1.173 s) : 0, 1173191
Total [baseline] (11.011 s) : 0, 11011374
Agent [candidate] (1.171 s) : 0, 1171235
Total [candidate] (11.038 s) : 0, 11038361
section profiling
Agent [baseline] (1.262 s) : 0, 1262274
Total [baseline] (10.859 s) : 0, 10858568
Agent [candidate] (1.278 s) : 0, 1277690
Total [candidate] (10.915 s) : 0, 10914950
gantt
title petclinic - break down per module: candidate=1.48.0-SNAPSHOT~4d7f1cf33f, baseline=1.48.0-SNAPSHOT~32f4d6ac81
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (717.365 ms) : 0, 717365
BytebuddyAgent [candidate] (724.665 ms) : 0, 724665
GlobalTracer [baseline] (239.525 ms) : 0, 239525
GlobalTracer [candidate] (241.823 ms) : 0, 241823
AppSec [baseline] (54.387 ms) : 0, 54387
AppSec [candidate] (55.014 ms) : 0, 55014
Remote Config [baseline] (682.336 µs) : 0, 682
Remote Config [candidate] (696.93 µs) : 0, 697
Telemetry [baseline] (12.076 ms) : 0, 12076
Telemetry [candidate] (12.826 ms) : 0, 12826
section appsec
BytebuddyAgent [baseline] (737.834 ms) : 0, 737834
BytebuddyAgent [candidate] (739.451 ms) : 0, 739451
GlobalTracer [baseline] (236.986 ms) : 0, 236986
GlobalTracer [candidate] (237.366 ms) : 0, 237366
IAST [baseline] (21.321 ms) : 0, 21321
IAST [candidate] (21.747 ms) : 0, 21747
AppSec [baseline] (175.373 ms) : 0, 175373
AppSec [candidate] (176.809 ms) : 0, 176809
Remote Config [baseline] (656.812 µs) : 0, 657
Remote Config [candidate] (661.163 µs) : 0, 661
Telemetry [baseline] (8.317 ms) : 0, 8317
Telemetry [candidate] (8.31 ms) : 0, 8310
section iast
BytebuddyAgent [baseline] (838.808 ms) : 0, 838808
BytebuddyAgent [candidate] (837.929 ms) : 0, 837929
GlobalTracer [baseline] (231.089 ms) : 0, 231089
GlobalTracer [candidate] (230.559 ms) : 0, 230559
IAST [baseline] (22.742 ms) : 0, 22742
IAST [candidate] (24.084 ms) : 0, 24084
AppSec [baseline] (55.922 ms) : 0, 55922
AppSec [candidate] (54.24 ms) : 0, 54240
Remote Config [baseline] (600.819 µs) : 0, 601
Remote Config [candidate] (595.697 µs) : 0, 596
Telemetry [baseline] (8.715 ms) : 0, 8715
Telemetry [candidate] (8.629 ms) : 0, 8629
section profiling
BytebuddyAgent [baseline] (711.346 ms) : 0, 711346
BytebuddyAgent [candidate] (721.201 ms) : 0, 721201
GlobalTracer [baseline] (349.963 ms) : 0, 349963
GlobalTracer [candidate] (353.684 ms) : 0, 353684
AppSec [baseline] (54.392 ms) : 0, 54392
AppSec [candidate] (54.324 ms) : 0, 54324
Remote Config [baseline] (728.136 µs) : 0, 728
Remote Config [candidate] (676.565 µs) : 0, 677
Telemetry [baseline] (8.922 ms) : 0, 8922
Telemetry [candidate] (9.107 ms) : 0, 9107
ProfilingAgent [baseline] (96.336 ms) : 0, 96336
ProfilingAgent [candidate] (97.756 ms) : 0, 97756
Profiling [baseline] (96.361 ms) : 0, 96361
Profiling [candidate] (97.782 ms) : 0, 97782
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.48.0-SNAPSHOT~4d7f1cf33f, baseline=1.48.0-SNAPSHOT~32f4d6ac81
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.046 s) : 0, 1046190
Total [baseline] (8.724 s) : 0, 8724343
Agent [candidate] (1.042 s) : 0, 1041550
Total [candidate] (8.668 s) : 0, 8668431
section iast
Agent [baseline] (1.171 s) : 0, 1171276
Total [baseline] (9.242 s) : 0, 9242148
Agent [candidate] (1.173 s) : 0, 1172924
Total [candidate] (9.244 s) : 0, 9244011
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.172 s) : 0, 1172340
Total [baseline] (9.268 s) : 0, 9267894
Agent [candidate] (1.175 s) : 0, 1174919
Total [candidate] (9.24 s) : 0, 9240065
section iast_TELEMETRY_OFF
Agent [baseline] (1.174 s) : 0, 1173973
Total [baseline] (9.214 s) : 0, 9213574
Agent [candidate] (1.171 s) : 0, 1171237
Total [candidate] (9.242 s) : 0, 9241783
gantt
title insecure-bank - break down per module: candidate=1.48.0-SNAPSHOT~4d7f1cf33f, baseline=1.48.0-SNAPSHOT~32f4d6ac81
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (722.921 ms) : 0, 722921
BytebuddyAgent [candidate] (718.635 ms) : 0, 718635
GlobalTracer [baseline] (240.632 ms) : 0, 240632
GlobalTracer [candidate] (239.731 ms) : 0, 239731
AppSec [baseline] (54.971 ms) : 0, 54971
AppSec [candidate] (54.464 ms) : 0, 54464
Remote Config [baseline] (691.815 µs) : 0, 692
Remote Config [candidate] (690.557 µs) : 0, 691
Telemetry [baseline] (11.628 ms) : 0, 11628
Telemetry [candidate] (12.878 ms) : 0, 12878
section iast
BytebuddyAgent [baseline] (837.616 ms) : 0, 837616
BytebuddyAgent [candidate] (838.745 ms) : 0, 838745
GlobalTracer [baseline] (230.25 ms) : 0, 230250
GlobalTracer [candidate] (230.791 ms) : 0, 230791
IAST [baseline] (22.77 ms) : 0, 22770
IAST [candidate] (22.932 ms) : 0, 22932
AppSec [baseline] (56.092 ms) : 0, 56092
AppSec [candidate] (55.948 ms) : 0, 55948
Remote Config [baseline] (611.646 µs) : 0, 612
Remote Config [candidate] (615.846 µs) : 0, 616
Telemetry [baseline] (8.763 ms) : 0, 8763
Telemetry [candidate] (8.696 ms) : 0, 8696
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (837.977 ms) : 0, 837977
BytebuddyAgent [candidate] (839.908 ms) : 0, 839908
GlobalTracer [baseline] (230.803 ms) : 0, 230803
GlobalTracer [candidate] (231.122 ms) : 0, 231122
IAST [baseline] (24.683 ms) : 0, 24683
IAST [candidate] (22.912 ms) : 0, 22912
AppSec [baseline] (54.248 ms) : 0, 54248
AppSec [candidate] (56.383 ms) : 0, 56383
Remote Config [baseline] (606.101 µs) : 0, 606
Remote Config [candidate] (620.039 µs) : 0, 620
Telemetry [baseline] (8.737 ms) : 0, 8737
Telemetry [candidate] (8.726 ms) : 0, 8726
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (839.183 ms) : 0, 839183
BytebuddyAgent [candidate] (837.057 ms) : 0, 837057
GlobalTracer [baseline] (231.168 ms) : 0, 231168
GlobalTracer [candidate] (230.448 ms) : 0, 230448
IAST [baseline] (22.531 ms) : 0, 22531
IAST [candidate] (22.454 ms) : 0, 22454
AppSec [baseline] (56.462 ms) : 0, 56462
AppSec [candidate] (56.642 ms) : 0, 56642
Remote Config [baseline] (612.039 µs) : 0, 612
Remote Config [candidate] (613.192 µs) : 0, 613
Telemetry [baseline] (8.708 ms) : 0, 8708
Telemetry [candidate] (8.715 ms) : 0, 8715
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 13 metrics, 17 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~4d7f1cf33f, baseline=1.48.0-SNAPSHOT~32f4d6ac81
dateFormat X
axisFormat %s
section baseline
no_agent (1.348 ms) : 1329, 1368
. : milestone, 1348,
appsec (1.732 ms) : 1708, 1755
. : milestone, 1732,
appsec_no_iast (1.748 ms) : 1723, 1772
. : milestone, 1748,
code_origins (1.682 ms) : 1656, 1709
. : milestone, 1682,
iast (1.52 ms) : 1495, 1544
. : milestone, 1520,
profiling (1.543 ms) : 1518, 1568
. : milestone, 1543,
tracing (1.493 ms) : 1469, 1518
. : milestone, 1493,
section candidate
no_agent (1.351 ms) : 1331, 1371
. : milestone, 1351,
appsec (1.713 ms) : 1690, 1736
. : milestone, 1713,
appsec_no_iast (1.746 ms) : 1721, 1771
. : milestone, 1746,
code_origins (1.691 ms) : 1665, 1718
. : milestone, 1691,
iast (1.499 ms) : 1474, 1524
. : milestone, 1499,
profiling (1.531 ms) : 1506, 1556
. : milestone, 1531,
tracing (1.491 ms) : 1465, 1516
. : milestone, 1491,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~4d7f1cf33f, baseline=1.48.0-SNAPSHOT~32f4d6ac81
dateFormat X
axisFormat %s
section baseline
no_agent (381.762 µs) : 362, 401
. : milestone, 382,
iast (512.456 µs) : 490, 535
. : milestone, 512,
iast_FULL (730.497 µs) : 709, 752
. : milestone, 730,
iast_GLOBAL (568.63 µs) : 545, 592
. : milestone, 569,
iast_HARDCODED_SECRET_DISABLED (508.163 µs) : 486, 530
. : milestone, 508,
iast_INACTIVE (469.507 µs) : 446, 493
. : milestone, 470,
iast_TELEMETRY_OFF (502.202 µs) : 479, 525
. : milestone, 502,
tracing (459.686 µs) : 438, 481
. : milestone, 460,
section candidate
no_agent (384.719 µs) : 365, 404
. : milestone, 385,
iast (508.63 µs) : 487, 530
. : milestone, 509,
iast_FULL (729.603 µs) : 707, 752
. : milestone, 730,
iast_GLOBAL (557.973 µs) : 535, 580
. : milestone, 558,
iast_HARDCODED_SECRET_DISABLED (518.94 µs) : 497, 541
. : milestone, 519,
iast_INACTIVE (464.439 µs) : 443, 486
. : milestone, 464,
iast_TELEMETRY_OFF (491.522 µs) : 470, 513
. : milestone, 492,
tracing (457.803 µs) : 437, 479
. : milestone, 458,
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.48.0-SNAPSHOT~4d7f1cf33f, baseline=1.48.0-SNAPSHOT~32f4d6ac81
dateFormat X
axisFormat %s
section baseline
no_agent (14.951 s) : 14951000, 14951000
. : milestone, 14951000,
appsec (15.027 s) : 15027000, 15027000
. : milestone, 15027000,
iast (19.108 s) : 19108000, 19108000
. : milestone, 19108000,
iast_GLOBAL (18.274 s) : 18274000, 18274000
. : milestone, 18274000,
profiling (15.31 s) : 15310000, 15310000
. : milestone, 15310000,
tracing (14.946 s) : 14946000, 14946000
. : milestone, 14946000,
section candidate
no_agent (15.448 s) : 15448000, 15448000
. : milestone, 15448000,
appsec (15.121 s) : 15121000, 15121000
. : milestone, 15121000,
iast (19.035 s) : 19035000, 19035000
. : milestone, 19035000,
iast_GLOBAL (17.918 s) : 17918000, 17918000
. : milestone, 17918000,
profiling (15.03 s) : 15030000, 15030000
. : milestone, 15030000,
tracing (14.668 s) : 14668000, 14668000
. : milestone, 14668000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~4d7f1cf33f, baseline=1.48.0-SNAPSHOT~32f4d6ac81
dateFormat X
axisFormat %s
section baseline
no_agent (1.469 ms) : 1457, 1480
. : milestone, 1469,
appsec (2.343 ms) : 2299, 2387
. : milestone, 2343,
iast (2.121 ms) : 2065, 2177
. : milestone, 2121,
iast_GLOBAL (2.165 ms) : 2109, 2221
. : milestone, 2165,
profiling (1.983 ms) : 1939, 2028
. : milestone, 1983,
tracing (1.947 ms) : 1905, 1990
. : milestone, 1947,
section candidate
no_agent (1.47 ms) : 1458, 1481
. : milestone, 1470,
appsec (2.344 ms) : 2301, 2388
. : milestone, 2344,
iast (2.118 ms) : 2062, 2174
. : milestone, 2118,
iast_GLOBAL (2.16 ms) : 2104, 2216
. : milestone, 2160,
profiling (2.444 ms) : 2263, 2625
. : milestone, 2444,
tracing (1.948 ms) : 1905, 1991
. : milestone, 1948,
|
mtoffl01
pushed a commit
that referenced
this pull request
Mar 24, 2025
i.e. we should have a non-null, valid span and the async propagation flag should be set (also remove some unused variables in the executor advice)
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.
Motivation
i.e. we should have a non-null, valid span and the async propagation flag should be set
(also remove some unused variables in the executor advice)
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: [PROJ-IDENT]