-
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
Improve loom features support #7045
Conversation
7c018ba
to
fce932c
Compare
d6a4d3e
to
1b74c15
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 47 metrics, 16 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.35.0-SNAPSHOT~065b73e818, baseline=1.35.0-SNAPSHOT~e2a66dfea5
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.052 s) : 0, 1052318
Total [baseline] (10.272 s) : 0, 10272229
Agent [candidate] (1.056 s) : 0, 1055558
Total [candidate] (10.29 s) : 0, 10290078
section appsec
Agent [baseline] (1.175 s) : 0, 1174825
Total [baseline] (10.494 s) : 0, 10493918
Agent [candidate] (1.18 s) : 0, 1180165
Total [candidate] (10.432 s) : 0, 10431975
section iast
Agent [baseline] (1.182 s) : 0, 1181605
Total [baseline] (10.787 s) : 0, 10787307
Agent [candidate] (1.186 s) : 0, 1185626
Total [candidate] (10.773 s) : 0, 10772954
section profiling
Agent [baseline] (1.264 s) : 0, 1263920
Total [baseline] (10.637 s) : 0, 10636914
Agent [candidate] (1.263 s) : 0, 1263211
Total [candidate] (10.613 s) : 0, 10612713
gantt
title petclinic - break down per module: candidate=1.35.0-SNAPSHOT~065b73e818, baseline=1.35.0-SNAPSHOT~e2a66dfea5
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (649.293 ms) : 0, 649293
BytebuddyAgent [candidate] (651.749 ms) : 0, 651749
GlobalTracer [baseline] (311.091 ms) : 0, 311091
GlobalTracer [candidate] (311.401 ms) : 0, 311401
AppSec [baseline] (49.533 ms) : 0, 49533
AppSec [candidate] (49.845 ms) : 0, 49845
Remote Config [baseline] (647.827 µs) : 0, 648
Remote Config [candidate] (657.292 µs) : 0, 657
Telemetry [baseline] (7.551 ms) : 0, 7551
Telemetry [candidate] (7.51 ms) : 0, 7510
section appsec
BytebuddyAgent [baseline] (674.217 ms) : 0, 674217
BytebuddyAgent [candidate] (677.219 ms) : 0, 677219
GlobalTracer [baseline] (295.264 ms) : 0, 295264
GlobalTracer [candidate] (296.667 ms) : 0, 296667
AppSec [baseline] (152.632 ms) : 0, 152632
AppSec [candidate] (153.256 ms) : 0, 153256
IAST [baseline] (18.704 ms) : 0, 18704
IAST [candidate] (18.862 ms) : 0, 18862
Remote Config [baseline] (634.855 µs) : 0, 635
Remote Config [candidate] (635.983 µs) : 0, 636
Telemetry [baseline] (8.39 ms) : 0, 8390
Telemetry [candidate] (8.445 ms) : 0, 8445
section iast
BytebuddyAgent [baseline] (774.951 ms) : 0, 774951
BytebuddyAgent [candidate] (777.212 ms) : 0, 777212
GlobalTracer [baseline] (292.185 ms) : 0, 292185
GlobalTracer [candidate] (292.609 ms) : 0, 292609
AppSec [baseline] (48.75 ms) : 0, 48750
AppSec [candidate] (48.895 ms) : 0, 48895
IAST [baseline] (23.337 ms) : 0, 23337
IAST [candidate] (24.658 ms) : 0, 24658
Remote Config [baseline] (601.372 µs) : 0, 601
Remote Config [candidate] (580.668 µs) : 0, 581
Telemetry [baseline] (7.428 ms) : 0, 7428
Telemetry [candidate] (7.326 ms) : 0, 7326
section profiling
BytebuddyAgent [baseline] (665.017 ms) : 0, 665017
BytebuddyAgent [candidate] (664.748 ms) : 0, 664748
GlobalTracer [baseline] (386.357 ms) : 0, 386357
GlobalTracer [candidate] (386.871 ms) : 0, 386871
AppSec [baseline] (50.454 ms) : 0, 50454
AppSec [candidate] (50.957 ms) : 0, 50957
Remote Config [baseline] (824.956 µs) : 0, 825
Remote Config [candidate] (810.138 µs) : 0, 810
Telemetry [baseline] (7.553 ms) : 0, 7553
Telemetry [candidate] (7.5 ms) : 0, 7500
ProfilingAgent [baseline] (96.924 ms) : 0, 96924
ProfilingAgent [candidate] (95.405 ms) : 0, 95405
Profiling [baseline] (96.948 ms) : 0, 96948
Profiling [candidate] (95.43 ms) : 0, 95430
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.35.0-SNAPSHOT~065b73e818, baseline=1.35.0-SNAPSHOT~e2a66dfea5
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.054 s) : 0, 1054190
Total [baseline] (8.539 s) : 0, 8538751
Agent [candidate] (1.054 s) : 0, 1053576
Total [candidate] (8.526 s) : 0, 8525640
section iast
Agent [baseline] (1.183 s) : 0, 1182514
Total [baseline] (8.985 s) : 0, 8984957
Agent [candidate] (1.195 s) : 0, 1195431
Total [candidate] (9.056 s) : 0, 9056018
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.2 s) : 0, 1200205
Total [baseline] (9.018 s) : 0, 9018093
Agent [candidate] (1.195 s) : 0, 1195359
Total [candidate] (9.007 s) : 0, 9007442
section iast_TELEMETRY_OFF
Agent [baseline] (1.179 s) : 0, 1178527
Total [baseline] (8.999 s) : 0, 8999461
Agent [candidate] (1.192 s) : 0, 1192117
Total [candidate] (9.025 s) : 0, 9024869
gantt
title insecure-bank - break down per module: candidate=1.35.0-SNAPSHOT~065b73e818, baseline=1.35.0-SNAPSHOT~e2a66dfea5
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (650.688 ms) : 0, 650688
BytebuddyAgent [candidate] (649.992 ms) : 0, 649992
GlobalTracer [baseline] (311.32 ms) : 0, 311320
GlobalTracer [candidate] (311.572 ms) : 0, 311572
AppSec [baseline] (49.621 ms) : 0, 49621
AppSec [candidate] (49.501 ms) : 0, 49501
Remote Config [baseline] (658.416 µs) : 0, 658
Remote Config [candidate] (655.248 µs) : 0, 655
Telemetry [baseline] (7.54 ms) : 0, 7540
Telemetry [candidate] (7.541 ms) : 0, 7541
section iast
BytebuddyAgent [baseline] (775.506 ms) : 0, 775506
BytebuddyAgent [candidate] (782.68 ms) : 0, 782680
GlobalTracer [baseline] (291.454 ms) : 0, 291454
GlobalTracer [candidate] (295.04 ms) : 0, 295040
AppSec [baseline] (49.619 ms) : 0, 49619
AppSec [candidate] (48.743 ms) : 0, 48743
Remote Config [baseline] (596.39 µs) : 0, 596
Remote Config [candidate] (613.213 µs) : 0, 613
Telemetry [baseline] (6.581 ms) : 0, 6581
Telemetry [candidate] (7.54 ms) : 0, 7540
IAST [baseline] (24.463 ms) : 0, 24463
IAST [candidate] (26.191 ms) : 0, 26191
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (786.971 ms) : 0, 786971
BytebuddyAgent [candidate] (782.689 ms) : 0, 782689
GlobalTracer [baseline] (296.013 ms) : 0, 296013
GlobalTracer [candidate] (294.472 ms) : 0, 294472
AppSec [baseline] (50.247 ms) : 0, 50247
AppSec [candidate] (47.791 ms) : 0, 47791
Remote Config [baseline] (599.016 µs) : 0, 599
Remote Config [candidate] (609.26 µs) : 0, 609
Telemetry [baseline] (7.485 ms) : 0, 7485
Telemetry [candidate] (8.206 ms) : 0, 8206
IAST [baseline] (23.97 ms) : 0, 23970
IAST [candidate] (26.838 ms) : 0, 26838
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (771.052 ms) : 0, 771052
BytebuddyAgent [candidate] (778.995 ms) : 0, 778995
GlobalTracer [baseline] (291.087 ms) : 0, 291087
GlobalTracer [candidate] (295.597 ms) : 0, 295597
AppSec [baseline] (50.545 ms) : 0, 50545
AppSec [candidate] (51.847 ms) : 0, 51847
Remote Config [baseline] (633.7 µs) : 0, 634
Remote Config [candidate] (628.756 µs) : 0, 629
Telemetry [baseline] (7.154 ms) : 0, 7154
Telemetry [candidate] (6.549 ms) : 0, 6549
IAST [baseline] (23.692 ms) : 0, 23692
IAST [candidate] (23.848 ms) : 0, 23848
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.35.0-SNAPSHOT~065b73e818, baseline=1.35.0-SNAPSHOT~e2a66dfea5
dateFormat X
axisFormat %s
section baseline
no_agent (370.367 µs) : 351, 390
. : milestone, 370,
iast (484.429 µs) : 463, 505
. : milestone, 484,
iast_FULL (562.606 µs) : 542, 584
. : milestone, 563,
iast_GLOBAL (510.724 µs) : 490, 532
. : milestone, 511,
iast_HARDCODED_SECRET_DISABLED (484.853 µs) : 463, 507
. : milestone, 485,
iast_INACTIVE (459.982 µs) : 439, 481
. : milestone, 460,
iast_TELEMETRY_OFF (475.09 µs) : 453, 497
. : milestone, 475,
tracing (453.497 µs) : 433, 474
. : milestone, 453,
section candidate
no_agent (370.383 µs) : 350, 390
. : milestone, 370,
iast (487.396 µs) : 466, 509
. : milestone, 487,
iast_FULL (558.844 µs) : 538, 580
. : milestone, 559,
iast_GLOBAL (510.427 µs) : 489, 531
. : milestone, 510,
iast_HARDCODED_SECRET_DISABLED (486.837 µs) : 466, 508
. : milestone, 487,
iast_INACTIVE (461.819 µs) : 440, 484
. : milestone, 462,
iast_TELEMETRY_OFF (478.133 µs) : 457, 500
. : milestone, 478,
tracing (449.046 µs) : 428, 470
. : milestone, 449,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.35.0-SNAPSHOT~065b73e818, baseline=1.35.0-SNAPSHOT~e2a66dfea5
dateFormat X
axisFormat %s
section baseline
no_agent (1.35 ms) : 1331, 1369
. : milestone, 1350,
appsec (1.726 ms) : 1701, 1750
. : milestone, 1726,
appsec_no_iast (1.727 ms) : 1703, 1751
. : milestone, 1727,
iast (1.489 ms) : 1466, 1511
. : milestone, 1489,
profiling (1.509 ms) : 1485, 1532
. : milestone, 1509,
tracing (1.459 ms) : 1435, 1483
. : milestone, 1459,
section candidate
no_agent (1.36 ms) : 1341, 1379
. : milestone, 1360,
appsec (1.714 ms) : 1689, 1740
. : milestone, 1714,
appsec_no_iast (1.731 ms) : 1707, 1756
. : milestone, 1731,
iast (1.499 ms) : 1476, 1523
. : milestone, 1499,
profiling (1.494 ms) : 1469, 1518
. : milestone, 1494,
tracing (1.5 ms) : 1476, 1524
. : milestone, 1500,
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 biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.35.0-SNAPSHOT~065b73e818, baseline=1.35.0-SNAPSHOT~e2a66dfea5
dateFormat X
axisFormat %s
section baseline
no_agent (15.013 s) : 15013000, 15013000
. : milestone, 15013000,
appsec (15.055 s) : 15055000, 15055000
. : milestone, 15055000,
iast (18.88 s) : 18880000, 18880000
. : milestone, 18880000,
iast_GLOBAL (17.91 s) : 17910000, 17910000
. : milestone, 17910000,
profiling (15.211 s) : 15211000, 15211000
. : milestone, 15211000,
tracing (14.954 s) : 14954000, 14954000
. : milestone, 14954000,
section candidate
no_agent (15.35 s) : 15350000, 15350000
. : milestone, 15350000,
appsec (15.092 s) : 15092000, 15092000
. : milestone, 15092000,
iast (18.739 s) : 18739000, 18739000
. : milestone, 18739000,
iast_GLOBAL (18.011 s) : 18011000, 18011000
. : milestone, 18011000,
profiling (15.348 s) : 15348000, 15348000
. : milestone, 15348000,
tracing (14.918 s) : 14918000, 14918000
. : milestone, 14918000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.35.0-SNAPSHOT~065b73e818, baseline=1.35.0-SNAPSHOT~e2a66dfea5
dateFormat X
axisFormat %s
section baseline
no_agent (1.455 ms) : 1444, 1466
. : milestone, 1455,
appsec (2.181 ms) : 2147, 2214
. : milestone, 2181,
iast (1.958 ms) : 1917, 1999
. : milestone, 1958,
iast_GLOBAL (1.995 ms) : 1955, 2036
. : milestone, 1995,
profiling (1.832 ms) : 1799, 1864
. : milestone, 1832,
tracing (1.824 ms) : 1792, 1856
. : milestone, 1824,
section candidate
no_agent (1.457 ms) : 1446, 1468
. : milestone, 1457,
appsec (2.201 ms) : 2167, 2236
. : milestone, 2201,
iast (1.966 ms) : 1925, 2008
. : milestone, 1966,
iast_GLOBAL (1.995 ms) : 1955, 2036
. : milestone, 1995,
profiling (1.825 ms) : 1792, 1858
. : milestone, 1825,
tracing (1.827 ms) : 1794, 1859
. : milestone, 1827,
|
...nstrumentation/java/concurrent/structuredconcurrency/StructuredTaskScopeInstrumentation.java
Show resolved
Hide resolved
dd-java-agent/instrumentation/java-concurrent/java-concurrent-21/build.gradle
Show resolved
Hide resolved
1b74c15
to
3860e2f
Compare
Add structured concurrency support Improve virtual thread tests Create a dedicated concurrency module for JDK21+
3860e2f
to
065b73e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What Does This Do
This PR brings support for the Java structured concurrency API (currently in preview) and refactors the java concurrent instrumentations:
:java-concurrent-21
,previewTest
,latestDep
and be part of thecheck
Gradle goal,null
.Motivation
The goal is to improve our support for (current and incoming) Loom features.
Additional Notes
Jira ticket: [PROJ-IDENT]