Skip to content

Conversation

@bric3
Copy link
Contributor

@bric3 bric3 commented Oct 14, 2025

What Does This Do

Removes instrumentation module's afterEvaluate.

This looks like it is reducing sync time to ~1min on my M1
image

Motivation

Using afterEvaluate is a bad practice and has tighter restriction in Gradle 9+.

https://docs.gradle.org/9.1.0/userguide/task_configuration_avoidance.html#8_some_apis_may_be_disallowed_if_you_try_to_access_them_from_the_new_apis_configuration_blocks

It introduces subtle ordering issues which can be very challenging to debug.

From my notes:

  1. Anyone wanting to use code in an afterEvaluate {} now also needs to use afterEvaluate {} all the way down.
  2. It becomes even more complicated as more plugins/scripts are involved
  3. More generally, it makes dependencies between plugins/scripts implicit and error prone

Abusing afterEvaluate causes many things that will try to run later and later after each other when order is not guaranteed. In almost all situations, afterEvaluate is a work-around that introduces timing problems and race conditions and just treats symptoms.

Usually, afterEvaluate {} is good in this occasion:

  • consistency checks, i.e. ensure that something is not misconfigured.

Additional Notes

Blocked by

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@bric3 bric3 requested a review from a team as a code owner October 14, 2025 14:57
@bric3 bric3 added type: enhancement Enhancements and improvements tag: no release notes Changes to exclude from release notes comp: tooling Build & Tooling labels Oct 14, 2025
@bric3 bric3 marked this pull request as draft October 14, 2025 15:05
@bric3 bric3 force-pushed the bdu/avoid-afterEvaluate-in-instrumentation branch from d930307 to ff71451 Compare November 12, 2025 17:58
@datadog-official

This comment has been minimized.

@pr-commenter
Copy link

pr-commenter bot commented Nov 12, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bdu/avoid-afterEvaluate-in-instrumentation
git_commit_date 1763625932 1763630953
git_commit_sha 0614d73 bd9e60c
release_version 1.56.0-SNAPSHOT~0614d7316c 1.56.0-SNAPSHOT~bd9e60cdc1
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1763632926 1763632926
ci_job_id 1246980322 1246980322
ci_pipeline_id 83313394 83313394
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-y0wtx3z7 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-y0wtx3z7 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 57 metrics, 8 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.56.0-SNAPSHOT~bd9e60cdc1, baseline=1.56.0-SNAPSHOT~0614d7316c

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.103 s) : 0, 1103197
Total [baseline] (8.895 s) : 0, 8895321
Agent [candidate] (1.11 s) : 0, 1109768
Total [candidate] (8.914 s) : 0, 8914283
section iast
Agent [baseline] (1.25 s) : 0, 1249732
Total [baseline] (9.588 s) : 0, 9587895
Agent [candidate] (1.255 s) : 0, 1254564
Total [candidate] (9.588 s) : 0, 9588214
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.103 s -
Agent iast 1.25 s 146.535 ms (13.3%)
Total tracing 8.895 s -
Total iast 9.588 s 692.574 ms (7.8%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.11 s -
Agent iast 1.255 s 144.796 ms (13.0%)
Total tracing 8.914 s -
Total iast 9.588 s 673.93 ms (7.6%)
gantt
    title insecure-bank - break down per module: candidate=1.56.0-SNAPSHOT~bd9e60cdc1, baseline=1.56.0-SNAPSHOT~0614d7316c

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.452 ms) : 0, 1452
crashtracking [candidate] (1.484 ms) : 0, 1484
BytebuddyAgent [baseline] (709.35 ms) : 0, 709350
BytebuddyAgent [candidate] (713.385 ms) : 0, 713385
GlobalTracer [baseline] (249.478 ms) : 0, 249478
GlobalTracer [candidate] (251.019 ms) : 0, 251019
AppSec [baseline] (32.093 ms) : 0, 32093
AppSec [candidate] (32.352 ms) : 0, 32352
Debugger [baseline] (63.276 ms) : 0, 63276
Debugger [candidate] (63.65 ms) : 0, 63650
Remote Config [baseline] (624.801 µs) : 0, 625
Remote Config [candidate] (634.567 µs) : 0, 635
Telemetry [baseline] (8.231 ms) : 0, 8231
Telemetry [candidate] (8.345 ms) : 0, 8345
Flare Poller [baseline] (3.693 ms) : 0, 3693
Flare Poller [candidate] (3.745 ms) : 0, 3745
section iast
crashtracking [baseline] (1.478 ms) : 0, 1478
crashtracking [candidate] (1.484 ms) : 0, 1484
BytebuddyAgent [baseline] (841.108 ms) : 0, 841108
BytebuddyAgent [candidate] (842.99 ms) : 0, 842990
GlobalTracer [baseline] (238.966 ms) : 0, 238966
GlobalTracer [candidate] (239.664 ms) : 0, 239664
AppSec [baseline] (32.302 ms) : 0, 32302
AppSec [candidate] (34.206 ms) : 0, 34206
Debugger [baseline] (59.775 ms) : 0, 59775
Debugger [candidate] (61.02 ms) : 0, 61020
Remote Config [baseline] (560.176 µs) : 0, 560
Remote Config [candidate] (546.397 µs) : 0, 546
Telemetry [baseline] (7.59 ms) : 0, 7590
Telemetry [candidate] (7.632 ms) : 0, 7632
Flare Poller [baseline] (3.451 ms) : 0, 3451
Flare Poller [candidate] (3.519 ms) : 0, 3519
IAST [baseline] (29.265 ms) : 0, 29265
IAST [candidate] (27.91 ms) : 0, 27910
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.56.0-SNAPSHOT~bd9e60cdc1, baseline=1.56.0-SNAPSHOT~0614d7316c

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.108 s) : 0, 1107510
Total [baseline] (7.494 s) : 0, 7493580
Agent [candidate] (1.109 s) : 0, 1109280
Total [candidate] (10.851 s) : 0, 10851330
section appsec
Agent [baseline] (1.315 s) : 0, 1314631
Total [baseline] (11.339 s) : 0, 11338777
Agent [candidate] (1.302 s) : 0, 1301784
Total [candidate] (11.285 s) : 0, 11285072
section iast
Agent [baseline] (1.249 s) : 0, 1248750
Total [baseline] (11.377 s) : 0, 11377079
Agent [candidate] (1.267 s) : 0, 1266747
Total [candidate] (11.429 s) : 0, 11429456
section profiling
Agent [baseline] (1.241 s) : 0, 1241133
Total [baseline] (11.226 s) : 0, 11225667
Agent [candidate] (1.243 s) : 0, 1242988
Total [candidate] (11.191 s) : 0, 11191411
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.108 s -
Agent appsec 1.315 s 207.121 ms (18.7%)
Agent iast 1.249 s 141.24 ms (12.8%)
Agent profiling 1.241 s 133.623 ms (12.1%)
Total tracing 7.494 s -
Total appsec 11.339 s 3.845 s (51.3%)
Total iast 11.377 s 3.883 s (51.8%)
Total profiling 11.226 s 3.732 s (49.8%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.109 s -
Agent appsec 1.302 s 192.503 ms (17.4%)
Agent iast 1.267 s 157.467 ms (14.2%)
Agent profiling 1.243 s 133.708 ms (12.1%)
Total tracing 10.851 s -
Total appsec 11.285 s 433.742 ms (4.0%)
Total iast 11.429 s 578.126 ms (5.3%)
Total profiling 11.191 s 340.081 ms (3.1%)
gantt
    title petclinic - break down per module: candidate=1.56.0-SNAPSHOT~bd9e60cdc1, baseline=1.56.0-SNAPSHOT~0614d7316c

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.456 ms) : 0, 1456
crashtracking [candidate] (1.468 ms) : 0, 1468
BytebuddyAgent [baseline] (711.562 ms) : 0, 711562
BytebuddyAgent [candidate] (712.011 ms) : 0, 712011
GlobalTracer [baseline] (250.699 ms) : 0, 250699
GlobalTracer [candidate] (251.222 ms) : 0, 251222
AppSec [baseline] (32.375 ms) : 0, 32375
AppSec [candidate] (32.283 ms) : 0, 32283
Debugger [baseline] (63.909 ms) : 0, 63909
Debugger [candidate] (64.201 ms) : 0, 64201
Remote Config [baseline] (618.928 µs) : 0, 619
Remote Config [candidate] (632.586 µs) : 0, 633
Telemetry [baseline] (8.239 ms) : 0, 8239
Telemetry [candidate] (8.442 ms) : 0, 8442
Flare Poller [baseline] (3.732 ms) : 0, 3732
Flare Poller [candidate] (3.821 ms) : 0, 3821
section appsec
crashtracking [baseline] (1.518 ms) : 0, 1518
crashtracking [candidate] (1.481 ms) : 0, 1481
BytebuddyAgent [baseline] (752.965 ms) : 0, 752965
BytebuddyAgent [candidate] (744.847 ms) : 0, 744847
GlobalTracer [baseline] (247.598 ms) : 0, 247598
GlobalTracer [candidate] (244.906 ms) : 0, 244906
AppSec [baseline] (176.027 ms) : 0, 176027
AppSec [candidate] (174.78 ms) : 0, 174780
Debugger [baseline] (62.282 ms) : 0, 62282
Debugger [candidate] (62.42 ms) : 0, 62420
Remote Config [baseline] (666.105 µs) : 0, 666
Remote Config [candidate] (663.31 µs) : 0, 663
Telemetry [baseline] (8.204 ms) : 0, 8204
Telemetry [candidate] (8.165 ms) : 0, 8165
Flare Poller [baseline] (3.914 ms) : 0, 3914
Flare Poller [candidate] (3.948 ms) : 0, 3948
IAST [baseline] (25.539 ms) : 0, 25539
IAST [candidate] (25.017 ms) : 0, 25017
section iast
crashtracking [baseline] (1.464 ms) : 0, 1464
crashtracking [candidate] (1.493 ms) : 0, 1493
BytebuddyAgent [baseline] (837.758 ms) : 0, 837758
BytebuddyAgent [candidate] (851.513 ms) : 0, 851513
GlobalTracer [baseline] (239.369 ms) : 0, 239369
GlobalTracer [candidate] (240.796 ms) : 0, 240796
AppSec [baseline] (32.389 ms) : 0, 32389
AppSec [candidate] (33.663 ms) : 0, 33663
Debugger [baseline] (61.391 ms) : 0, 61391
Debugger [candidate] (62.544 ms) : 0, 62544
Remote Config [baseline] (559.098 µs) : 0, 559
Remote Config [candidate] (564.767 µs) : 0, 565
Telemetry [baseline] (7.631 ms) : 0, 7631
Telemetry [candidate] (7.898 ms) : 0, 7898
Flare Poller [baseline] (3.5 ms) : 0, 3500
Flare Poller [candidate] (3.662 ms) : 0, 3662
IAST [baseline] (29.429 ms) : 0, 29429
IAST [candidate] (29.03 ms) : 0, 29030
section profiling
crashtracking [baseline] (1.472 ms) : 0, 1472
crashtracking [candidate] (1.453 ms) : 0, 1453
BytebuddyAgent [baseline] (739.272 ms) : 0, 739272
BytebuddyAgent [candidate] (740.725 ms) : 0, 740725
GlobalTracer [baseline] (224.3 ms) : 0, 224300
GlobalTracer [candidate] (224.122 ms) : 0, 224122
AppSec [baseline] (32.27 ms) : 0, 32270
AppSec [candidate] (32.412 ms) : 0, 32412
Debugger [baseline] (63.303 ms) : 0, 63303
Debugger [candidate] (63.593 ms) : 0, 63593
Remote Config [baseline] (665.539 µs) : 0, 666
Remote Config [candidate] (652.649 µs) : 0, 653
Telemetry [baseline] (8.132 ms) : 0, 8132
Telemetry [candidate] (8.056 ms) : 0, 8056
Flare Poller [baseline] (3.808 ms) : 0, 3808
Flare Poller [candidate] (3.739 ms) : 0, 3739
ProfilingAgent [baseline] (97.728 ms) : 0, 97728
ProfilingAgent [candidate] (97.96 ms) : 0, 97960
Profiling [baseline] (98.32 ms) : 0, 98320
Profiling [candidate] (98.553 ms) : 0, 98553
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bdu/avoid-afterEvaluate-in-instrumentation
git_commit_date 1763625932 1763630953
git_commit_sha 0614d73 bd9e60c
release_version 1.56.0-SNAPSHOT~0614d7316c 1.56.0-SNAPSHOT~bd9e60cdc1
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1763633456 1763633456
ci_job_id 1246980323 1246980323
ci_pipeline_id 83313394 83313394
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-f7223ha4 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-f7223ha4 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 3 performance improvements and 1 performance regressions! Performance is the same for 16 metrics, 16 unstable metrics.

scenario Δ mean agg_http_req_duration_p50 Δ mean agg_http_req_duration_p95 Δ mean throughput candidate mean agg_http_req_duration_p50 candidate mean agg_http_req_duration_p95 candidate mean throughput baseline mean agg_http_req_duration_p50 baseline mean agg_http_req_duration_p95 baseline mean throughput
scenario:load:petclinic:code_origins:high_load worse
[+490.806µs; +1455.640µs] or [+2.788%; +8.269%]
unsure
[+14.141µs; +1549.689µs] or [+0.049%; +5.348%]
unstable
[-39.638op/s; +15.700op/s] or [-15.245%; +6.039%]
18.576ms 29.756ms 248.031op/s 17.603ms 28.974ms 260.000op/s
scenario:load:petclinic:profiling:high_load better
[-2.662ms; -1.183ms] or [-13.401%; -5.953%]
better
[-3.416ms; -1.018ms] or [-10.773%; -3.211%]
unstable
[-7.249op/s; +46.374op/s] or [-3.091%; +19.776%]
17.943ms 29.487ms 254.062op/s 19.865ms 31.704ms 234.500op/s
scenario:load:petclinic:no_agent:high_load better
[-2.346ms; -0.696ms] or [-12.371%; -3.668%]
unstable
[-3.547ms; -0.355ms] or [-11.421%; -1.144%]
unstable
[-9.900op/s; +47.463op/s] or [-4.085%; +19.585%]
17.446ms 29.104ms 261.125op/s 18.967ms 31.055ms 242.344op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.56.0-SNAPSHOT~bd9e60cdc1, baseline=1.56.0-SNAPSHOT~0614d7316c
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.205 ms) : 1193, 1216
.   : milestone, 1205,
iast (3.222 ms) : 3182, 3262
.   : milestone, 3222,
iast_FULL (5.774 ms) : 5717, 5832
.   : milestone, 5774,
iast_GLOBAL (3.639 ms) : 3590, 3688
.   : milestone, 3639,
profiling (2.09 ms) : 2072, 2107
.   : milestone, 2090,
tracing (1.812 ms) : 1797, 1828
.   : milestone, 1812,
section candidate
no_agent (1.207 ms) : 1195, 1219
.   : milestone, 1207,
iast (3.194 ms) : 3153, 3235
.   : milestone, 3194,
iast_FULL (5.934 ms) : 5873, 5994
.   : milestone, 5934,
iast_GLOBAL (3.608 ms) : 3554, 3663
.   : milestone, 3608,
profiling (2.217 ms) : 2194, 2240
.   : milestone, 2217,
tracing (1.83 ms) : 1815, 1845
.   : milestone, 1830,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.205 ms [1.193 ms, 1.216 ms] -
iast 3.222 ms [3.182 ms, 3.262 ms] 2.018 ms (167.5%)
iast_FULL 5.774 ms [5.717 ms, 5.832 ms] 4.57 ms (379.3%)
iast_GLOBAL 3.639 ms [3.59 ms, 3.688 ms] 2.434 ms (202.0%)
profiling 2.09 ms [2.072 ms, 2.107 ms] 884.973 µs (73.5%)
tracing 1.812 ms [1.797 ms, 1.828 ms] 607.704 µs (50.4%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.207 ms [1.195 ms, 1.219 ms] -
iast 3.194 ms [3.153 ms, 3.235 ms] 1.987 ms (164.6%)
iast_FULL 5.934 ms [5.873 ms, 5.994 ms] 4.726 ms (391.5%)
iast_GLOBAL 3.608 ms [3.554 ms, 3.663 ms] 2.401 ms (198.9%)
profiling 2.217 ms [2.194 ms, 2.24 ms] 1.01 ms (83.7%)
tracing 1.83 ms [1.815 ms, 1.845 ms] 623.088 µs (51.6%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.56.0-SNAPSHOT~bd9e60cdc1, baseline=1.56.0-SNAPSHOT~0614d7316c
    dateFormat X
    axisFormat %s
section baseline
no_agent (19.263 ms) : 19064, 19462
.   : milestone, 19263,
appsec (18.84 ms) : 18648, 19032
.   : milestone, 18840,
code_origins (17.947 ms) : 17766, 18127
.   : milestone, 17947,
iast (17.601 ms) : 17424, 17777
.   : milestone, 17601,
profiling (19.911 ms) : 19709, 20113
.   : milestone, 19911,
tracing (17.657 ms) : 17483, 17831
.   : milestone, 17657,
section candidate
no_agent (17.869 ms) : 17690, 18048
.   : milestone, 17869,
appsec (18.398 ms) : 18211, 18586
.   : milestone, 18398,
code_origins (18.82 ms) : 18633, 19008
.   : milestone, 18820,
iast (17.7 ms) : 17522, 17877
.   : milestone, 17700,
profiling (18.368 ms) : 18186, 18550
.   : milestone, 18368,
tracing (17.244 ms) : 17074, 17414
.   : milestone, 17244,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 19.263 ms [19.064 ms, 19.462 ms] -
appsec 18.84 ms [18.648 ms, 19.032 ms] -422.926 µs (-2.2%)
code_origins 17.947 ms [17.766 ms, 18.127 ms] -1.316 ms (-6.8%)
iast 17.601 ms [17.424 ms, 17.777 ms] -1.662 ms (-8.6%)
profiling 19.911 ms [19.709 ms, 20.113 ms] 648.107 µs (3.4%)
tracing 17.657 ms [17.483 ms, 17.831 ms] -1.606 ms (-8.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 17.869 ms [17.69 ms, 18.048 ms] -
appsec 18.398 ms [18.211 ms, 18.586 ms] 529.589 µs (3.0%)
code_origins 18.82 ms [18.633 ms, 19.008 ms] 951.642 µs (5.3%)
iast 17.7 ms [17.522 ms, 17.877 ms] -169.343 µs (-0.9%)
profiling 18.368 ms [18.186 ms, 18.55 ms] 499.082 µs (2.8%)
tracing 17.244 ms [17.074 ms, 17.414 ms] -624.694 µs (-3.5%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master bdu/avoid-afterEvaluate-in-instrumentation
git_commit_date 1763625932 1763630953
git_commit_sha 0614d73 bd9e60c
release_version 1.56.0-SNAPSHOT~0614d7316c 1.56.0-SNAPSHOT~bd9e60cdc1
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1763633055 1763633055
ci_job_id 1246980324 1246980324
ci_pipeline_id 83313394 83313394
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-ilbw8dpw 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-ilbw8dpw 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics.

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.56.0-SNAPSHOT~bd9e60cdc1, baseline=1.56.0-SNAPSHOT~0614d7316c
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.474 ms) : 1463, 1486
.   : milestone, 1474,
appsec (3.695 ms) : 3477, 3913
.   : milestone, 3695,
iast (2.209 ms) : 2144, 2273
.   : milestone, 2209,
iast_GLOBAL (2.25 ms) : 2186, 2315
.   : milestone, 2250,
profiling (2.067 ms) : 2014, 2119
.   : milestone, 2067,
tracing (2.047 ms) : 1996, 2099
.   : milestone, 2047,
section candidate
no_agent (1.477 ms) : 1466, 1489
.   : milestone, 1477,
appsec (3.639 ms) : 3424, 3854
.   : milestone, 3639,
iast (2.213 ms) : 2148, 2277
.   : milestone, 2213,
iast_GLOBAL (2.251 ms) : 2186, 2316
.   : milestone, 2251,
profiling (2.07 ms) : 2018, 2123
.   : milestone, 2070,
tracing (2.041 ms) : 1990, 2092
.   : milestone, 2041,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.474 ms [1.463 ms, 1.486 ms] -
appsec 3.695 ms [3.477 ms, 3.913 ms] 2.221 ms (150.7%)
iast 2.209 ms [2.144 ms, 2.273 ms] 734.481 µs (49.8%)
iast_GLOBAL 2.25 ms [2.186 ms, 2.315 ms] 775.995 µs (52.6%)
profiling 2.067 ms [2.014 ms, 2.119 ms] 592.477 µs (40.2%)
tracing 2.047 ms [1.996 ms, 2.099 ms] 573.02 µs (38.9%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.477 ms [1.466 ms, 1.489 ms] -
appsec 3.639 ms [3.424 ms, 3.854 ms] 2.161 ms (146.3%)
iast 2.213 ms [2.148 ms, 2.277 ms] 735.392 µs (49.8%)
iast_GLOBAL 2.251 ms [2.186 ms, 2.316 ms] 773.672 µs (52.4%)
profiling 2.07 ms [2.018 ms, 2.123 ms] 593.157 µs (40.2%)
tracing 2.041 ms [1.99 ms, 2.092 ms] 563.827 µs (38.2%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.56.0-SNAPSHOT~bd9e60cdc1, baseline=1.56.0-SNAPSHOT~0614d7316c
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.028 s) : 15028000, 15028000
.   : milestone, 15028000,
appsec (14.62 s) : 14620000, 14620000
.   : milestone, 14620000,
iast (18.491 s) : 18491000, 18491000
.   : milestone, 18491000,
iast_GLOBAL (18.324 s) : 18324000, 18324000
.   : milestone, 18324000,
profiling (14.784 s) : 14784000, 14784000
.   : milestone, 14784000,
tracing (14.671 s) : 14671000, 14671000
.   : milestone, 14671000,
section candidate
no_agent (15.256 s) : 15256000, 15256000
.   : milestone, 15256000,
appsec (14.753 s) : 14753000, 14753000
.   : milestone, 14753000,
iast (18.437 s) : 18437000, 18437000
.   : milestone, 18437000,
iast_GLOBAL (18.203 s) : 18203000, 18203000
.   : milestone, 18203000,
profiling (14.695 s) : 14695000, 14695000
.   : milestone, 14695000,
tracing (14.965 s) : 14965000, 14965000
.   : milestone, 14965000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.028 s [15.028 s, 15.028 s] -
appsec 14.62 s [14.62 s, 14.62 s] -408.0 ms (-2.7%)
iast 18.491 s [18.491 s, 18.491 s] 3.463 s (23.0%)
iast_GLOBAL 18.324 s [18.324 s, 18.324 s] 3.296 s (21.9%)
profiling 14.784 s [14.784 s, 14.784 s] -244.0 ms (-1.6%)
tracing 14.671 s [14.671 s, 14.671 s] -357.0 ms (-2.4%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.256 s [15.256 s, 15.256 s] -
appsec 14.753 s [14.753 s, 14.753 s] -503.0 ms (-3.3%)
iast 18.437 s [18.437 s, 18.437 s] 3.181 s (20.9%)
iast_GLOBAL 18.203 s [18.203 s, 18.203 s] 2.947 s (19.3%)
profiling 14.695 s [14.695 s, 14.695 s] -561.0 ms (-3.7%)
tracing 14.965 s [14.965 s, 14.965 s] -291.0 ms (-1.9%)

@bric3 bric3 force-pushed the bdu/avoid-afterEvaluate-in-instrumentation branch 2 times, most recently from 5388f6d to 4835e7b Compare November 13, 2025 12:28
# Conflicts:
#	dd-java-agent/instrumentation/build.gradle
@bric3 bric3 force-pushed the bdu/avoid-afterEvaluate-in-instrumentation branch from 4835e7b to bd9e60c Compare November 20, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: tooling Build & Tooling tag: no release notes Changes to exclude from release notes type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants