Avoid early tasks realization when creating forkedTest task#9817
Avoid early tasks realization when creating forkedTest task#9817
forkedTest task#9817Conversation
This comment has been minimized.
This comment has been minimized.
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 54 metrics, 11 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.57.0-SNAPSHOT~9786a6cc17, baseline=1.57.0-SNAPSHOT~6bbe0531a7
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.052 s) : 0, 1052087
Total [baseline] (10.728 s) : 0, 10728437
Agent [candidate] (1.053 s) : 0, 1052575
Total [candidate] (10.797 s) : 0, 10797268
section appsec
Agent [baseline] (1.225 s) : 0, 1225394
Total [baseline] (10.953 s) : 0, 10952724
Agent [candidate] (1.223 s) : 0, 1222719
Total [candidate] (10.833 s) : 0, 10832805
section iast
Agent [baseline] (1.199 s) : 0, 1199223
Total [baseline] (11.237 s) : 0, 11237000
Agent [candidate] (1.191 s) : 0, 1191470
Total [candidate] (11.241 s) : 0, 11241040
section profiling
Agent [baseline] (1.208 s) : 0, 1207743
Total [baseline] (10.891 s) : 0, 10891344
Agent [candidate] (1.199 s) : 0, 1199215
Total [candidate] (10.934 s) : 0, 10934383
gantt
title petclinic - break down per module: candidate=1.57.0-SNAPSHOT~9786a6cc17, baseline=1.57.0-SNAPSHOT~6bbe0531a7
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.485 ms) : 0, 1485
crashtracking [candidate] (1.486 ms) : 0, 1486
BytebuddyAgent [baseline] (707.024 ms) : 0, 707024
BytebuddyAgent [candidate] (707.598 ms) : 0, 707598
GlobalTracer [baseline] (248.889 ms) : 0, 248889
GlobalTracer [candidate] (249.129 ms) : 0, 249129
AppSec [baseline] (32.14 ms) : 0, 32140
AppSec [candidate] (32.136 ms) : 0, 32136
Debugger [baseline] (6.402 ms) : 0, 6402
Debugger [candidate] (6.393 ms) : 0, 6393
Remote Config [baseline] (696.345 µs) : 0, 696
Remote Config [candidate] (674.688 µs) : 0, 675
Telemetry [baseline] (15.74 ms) : 0, 15740
Telemetry [candidate] (15.516 ms) : 0, 15516
Flare Poller [baseline] (4.924 ms) : 0, 4924
Flare Poller [candidate] (4.877 ms) : 0, 4877
section appsec
crashtracking [baseline] (1.494 ms) : 0, 1494
crashtracking [candidate] (1.482 ms) : 0, 1482
BytebuddyAgent [baseline] (729.898 ms) : 0, 729898
BytebuddyAgent [candidate] (729.241 ms) : 0, 729241
GlobalTracer [baseline] (240.24 ms) : 0, 240240
GlobalTracer [candidate] (239.488 ms) : 0, 239488
AppSec [baseline] (175.063 ms) : 0, 175063
AppSec [candidate] (173.975 ms) : 0, 173975
Debugger [baseline] (6.294 ms) : 0, 6294
Debugger [candidate] (6.261 ms) : 0, 6261
Remote Config [baseline] (694.892 µs) : 0, 695
Remote Config [candidate] (677.792 µs) : 0, 678
Telemetry [baseline] (8.14 ms) : 0, 8140
Telemetry [candidate] (8.073 ms) : 0, 8073
Flare Poller [baseline] (3.996 ms) : 0, 3996
Flare Poller [candidate] (3.917 ms) : 0, 3917
IAST [baseline] (24.631 ms) : 0, 24631
IAST [candidate] (24.707 ms) : 0, 24707
section iast
crashtracking [baseline] (1.502 ms) : 0, 1502
crashtracking [candidate] (1.485 ms) : 0, 1485
BytebuddyAgent [baseline] (837.244 ms) : 0, 837244
BytebuddyAgent [candidate] (830.604 ms) : 0, 830604
GlobalTracer [baseline] (238.653 ms) : 0, 238653
GlobalTracer [candidate] (237.253 ms) : 0, 237253
AppSec [baseline] (29.741 ms) : 0, 29741
AppSec [candidate] (30.037 ms) : 0, 30037
Debugger [baseline] (6.039 ms) : 0, 6039
Debugger [candidate] (6.06 ms) : 0, 6060
Remote Config [baseline] (603.837 µs) : 0, 604
Remote Config [candidate] (617.932 µs) : 0, 618
Telemetry [baseline] (7.939 ms) : 0, 7939
Telemetry [candidate] (8.025 ms) : 0, 8025
Flare Poller [baseline] (10.701 ms) : 0, 10701
Flare Poller [candidate] (10.929 ms) : 0, 10929
IAST [baseline] (31.824 ms) : 0, 31824
IAST [candidate] (31.667 ms) : 0, 31667
section profiling
crashtracking [baseline] (1.443 ms) : 0, 1443
crashtracking [candidate] (1.427 ms) : 0, 1427
BytebuddyAgent [baseline] (740.237 ms) : 0, 740237
BytebuddyAgent [candidate] (734.888 ms) : 0, 734888
GlobalTracer [baseline] (224.216 ms) : 0, 224216
GlobalTracer [candidate] (222.943 ms) : 0, 222943
AppSec [baseline] (32.424 ms) : 0, 32424
AppSec [candidate] (32.091 ms) : 0, 32091
Debugger [baseline] (6.882 ms) : 0, 6882
Debugger [candidate] (7.555 ms) : 0, 7555
Remote Config [baseline] (711.567 µs) : 0, 712
Remote Config [candidate] (707.032 µs) : 0, 707
Telemetry [baseline] (16.406 ms) : 0, 16406
Telemetry [candidate] (15.5 ms) : 0, 15500
Flare Poller [baseline] (4.218 ms) : 0, 4218
Flare Poller [candidate] (4.115 ms) : 0, 4115
ProfilingAgent [baseline] (111.576 ms) : 0, 111576
ProfilingAgent [candidate] (110.858 ms) : 0, 110858
Profiling [baseline] (112.236 ms) : 0, 112236
Profiling [candidate] (111.497 ms) : 0, 111497
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.57.0-SNAPSHOT~9786a6cc17, baseline=1.57.0-SNAPSHOT~6bbe0531a7
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.052 s) : 0, 1051704
Total [baseline] (8.683 s) : 0, 8683118
Agent [candidate] (1.049 s) : 0, 1048805
Total [candidate] (8.706 s) : 0, 8706239
section iast
Agent [baseline] (1.19 s) : 0, 1189924
Total [baseline] (9.3 s) : 0, 9300388
Agent [candidate] (1.189 s) : 0, 1188787
Total [candidate] (9.331 s) : 0, 9330910
gantt
title insecure-bank - break down per module: candidate=1.57.0-SNAPSHOT~9786a6cc17, baseline=1.57.0-SNAPSHOT~6bbe0531a7
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.495 ms) : 0, 1495
crashtracking [candidate] (1.485 ms) : 0, 1485
BytebuddyAgent [baseline] (707.115 ms) : 0, 707115
BytebuddyAgent [candidate] (705.725 ms) : 0, 705725
GlobalTracer [baseline] (248.44 ms) : 0, 248440
GlobalTracer [candidate] (247.833 ms) : 0, 247833
AppSec [baseline] (31.957 ms) : 0, 31957
AppSec [candidate] (31.9 ms) : 0, 31900
Debugger [baseline] (6.429 ms) : 0, 6429
Debugger [candidate] (6.373 ms) : 0, 6373
Remote Config [baseline] (694.551 µs) : 0, 695
Remote Config [candidate] (664.033 µs) : 0, 664
Telemetry [baseline] (14.844 ms) : 0, 14844
Telemetry [candidate] (14.592 ms) : 0, 14592
Flare Poller [baseline] (5.674 ms) : 0, 5674
Flare Poller [candidate] (5.468 ms) : 0, 5468
section iast
crashtracking [baseline] (1.49 ms) : 0, 1490
crashtracking [candidate] (1.486 ms) : 0, 1486
BytebuddyAgent [baseline] (829.557 ms) : 0, 829557
BytebuddyAgent [candidate] (829.12 ms) : 0, 829120
GlobalTracer [baseline] (236.934 ms) : 0, 236934
GlobalTracer [candidate] (236.764 ms) : 0, 236764
AppSec [baseline] (31.353 ms) : 0, 31353
AppSec [candidate] (28.626 ms) : 0, 28626
Debugger [baseline] (6.036 ms) : 0, 6036
Debugger [candidate] (5.989 ms) : 0, 5989
Remote Config [baseline] (609.956 µs) : 0, 610
Remote Config [candidate] (601.4 µs) : 0, 601
Telemetry [baseline] (7.998 ms) : 0, 7998
Telemetry [candidate] (7.83 ms) : 0, 7830
Flare Poller [baseline] (10.9 ms) : 0, 10900
Flare Poller [candidate] (10.683 ms) : 0, 10683
IAST [baseline] (30.195 ms) : 0, 30195
IAST [candidate] (32.833 ms) : 0, 32833
LoadParameters
See matching parameters
SummaryFound 3 performance improvements and 0 performance regressions! Performance is the same for 16 metrics, 17 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~9786a6cc17, baseline=1.57.0-SNAPSHOT~6bbe0531a7
dateFormat X
axisFormat %s
section baseline
no_agent (19.616 ms) : 19408, 19824
. : milestone, 19616,
appsec (18.43 ms) : 18243, 18618
. : milestone, 18430,
code_origins (17.552 ms) : 17379, 17726
. : milestone, 17552,
iast (18.667 ms) : 18471, 18863
. : milestone, 18667,
profiling (18.335 ms) : 18155, 18515
. : milestone, 18335,
tracing (18.579 ms) : 18391, 18767
. : milestone, 18579,
section candidate
no_agent (18.108 ms) : 17922, 18295
. : milestone, 18108,
appsec (18.606 ms) : 18418, 18794
. : milestone, 18606,
code_origins (17.724 ms) : 17551, 17897
. : milestone, 17724,
iast (17.454 ms) : 17281, 17626
. : milestone, 17454,
profiling (18.367 ms) : 18180, 18554
. : milestone, 18367,
tracing (17.604 ms) : 17427, 17780
. : milestone, 17604,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.57.0-SNAPSHOT~9786a6cc17, baseline=1.57.0-SNAPSHOT~6bbe0531a7
dateFormat X
axisFormat %s
section baseline
no_agent (1.195 ms) : 1183, 1206
. : milestone, 1195,
iast (3.169 ms) : 3129, 3208
. : milestone, 3169,
iast_FULL (5.998 ms) : 5936, 6059
. : milestone, 5998,
iast_GLOBAL (3.451 ms) : 3402, 3499
. : milestone, 3451,
profiling (2.136 ms) : 2117, 2156
. : milestone, 2136,
tracing (1.834 ms) : 1818, 1850
. : milestone, 1834,
section candidate
no_agent (1.2 ms) : 1188, 1212
. : milestone, 1200,
iast (3.243 ms) : 3203, 3283
. : milestone, 3243,
iast_FULL (5.822 ms) : 5764, 5879
. : milestone, 5822,
iast_GLOBAL (3.579 ms) : 3515, 3643
. : milestone, 3579,
profiling (1.932 ms) : 1916, 1948
. : milestone, 1932,
tracing (1.843 ms) : 1828, 1858
. : milestone, 1843,
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.57.0-SNAPSHOT~9786a6cc17, baseline=1.57.0-SNAPSHOT~6bbe0531a7
dateFormat X
axisFormat %s
section baseline
no_agent (1.473 ms) : 1462, 1485
. : milestone, 1473,
appsec (2.451 ms) : 2399, 2502
. : milestone, 2451,
iast (2.2 ms) : 2135, 2264
. : milestone, 2200,
iast_GLOBAL (2.249 ms) : 2185, 2314
. : milestone, 2249,
profiling (2.078 ms) : 2024, 2131
. : milestone, 2078,
tracing (2.038 ms) : 1987, 2088
. : milestone, 2038,
section candidate
no_agent (1.475 ms) : 1463, 1486
. : milestone, 1475,
appsec (2.459 ms) : 2408, 2511
. : milestone, 2459,
iast (2.214 ms) : 2149, 2278
. : milestone, 2214,
iast_GLOBAL (2.251 ms) : 2186, 2316
. : milestone, 2251,
profiling (2.057 ms) : 2005, 2109
. : milestone, 2057,
tracing (2.042 ms) : 1991, 2093
. : milestone, 2042,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.57.0-SNAPSHOT~9786a6cc17, baseline=1.57.0-SNAPSHOT~6bbe0531a7
dateFormat X
axisFormat %s
section baseline
no_agent (15.05 s) : 15050000, 15050000
. : milestone, 15050000,
appsec (15.067 s) : 15067000, 15067000
. : milestone, 15067000,
iast (18.435 s) : 18435000, 18435000
. : milestone, 18435000,
iast_GLOBAL (18.009 s) : 18009000, 18009000
. : milestone, 18009000,
profiling (15.242 s) : 15242000, 15242000
. : milestone, 15242000,
tracing (14.808 s) : 14808000, 14808000
. : milestone, 14808000,
section candidate
no_agent (15.296 s) : 15296000, 15296000
. : milestone, 15296000,
appsec (14.566 s) : 14566000, 14566000
. : milestone, 14566000,
iast (18.595 s) : 18595000, 18595000
. : milestone, 18595000,
iast_GLOBAL (17.961 s) : 17961000, 17961000
. : milestone, 17961000,
profiling (14.565 s) : 14565000, 14565000
. : milestone, 14565000,
tracing (14.607 s) : 14607000, 14607000
. : milestone, 14607000,
|
0a42e0e to
497a935
Compare
…r dependency locking
|
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
|
|
||
| plugins { | ||
| id 'biz.aQute.bnd.builder' version '6.1.0' apply true | ||
| id 'biz.aQute.bnd.builder' version '6.4.0' apply true |
There was a problem hiding this comment.
note: bnd gradle plugin 6.1 was modifying the configurations after they were made immutable by Gradle. EDIT: this is incorrect, and the underlying issue is fixed in #10039
Can't update to 7.x as it requires a JDK 17
There was a problem hiding this comment.
Let's put a TODO here, since we are close to update JDK for Gradle?
There was a problem hiding this comment.
Let's write that in the gdoc instead
AlexeyKuznetsov-DD
left a comment
There was a problem hiding this comment.
LGTM, left 2 minor comments
|
|
||
| plugins { | ||
| id 'biz.aQute.bnd.builder' version '6.1.0' apply true | ||
| id 'biz.aQute.bnd.builder' version '6.4.0' apply true |
There was a problem hiding this comment.
Let's put a TODO here, since we are close to update JDK for Gradle?
| tasks.register('forkedTest', Test) { | ||
| group = LifecycleBasePlugin.VERIFICATION_GROUP | ||
| useJUnitPlatform() |
There was a problem hiding this comment.
Not sure if I understand correctly, but PR descriptions is "Remove unneeded configuration", and here you added...
Probably you need to update PR description?
There was a problem hiding this comment.
I'll rename the PR name.
| attributes('Bundle-Activator': 'datadog.smoketest.osgi.client.Activator') | ||
| } | ||
| } | ||
| clientBundle.get() |
There was a problem hiding this comment.
Just curious: what this line is doing?
There was a problem hiding this comment.
huh, that's wrong. proper fix should be here :
forkedTestforkedTest task
What Does This Do
The check was asking gradle to find whether the project had any
forkedTesttest task. But this check is useless, because when it's done noforkedTesttasks has yet be created. No project actually register theforkedTesttask. So let's configure it right away.Also since it's a test task, this change explicitly indicates this task is using the JUnitPlatform.
Motivation
Additional Notes
Follow-up fix:
Contributor Checklist
type:and (comp:orinst:) labels in addition to any useful labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]