Skip to content

Conversation

@jpbempel
Copy link
Member

@jpbempel jpbempel commented Jan 28, 2026

What Does This Do

Migration from Groovy to Java for unit tests

Motivation

Additional Notes

Tests run using:
./gradlew :buildSrc:call-site-instrumentation-plugin:test -PrunBuildSrcTests

To review migration groovy -> java use this commit

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Migration from Groovy to Java for unit tests
@jpbempel jpbempel added comp: testing Testing tag: no release notes Changes to exclude from release notes type: refactoring labels Jan 28, 2026
@pr-commenter
Copy link

pr-commenter bot commented Jan 28, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jpbempel/g2j-call-site-inst-plugin
git_commit_date 1769601135 1769695251
git_commit_sha 949e5f9 c7521ee
release_version 1.59.0-SNAPSHOT~949e5f91b3 1.59.0-SNAPSHOT~c7521ee4ed
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1769697306 1769697306
ci_job_id 1386684298 1386684298
ci_pipeline_id 93533163 93533163
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-hew9mp5e 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-hew9mp5e 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 63 metrics, 8 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.59.0-SNAPSHOT~c7521ee4ed, baseline=1.59.0-SNAPSHOT~949e5f91b3

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1056926
Total [baseline] (10.982 s) : 0, 10982125
Agent [candidate] (1.059 s) : 0, 1058936
Total [candidate] (10.991 s) : 0, 10990656
section appsec
Agent [baseline] (1.231 s) : 0, 1230908
Total [baseline] (11.0 s) : 0, 11000270
Agent [candidate] (1.231 s) : 0, 1231449
Total [candidate] (10.923 s) : 0, 10922760
section iast
Agent [baseline] (1.231 s) : 0, 1231246
Total [baseline] (11.118 s) : 0, 11117701
Agent [candidate] (1.225 s) : 0, 1224809
Total [candidate] (11.15 s) : 0, 11149978
section profiling
Agent [baseline] (1.186 s) : 0, 1186041
Total [baseline] (10.951 s) : 0, 10950631
Agent [candidate] (1.193 s) : 0, 1192848
Total [candidate] (11.069 s) : 0, 11069148
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.057 s -
Agent appsec 1.231 s 173.983 ms (16.5%)
Agent iast 1.231 s 174.321 ms (16.5%)
Agent profiling 1.186 s 129.115 ms (12.2%)
Total tracing 10.982 s -
Total appsec 11.0 s 18.145 ms (0.2%)
Total iast 11.118 s 135.577 ms (1.2%)
Total profiling 10.951 s -31.494 ms (-0.3%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.059 s -
Agent appsec 1.231 s 172.513 ms (16.3%)
Agent iast 1.225 s 165.873 ms (15.7%)
Agent profiling 1.193 s 133.912 ms (12.6%)
Total tracing 10.991 s -
Total appsec 10.923 s -67.896 ms (-0.6%)
Total iast 11.15 s 159.321 ms (1.4%)
Total profiling 11.069 s 78.491 ms (0.7%)
gantt
    title petclinic - break down per module: candidate=1.59.0-SNAPSHOT~c7521ee4ed, baseline=1.59.0-SNAPSHOT~949e5f91b3

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.176 ms) : 0, 1176
crashtracking [candidate] (1.168 ms) : 0, 1168
BytebuddyAgent [baseline] (622.946 ms) : 0, 622946
BytebuddyAgent [candidate] (622.836 ms) : 0, 622836
AgentMeter [baseline] (28.809 ms) : 0, 28809
AgentMeter [candidate] (28.861 ms) : 0, 28861
GlobalTracer [baseline] (257.186 ms) : 0, 257186
GlobalTracer [candidate] (257.478 ms) : 0, 257478
AppSec [baseline] (32.83 ms) : 0, 32830
AppSec [candidate] (32.914 ms) : 0, 32914
Debugger [baseline] (62.696 ms) : 0, 62696
Debugger [candidate] (62.052 ms) : 0, 62052
Remote Config [baseline] (627.733 µs) : 0, 628
Remote Config [candidate] (624.163 µs) : 0, 624
Telemetry [baseline] (9.076 ms) : 0, 9076
Telemetry [candidate] (9.09 ms) : 0, 9090
Flare Poller [baseline] (6.05 ms) : 0, 6050
Flare Poller [candidate] (8.438 ms) : 0, 8438
section appsec
crashtracking [baseline] (1.181 ms) : 0, 1181
crashtracking [candidate] (1.195 ms) : 0, 1195
BytebuddyAgent [baseline] (652.203 ms) : 0, 652203
BytebuddyAgent [candidate] (652.469 ms) : 0, 652469
AgentMeter [baseline] (11.794 ms) : 0, 11794
AgentMeter [candidate] (11.804 ms) : 0, 11804
GlobalTracer [baseline] (256.883 ms) : 0, 256883
GlobalTracer [candidate] (256.932 ms) : 0, 256932
AppSec [baseline] (167.949 ms) : 0, 167949
AppSec [candidate] (167.306 ms) : 0, 167306
Debugger [baseline] (66.466 ms) : 0, 66466
Debugger [candidate] (67.429 ms) : 0, 67429
Remote Config [baseline] (678.911 µs) : 0, 679
Remote Config [candidate] (675.396 µs) : 0, 675
Telemetry [baseline] (9.293 ms) : 0, 9293
Telemetry [candidate] (9.235 ms) : 0, 9235
Flare Poller [baseline] (3.677 ms) : 0, 3677
Flare Poller [candidate] (3.601 ms) : 0, 3601
IAST [baseline] (25.496 ms) : 0, 25496
IAST [candidate] (25.522 ms) : 0, 25522
section iast
crashtracking [baseline] (1.179 ms) : 0, 1179
crashtracking [candidate] (1.189 ms) : 0, 1189
BytebuddyAgent [baseline] (795.718 ms) : 0, 795718
BytebuddyAgent [candidate] (789.19 ms) : 0, 789190
AgentMeter [baseline] (11.135 ms) : 0, 11135
AgentMeter [candidate] (11.153 ms) : 0, 11153
GlobalTracer [baseline] (247.964 ms) : 0, 247964
GlobalTracer [candidate] (247.723 ms) : 0, 247723
AppSec [baseline] (32.036 ms) : 0, 32036
AppSec [candidate] (33.1 ms) : 0, 33100
Debugger [baseline] (68.337 ms) : 0, 68337
Debugger [candidate] (67.527 ms) : 0, 67527
Remote Config [baseline] (543.563 µs) : 0, 544
Remote Config [candidate] (540.81 µs) : 0, 541
Telemetry [baseline] (8.544 ms) : 0, 8544
Telemetry [candidate] (8.666 ms) : 0, 8666
Flare Poller [baseline] (3.492 ms) : 0, 3492
Flare Poller [candidate] (3.511 ms) : 0, 3511
IAST [baseline] (26.842 ms) : 0, 26842
IAST [candidate] (26.835 ms) : 0, 26835
section profiling
ProfilingAgent [baseline] (98.914 ms) : 0, 98914
ProfilingAgent [candidate] (99.638 ms) : 0, 99638
crashtracking [baseline] (1.22 ms) : 0, 1220
crashtracking [candidate] (1.211 ms) : 0, 1211
BytebuddyAgent [baseline] (677.225 ms) : 0, 677225
BytebuddyAgent [candidate] (681.599 ms) : 0, 681599
AgentMeter [baseline] (8.691 ms) : 0, 8691
AgentMeter [candidate] (8.634 ms) : 0, 8634
GlobalTracer [baseline] (216.904 ms) : 0, 216904
GlobalTracer [candidate] (217.66 ms) : 0, 217660
AppSec [baseline] (32.344 ms) : 0, 32344
AppSec [candidate] (32.707 ms) : 0, 32707
Debugger [baseline] (67.73 ms) : 0, 67730
Debugger [candidate] (67.934 ms) : 0, 67934
Remote Config [baseline] (586.216 µs) : 0, 586
Remote Config [candidate] (597.026 µs) : 0, 597
Telemetry [baseline] (8.656 ms) : 0, 8656
Telemetry [candidate] (8.782 ms) : 0, 8782
Flare Poller [baseline] (3.793 ms) : 0, 3793
Flare Poller [candidate] (3.827 ms) : 0, 3827
Profiling [baseline] (99.485 ms) : 0, 99485
Profiling [candidate] (100.23 ms) : 0, 100230
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.59.0-SNAPSHOT~c7521ee4ed, baseline=1.59.0-SNAPSHOT~949e5f91b3

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1057087
Total [baseline] (8.769 s) : 0, 8769148
Agent [candidate] (1.06 s) : 0, 1059867
Total [candidate] (8.693 s) : 0, 8693363
section iast
Agent [baseline] (1.227 s) : 0, 1227452
Total [baseline] (9.391 s) : 0, 9390841
Agent [candidate] (1.233 s) : 0, 1233187
Total [candidate] (9.368 s) : 0, 9367922
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.057 s -
Agent iast 1.227 s 170.365 ms (16.1%)
Total tracing 8.769 s -
Total iast 9.391 s 621.693 ms (7.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.06 s -
Agent iast 1.233 s 173.32 ms (16.4%)
Total tracing 8.693 s -
Total iast 9.368 s 674.559 ms (7.8%)
gantt
    title insecure-bank - break down per module: candidate=1.59.0-SNAPSHOT~c7521ee4ed, baseline=1.59.0-SNAPSHOT~949e5f91b3

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.183 ms) : 0, 1183
crashtracking [candidate] (1.174 ms) : 0, 1174
BytebuddyAgent [baseline] (623.959 ms) : 0, 623959
BytebuddyAgent [candidate] (622.73 ms) : 0, 622730
AgentMeter [baseline] (28.766 ms) : 0, 28766
AgentMeter [candidate] (28.729 ms) : 0, 28729
GlobalTracer [baseline] (257.733 ms) : 0, 257733
GlobalTracer [candidate] (257.59 ms) : 0, 257590
AppSec [baseline] (32.891 ms) : 0, 32891
AppSec [candidate] (33.113 ms) : 0, 33113
Debugger [baseline] (60.406 ms) : 0, 60406
Debugger [candidate] (62.156 ms) : 0, 62156
Remote Config [baseline] (637.949 µs) : 0, 638
Remote Config [candidate] (618.562 µs) : 0, 619
Telemetry [baseline] (9.167 ms) : 0, 9167
Telemetry [candidate] (10.584 ms) : 0, 10584
Flare Poller [baseline] (6.832 ms) : 0, 6832
Flare Poller [candidate] (7.705 ms) : 0, 7705
section iast
crashtracking [baseline] (1.189 ms) : 0, 1189
crashtracking [candidate] (1.187 ms) : 0, 1187
BytebuddyAgent [baseline] (791.054 ms) : 0, 791054
BytebuddyAgent [candidate] (796.156 ms) : 0, 796156
AgentMeter [baseline] (11.098 ms) : 0, 11098
AgentMeter [candidate] (11.372 ms) : 0, 11372
GlobalTracer [baseline] (247.648 ms) : 0, 247648
GlobalTracer [candidate] (249.057 ms) : 0, 249057
IAST [baseline] (26.864 ms) : 0, 26864
IAST [candidate] (27.008 ms) : 0, 27008
AppSec [baseline] (32.431 ms) : 0, 32431
AppSec [candidate] (33.713 ms) : 0, 33713
Debugger [baseline] (68.894 ms) : 0, 68894
Debugger [candidate] (66.321 ms) : 0, 66321
Remote Config [baseline] (552.264 µs) : 0, 552
Remote Config [candidate] (542.769 µs) : 0, 543
Telemetry [baseline] (8.668 ms) : 0, 8668
Telemetry [candidate] (8.747 ms) : 0, 8747
Flare Poller [baseline] (3.57 ms) : 0, 3570
Flare Poller [candidate] (3.594 ms) : 0, 3594
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jpbempel/g2j-call-site-inst-plugin
git_commit_date 1769601135 1769695251
git_commit_sha 949e5f9 c7521ee
release_version 1.59.0-SNAPSHOT~949e5f91b3 1.59.0-SNAPSHOT~c7521ee4ed
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1769697705 1769697705
ci_job_id 1386684300 1386684300
ci_pipeline_id 93533163 93533163
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-6y8cmkhy 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-6y8cmkhy 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 17 metrics, 15 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:insecure-bank:iast_FULL:high_load better
[-245.619µs; -105.353µs] or [-4.735%; -2.031%]
unsure
[-613.362µs; -73.900µs] or [-5.005%; -0.603%]
unstable
[-56.265op/s; +96.202op/s] or [-7.042%; +12.041%]
5.012ms 11.911ms 818.906op/s 5.187ms 12.255ms 798.938op/s
scenario:load:petclinic:tracing:high_load worse
[+0.729ms; +1.643ms] or [+4.225%; +9.520%]
unsure
[+0.491ms; +1.874ms] or [+1.716%; +6.544%]
unstable
[-43.266op/s; +11.328op/s] or [-16.305%; +4.269%]
18.447ms 29.819ms 249.375op/s 17.260ms 28.636ms 265.344op/s
scenario:load:petclinic:appsec:high_load better
[-1.630ms; -0.672ms] or [-8.493%; -3.500%]
better
[-2.315ms; -0.871ms] or [-7.446%; -2.801%]
unstable
[-11.564op/s; +40.876op/s] or [-4.838%; +17.101%]
18.044ms 29.504ms 253.688op/s 19.195ms 31.097ms 239.031op/s
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~c7521ee4ed, baseline=1.59.0-SNAPSHOT~949e5f91b3
    dateFormat X
    axisFormat %s
section baseline
no_agent (18.805 ms) : 18613, 18997
.   : milestone, 18805,
appsec (19.534 ms) : 19330, 19737
.   : milestone, 19534,
code_origins (17.555 ms) : 17380, 17729
.   : milestone, 17555,
iast (17.856 ms) : 17678, 18034
.   : milestone, 17856,
profiling (18.708 ms) : 18519, 18897
.   : milestone, 18708,
tracing (17.587 ms) : 17412, 17762
.   : milestone, 17587,
section candidate
no_agent (18.806 ms) : 18612, 19000
.   : milestone, 18806,
appsec (18.395 ms) : 18210, 18580
.   : milestone, 18395,
code_origins (17.563 ms) : 17390, 17737
.   : milestone, 17563,
iast (17.629 ms) : 17450, 17807
.   : milestone, 17629,
profiling (18.656 ms) : 18472, 18839
.   : milestone, 18656,
tracing (18.711 ms) : 18522, 18899
.   : milestone, 18711,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.805 ms [18.613 ms, 18.997 ms] -
appsec 19.534 ms [19.33 ms, 19.737 ms] 729.015 µs (3.9%)
code_origins 17.555 ms [17.38 ms, 17.729 ms] -1.25 ms (-6.6%)
iast 17.856 ms [17.678 ms, 18.034 ms] -949.046 µs (-5.0%)
profiling 18.708 ms [18.519 ms, 18.897 ms] -97.161 µs (-0.5%)
tracing 17.587 ms [17.412 ms, 17.762 ms] -1.218 ms (-6.5%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.806 ms [18.612 ms, 19.0 ms] -
appsec 18.395 ms [18.21 ms, 18.58 ms] -411.102 µs (-2.2%)
code_origins 17.563 ms [17.39 ms, 17.737 ms] -1.243 ms (-6.6%)
iast 17.629 ms [17.45 ms, 17.807 ms] -1.177 ms (-6.3%)
profiling 18.656 ms [18.472 ms, 18.839 ms] -150.593 µs (-0.8%)
tracing 18.711 ms [18.522 ms, 18.899 ms] -95.646 µs (-0.5%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.59.0-SNAPSHOT~c7521ee4ed, baseline=1.59.0-SNAPSHOT~949e5f91b3
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.181 ms) : 1169, 1192
.   : milestone, 1181,
iast (3.285 ms) : 3239, 3331
.   : milestone, 3285,
iast_FULL (5.788 ms) : 5731, 5845
.   : milestone, 5788,
iast_GLOBAL (3.482 ms) : 3432, 3531
.   : milestone, 3482,
profiling (2.047 ms) : 2029, 2064
.   : milestone, 2047,
tracing (1.763 ms) : 1749, 1777
.   : milestone, 1763,
section candidate
no_agent (1.181 ms) : 1170, 1193
.   : milestone, 1181,
iast (3.289 ms) : 3245, 3333
.   : milestone, 3289,
iast_FULL (5.642 ms) : 5587, 5697
.   : milestone, 5642,
iast_GLOBAL (3.607 ms) : 3552, 3662
.   : milestone, 3607,
profiling (2.159 ms) : 2139, 2179
.   : milestone, 2159,
tracing (1.848 ms) : 1832, 1863
.   : milestone, 1848,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.181 ms [1.169 ms, 1.192 ms] -
iast 3.285 ms [3.239 ms, 3.331 ms] 2.104 ms (178.2%)
iast_FULL 5.788 ms [5.731 ms, 5.845 ms] 4.607 ms (390.2%)
iast_GLOBAL 3.482 ms [3.432 ms, 3.531 ms] 2.301 ms (194.9%)
profiling 2.047 ms [2.029 ms, 2.064 ms] 866.132 µs (73.4%)
tracing 1.763 ms [1.749 ms, 1.777 ms] 582.141 µs (49.3%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.181 ms [1.17 ms, 1.193 ms] -
iast 3.289 ms [3.245 ms, 3.333 ms] 2.108 ms (178.4%)
iast_FULL 5.642 ms [5.587 ms, 5.697 ms] 4.461 ms (377.6%)
iast_GLOBAL 3.607 ms [3.552 ms, 3.662 ms] 2.426 ms (205.3%)
profiling 2.159 ms [2.139 ms, 2.179 ms] 977.669 µs (82.8%)
tracing 1.848 ms [1.832 ms, 1.863 ms] 666.392 µs (56.4%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master jpbempel/g2j-call-site-inst-plugin
git_commit_date 1769601135 1769695251
git_commit_sha 949e5f9 c7521ee
release_version 1.59.0-SNAPSHOT~949e5f91b3 1.59.0-SNAPSHOT~c7521ee4ed
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1769697492 1769697492
ci_job_id 1386684302 1386684302
ci_pipeline_id 93533163 93533163
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-bqt23hyq 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-bqt23hyq 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 1 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 0 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:dacapo:tomcat:appsec better
[-1.369ms; -1.031ms] or [-36.923%; -27.801%]
2.508ms 3.708ms
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.59.0-SNAPSHOT~c7521ee4ed, baseline=1.59.0-SNAPSHOT~949e5f91b3
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.478 ms) : 1467, 1490
.   : milestone, 1478,
appsec (3.708 ms) : 3493, 3924
.   : milestone, 3708,
iast (2.264 ms) : 2195, 2333
.   : milestone, 2264,
iast_GLOBAL (2.308 ms) : 2238, 2377
.   : milestone, 2308,
profiling (2.081 ms) : 2026, 2136
.   : milestone, 2081,
tracing (2.064 ms) : 2011, 2118
.   : milestone, 2064,
section candidate
no_agent (1.48 ms) : 1468, 1491
.   : milestone, 1480,
appsec (2.508 ms) : 2453, 2563
.   : milestone, 2508,
iast (2.265 ms) : 2196, 2334
.   : milestone, 2265,
iast_GLOBAL (2.312 ms) : 2242, 2382
.   : milestone, 2312,
profiling (2.119 ms) : 2062, 2175
.   : milestone, 2119,
tracing (2.072 ms) : 2019, 2126
.   : milestone, 2072,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.478 ms [1.467 ms, 1.49 ms] -
appsec 3.708 ms [3.493 ms, 3.924 ms] 2.23 ms (150.8%)
iast 2.264 ms [2.195 ms, 2.333 ms] 785.85 µs (53.2%)
iast_GLOBAL 2.308 ms [2.238 ms, 2.377 ms] 829.279 µs (56.1%)
profiling 2.081 ms [2.026 ms, 2.136 ms] 602.27 µs (40.7%)
tracing 2.064 ms [2.011 ms, 2.118 ms] 585.778 µs (39.6%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.48 ms [1.468 ms, 1.491 ms] -
appsec 2.508 ms [2.453 ms, 2.563 ms] 1.028 ms (69.5%)
iast 2.265 ms [2.196 ms, 2.334 ms] 785.588 µs (53.1%)
iast_GLOBAL 2.312 ms [2.242 ms, 2.382 ms] 832.433 µs (56.3%)
profiling 2.119 ms [2.062 ms, 2.175 ms] 639.142 µs (43.2%)
tracing 2.072 ms [2.019 ms, 2.126 ms] 592.733 µs (40.1%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.59.0-SNAPSHOT~c7521ee4ed, baseline=1.59.0-SNAPSHOT~949e5f91b3
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.973 s) : 14973000, 14973000
.   : milestone, 14973000,
appsec (14.979 s) : 14979000, 14979000
.   : milestone, 14979000,
iast (17.944 s) : 17944000, 17944000
.   : milestone, 17944000,
iast_GLOBAL (17.992 s) : 17992000, 17992000
.   : milestone, 17992000,
profiling (15.109 s) : 15109000, 15109000
.   : milestone, 15109000,
tracing (14.605 s) : 14605000, 14605000
.   : milestone, 14605000,
section candidate
no_agent (15.358 s) : 15358000, 15358000
.   : milestone, 15358000,
appsec (14.958 s) : 14958000, 14958000
.   : milestone, 14958000,
iast (18.08 s) : 18080000, 18080000
.   : milestone, 18080000,
iast_GLOBAL (17.969 s) : 17969000, 17969000
.   : milestone, 17969000,
profiling (14.848 s) : 14848000, 14848000
.   : milestone, 14848000,
tracing (14.806 s) : 14806000, 14806000
.   : milestone, 14806000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.973 s [14.973 s, 14.973 s] -
appsec 14.979 s [14.979 s, 14.979 s] 6.0 ms (0.0%)
iast 17.944 s [17.944 s, 17.944 s] 2.971 s (19.8%)
iast_GLOBAL 17.992 s [17.992 s, 17.992 s] 3.019 s (20.2%)
profiling 15.109 s [15.109 s, 15.109 s] 136.0 ms (0.9%)
tracing 14.605 s [14.605 s, 14.605 s] -368.0 ms (-2.5%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.358 s [15.358 s, 15.358 s] -
appsec 14.958 s [14.958 s, 14.958 s] -400.0 ms (-2.6%)
iast 18.08 s [18.08 s, 18.08 s] 2.722 s (17.7%)
iast_GLOBAL 17.969 s [17.969 s, 17.969 s] 2.611 s (17.0%)
profiling 14.848 s [14.848 s, 14.848 s] -510.0 ms (-3.3%)
tracing 14.806 s [14.806 s, 14.806 s] -552.0 ms (-3.6%)

Comment on lines 36 to 37
testImplementation(libs.bundles.groovy)
testImplementation(libs.bundles.spock)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❔ question: ‏Are groovy and spock bundles still needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

#
# Finds all directories matching */src/test/groovy under the start folder,
# ensures corresponding src/test/java exists, mirrors missing subdirs,
# moves files with `git mv` (preserving history) and commits the changes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔨 issue: ‏As raised in Slack, the script won't help to get changes marked as moved.

Comment on lines 36 to 37
testImplementation(libs.bundles.groovy)
testImplementation(libs.bundles.spock)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can delete groovy and spock :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment on lines 32 to 37
CompilationUnit javaFile;
try {
javaFile = parseJavaFile(file);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: I think we not need to wrap with try/catch in tests, we can simply propagate exceptions via throws ddeclaration.

Comment on lines 38 to 40
if (javaFile.getParsed() != Node.Parsedness.PARSED) {
throw new IllegalStateException("Failed to parse file: " + file);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this should be assertEquals()?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment on lines +44 to +50
Method enabled = null;
Set<String> enabledArgs = null;
Object[] enabledDeclaration = getEnabledDeclaration(targetType, interfaces);
if (enabledDeclaration != null) {
enabled = (Method) enabledDeclaration[0];
enabledArgs = (Set<String>) enabledDeclaration[1];
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure that we need to have check for null in test?
Groovy code had no checks...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Groovy code was using a tuple for returning 2 objects and it was converted to a object array.
I don't see a problem here, the method can return null and assignment to the local var is only done when != null

@jpbempel jpbempel marked this pull request as ready for review January 29, 2026 14:35
@jpbempel jpbempel requested review from a team as code owners January 29, 2026 14:35
@github-actions
Copy link
Contributor

Hi! 👋 Thanks for your pull request! 🎉

To help us review it, please make sure to:

  • Remove the tag from the pull request title

If you need help, please check our contributing guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: testing Testing tag: no release notes Changes to exclude from release notes type: refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants