Skip to content

Conversation

smola
Copy link
Member

@smola smola commented May 26, 2025

What Does This Do

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@smola smola added tag: no release notes Changes to exclude from release notes comp: tooling Build & Tooling labels May 26, 2025
@smola smola force-pushed the smola/gradle-4-gradle85-upgrade branch from 0dc90ef to b9bc0ef Compare May 26, 2025 12:46
final javaConcatenation = major > 2 || minor > 11 // after 2.11 scala uses java.lang.StringBuilder to perform concatenation

final configuration = configurations.create("${version}Implementation")
final configuration = configurations.create("${version}Implementation") {
Copy link
Member Author

Choose a reason for hiding this comment

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

This change was required for the upgrade, since we couldn't use the same configuration here both to declare dependencies and to retrieve the class path.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe rename this for consistency with the new variable.

Suggested change
final configuration = configurations.create("${version}Implementation") {
final implementationConfiguration = configurations.create("${version}Implementation") {

@pr-commenter
Copy link

pr-commenter bot commented May 26, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master smola/gradle-4-gradle85-upgrade
git_commit_date 1746789389 1748263516
git_commit_sha ad6d5fe 0dc90ef
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~0dc90efdf1
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748266451 1748266451
ci_job_id 954069048 954069048
ci_pipeline_id 66108869 66108869
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-a5ynt5bs-project-304-concurrent-0-95gv099z 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-a5ynt5bs-project-304-concurrent-0-95gv099z 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None
variant iast iast

Summary

Found 1 performance improvements and 2 performance regressions! Performance is the same for 56 metrics, 12 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:startup:petclinic:profiling:GlobalTracer better
[-20.126ms; -12.434ms] or [-5.327%; -3.291%]
361.502ms 377.782ms
scenario:startup:petclinic:profiling:AppSec worse
[+5.969ms; +9.909ms] or [+10.954%; +18.185%]
62.427ms 54.488ms
scenario:startup:petclinic:profiling:Debugger worse
[+171.720µs; +359.088µs] or [+2.829%; +5.915%]
6.336ms 6.070ms
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.50.0-SNAPSHOT~0dc90efdf1, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.02 s) : 0, 1019796
Total [baseline] (8.645 s) : 0, 8644573
Agent [candidate] (1.027 s) : 0, 1027362
Total [candidate] (8.694 s) : 0, 8694133
section iast
Agent [baseline] (1.146 s) : 0, 1145627
Total [baseline] (9.237 s) : 0, 9236656
Agent [candidate] (1.148 s) : 0, 1148107
Total [candidate] (9.243 s) : 0, 9242956
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.157 s) : 0, 1156622
Total [baseline] (9.207 s) : 0, 9207475
Agent [candidate] (1.151 s) : 0, 1151323
Total [candidate] (9.206 s) : 0, 9206481
section iast_TELEMETRY_OFF
Agent [baseline] (1.152 s) : 0, 1151603
Total [baseline] (9.254 s) : 0, 9253874
Agent [candidate] (1.153 s) : 0, 1152538
Total [candidate] (9.263 s) : 0, 9263223
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.02 s -
Agent iast 1.146 s 125.83 ms (12.3%)
Agent iast_HARDCODED_SECRET_DISABLED 1.157 s 136.826 ms (13.4%)
Agent iast_TELEMETRY_OFF 1.152 s 131.807 ms (12.9%)
Total tracing 8.645 s -
Total iast 9.237 s 592.083 ms (6.8%)
Total iast_HARDCODED_SECRET_DISABLED 9.207 s 562.902 ms (6.5%)
Total iast_TELEMETRY_OFF 9.254 s 609.301 ms (7.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.027 s -
Agent iast 1.148 s 120.745 ms (11.8%)
Agent iast_HARDCODED_SECRET_DISABLED 1.151 s 123.961 ms (12.1%)
Agent iast_TELEMETRY_OFF 1.153 s 125.176 ms (12.2%)
Total tracing 8.694 s -
Total iast 9.243 s 548.823 ms (6.3%)
Total iast_HARDCODED_SECRET_DISABLED 9.206 s 512.348 ms (5.9%)
Total iast_TELEMETRY_OFF 9.263 s 569.09 ms (6.5%)
gantt
    title insecure-bank - break down per module: candidate=1.50.0-SNAPSHOT~0dc90efdf1, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (682.071 ms) : 0, 682071
BytebuddyAgent [candidate] (687.823 ms) : 0, 687823
GlobalTracer [baseline] (239.705 ms) : 0, 239705
GlobalTracer [candidate] (241.594 ms) : 0, 241594
AppSec [baseline] (54.394 ms) : 0, 54394
AppSec [candidate] (55.397 ms) : 0, 55397
Debugger [baseline] (10.431 ms) : 0, 10431
Debugger [candidate] (9.0 ms) : 0, 9000
Remote Config [baseline] (680.436 µs) : 0, 680
Remote Config [candidate] (705.741 µs) : 0, 706
Telemetry [baseline] (8.964 ms) : 0, 8964
Telemetry [candidate] (9.148 ms) : 0, 9148
section iast
BytebuddyAgent [baseline] (800.382 ms) : 0, 800382
BytebuddyAgent [candidate] (801.164 ms) : 0, 801164
GlobalTracer [baseline] (229.234 ms) : 0, 229234
GlobalTracer [candidate] (230.682 ms) : 0, 230682
IAST [baseline] (28.106 ms) : 0, 28106
IAST [candidate] (27.552 ms) : 0, 27552
AppSec [baseline] (50.113 ms) : 0, 50113
AppSec [candidate] (50.204 ms) : 0, 50204
Debugger [baseline] (5.942 ms) : 0, 5942
Debugger [candidate] (5.92 ms) : 0, 5920
Remote Config [baseline] (607.866 µs) : 0, 608
Remote Config [candidate] (591.29 µs) : 0, 591
Telemetry [baseline] (7.884 ms) : 0, 7884
Telemetry [candidate] (7.791 ms) : 0, 7791
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (807.615 ms) : 0, 807615
BytebuddyAgent [candidate] (803.259 ms) : 0, 803259
GlobalTracer [baseline] (231.794 ms) : 0, 231794
GlobalTracer [candidate] (231.29 ms) : 0, 231290
IAST [baseline] (27.844 ms) : 0, 27844
IAST [candidate] (29.164 ms) : 0, 29164
AppSec [baseline] (51.118 ms) : 0, 51118
AppSec [candidate] (49.601 ms) : 0, 49601
Debugger [baseline] (5.986 ms) : 0, 5986
Debugger [candidate] (5.931 ms) : 0, 5931
Remote Config [baseline] (594.767 µs) : 0, 595
Remote Config [candidate] (584.63 µs) : 0, 585
Telemetry [baseline] (7.979 ms) : 0, 7979
Telemetry [candidate] (7.936 ms) : 0, 7936
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (803.449 ms) : 0, 803449
BytebuddyAgent [candidate] (804.328 ms) : 0, 804328
GlobalTracer [baseline] (231.394 ms) : 0, 231394
GlobalTracer [candidate] (231.774 ms) : 0, 231774
IAST [baseline] (22.678 ms) : 0, 22678
IAST [candidate] (24.044 ms) : 0, 24044
AppSec [baseline] (56.063 ms) : 0, 56063
AppSec [candidate] (54.361 ms) : 0, 54361
Debugger [baseline] (6.003 ms) : 0, 6003
Debugger [candidate] (5.968 ms) : 0, 5968
Remote Config [baseline] (612.587 µs) : 0, 613
Remote Config [candidate] (604.46 µs) : 0, 604
Telemetry [baseline] (7.811 ms) : 0, 7811
Telemetry [candidate] (7.876 ms) : 0, 7876
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.50.0-SNAPSHOT~0dc90efdf1, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.031 s) : 0, 1031485
Total [baseline] (10.523 s) : 0, 10523130
Agent [candidate] (1.022 s) : 0, 1022296
Total [candidate] (10.556 s) : 0, 10555612
section appsec
Agent [baseline] (1.16 s) : 0, 1160361
Total [baseline] (10.692 s) : 0, 10691613
Agent [candidate] (1.168 s) : 0, 1168125
Total [candidate] (10.747 s) : 0, 10746752
section iast
Agent [baseline] (1.15 s) : 0, 1149944
Total [baseline] (10.932 s) : 0, 10931546
Agent [candidate] (1.149 s) : 0, 1149195
Total [candidate] (10.895 s) : 0, 10894525
section profiling
Agent [baseline] (1.28 s) : 0, 1279989
Total [baseline] (10.939 s) : 0, 10938712
Agent [candidate] (1.273 s) : 0, 1272845
Total [candidate] (11.017 s) : 0, 11016508
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.031 s -
Agent appsec 1.16 s 128.876 ms (12.5%)
Agent iast 1.15 s 118.459 ms (11.5%)
Agent profiling 1.28 s 248.504 ms (24.1%)
Total tracing 10.523 s -
Total appsec 10.692 s 168.483 ms (1.6%)
Total iast 10.932 s 408.416 ms (3.9%)
Total profiling 10.939 s 415.582 ms (3.9%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.022 s -
Agent appsec 1.168 s 145.828 ms (14.3%)
Agent iast 1.149 s 126.898 ms (12.4%)
Agent profiling 1.273 s 250.549 ms (24.5%)
Total tracing 10.556 s -
Total appsec 10.747 s 191.14 ms (1.8%)
Total iast 10.895 s 338.913 ms (3.2%)
Total profiling 11.017 s 460.896 ms (4.4%)
gantt
    title petclinic - break down per module: candidate=1.50.0-SNAPSHOT~0dc90efdf1, baseline=1.50.0-SNAPSHOT~ad6d5fef42

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (691.362 ms) : 0, 691362
BytebuddyAgent [candidate] (683.091 ms) : 0, 683091
GlobalTracer [baseline] (242.187 ms) : 0, 242187
GlobalTracer [candidate] (240.605 ms) : 0, 240605
AppSec [baseline] (55.863 ms) : 0, 55863
AppSec [candidate] (54.76 ms) : 0, 54760
Debugger [baseline] (8.408 ms) : 0, 8408
Debugger [candidate] (9.758 ms) : 0, 9758
Remote Config [baseline] (704.053 µs) : 0, 704
Remote Config [candidate] (704.648 µs) : 0, 705
Telemetry [baseline] (9.097 ms) : 0, 9097
Telemetry [candidate] (9.899 ms) : 0, 9899
section appsec
BytebuddyAgent [baseline] (699.376 ms) : 0, 699376
BytebuddyAgent [candidate] (704.563 ms) : 0, 704563
GlobalTracer [baseline] (236.446 ms) : 0, 236446
GlobalTracer [candidate] (238.309 ms) : 0, 238309
AppSec [baseline] (176.243 ms) : 0, 176243
AppSec [candidate] (176.599 ms) : 0, 176599
Debugger [baseline] (5.949 ms) : 0, 5949
Debugger [candidate] (5.977 ms) : 0, 5977
Remote Config [baseline] (619.671 µs) : 0, 620
Remote Config [candidate] (622.787 µs) : 0, 623
Telemetry [baseline] (7.388 ms) : 0, 7388
Telemetry [candidate] (7.398 ms) : 0, 7398
IAST [baseline] (21.672 ms) : 0, 21672
IAST [candidate] (21.989 ms) : 0, 21989
section iast
BytebuddyAgent [baseline] (802.524 ms) : 0, 802524
BytebuddyAgent [candidate] (802.027 ms) : 0, 802027
GlobalTracer [baseline] (230.684 ms) : 0, 230684
GlobalTracer [candidate] (230.741 ms) : 0, 230741
AppSec [baseline] (52.025 ms) : 0, 52025
AppSec [candidate] (50.294 ms) : 0, 50294
Debugger [baseline] (5.921 ms) : 0, 5921
Debugger [candidate] (5.909 ms) : 0, 5909
Remote Config [baseline] (578.541 µs) : 0, 579
Remote Config [candidate] (590.604 µs) : 0, 591
Telemetry [baseline] (7.898 ms) : 0, 7898
Telemetry [candidate] (7.921 ms) : 0, 7921
IAST [baseline] (25.332 ms) : 0, 25332
IAST [candidate] (28.281 ms) : 0, 28281
section profiling
ProfilingAgent [baseline] (109.312 ms) : 0, 109312
ProfilingAgent [candidate] (104.42 ms) : 0, 104420
BytebuddyAgent [baseline] (673.096 ms) : 0, 673096
BytebuddyAgent [candidate] (678.153 ms) : 0, 678153
GlobalTracer [baseline] (377.782 ms) : 0, 377782
GlobalTracer [candidate] (361.502 ms) : 0, 361502
AppSec [baseline] (54.488 ms) : 0, 54488
AppSec [candidate] (62.427 ms) : 0, 62427
Debugger [baseline] (6.07 ms) : 0, 6070
Debugger [candidate] (6.336 ms) : 0, 6336
Remote Config [baseline] (657.496 µs) : 0, 657
Remote Config [candidate] (665.192 µs) : 0, 665
Telemetry [baseline] (8.092 ms) : 0, 8092
Telemetry [candidate] (8.161 ms) : 0, 8161
Profiling [baseline] (109.338 ms) : 0, 109338
Profiling [candidate] (104.444 ms) : 0, 104444
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
end_time 2025-05-26T13:04:23 2025-05-26T13:12:08
git_branch master smola/gradle-4-gradle85-upgrade
git_commit_date 1746789389 1748263516
git_commit_sha ad6d5fe 0dc90ef
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~0dc90efdf1
start_time 2025-05-26T13:04:09 2025-05-26T13:11:54
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1748265527 1748265527
ci_job_id 954069049 954069049
ci_pipeline_id 66108869 66108869
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zghvxubd-project-304-concurrent-0-zef965v9 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zghvxubd-project-304-concurrent-0-zef965v9 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
variant iast iast

Summary

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

Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~0dc90efdf1, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.364 ms) : 1345, 1383
.   : milestone, 1364,
appsec (1.735 ms) : 1712, 1758
.   : milestone, 1735,
appsec_no_iast (1.736 ms) : 1713, 1759
.   : milestone, 1736,
code_origins (1.688 ms) : 1660, 1716
.   : milestone, 1688,
iast (1.509 ms) : 1484, 1534
.   : milestone, 1509,
profiling (1.515 ms) : 1492, 1538
.   : milestone, 1515,
tracing (1.499 ms) : 1474, 1524
.   : milestone, 1499,
section candidate
no_agent (1.366 ms) : 1345, 1387
.   : milestone, 1366,
appsec (1.746 ms) : 1722, 1770
.   : milestone, 1746,
appsec_no_iast (1.749 ms) : 1725, 1773
.   : milestone, 1749,
code_origins (1.682 ms) : 1655, 1710
.   : milestone, 1682,
iast (1.524 ms) : 1501, 1548
.   : milestone, 1524,
profiling (1.527 ms) : 1503, 1551
.   : milestone, 1527,
tracing (1.503 ms) : 1478, 1527
.   : milestone, 1503,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.364 ms [1.345 ms, 1.383 ms] -
appsec 1.735 ms [1.712 ms, 1.758 ms] 370.93 µs (27.2%)
appsec_no_iast 1.736 ms [1.713 ms, 1.759 ms] 371.935 µs (27.3%)
code_origins 1.688 ms [1.66 ms, 1.716 ms] 323.826 µs (23.7%)
iast 1.509 ms [1.484 ms, 1.534 ms] 144.877 µs (10.6%)
profiling 1.515 ms [1.492 ms, 1.538 ms] 150.769 µs (11.1%)
tracing 1.499 ms [1.474 ms, 1.524 ms] 134.823 µs (9.9%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.366 ms [1.345 ms, 1.387 ms] -
appsec 1.746 ms [1.722 ms, 1.77 ms] 379.98 µs (27.8%)
appsec_no_iast 1.749 ms [1.725 ms, 1.773 ms] 382.912 µs (28.0%)
code_origins 1.682 ms [1.655 ms, 1.71 ms] 316.39 µs (23.2%)
iast 1.524 ms [1.501 ms, 1.548 ms] 158.256 µs (11.6%)
profiling 1.527 ms [1.503 ms, 1.551 ms] 161.001 µs (11.8%)
tracing 1.503 ms [1.478 ms, 1.527 ms] 136.854 µs (10.0%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~0dc90efdf1, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (387.482 µs) : 366, 409
.   : milestone, 387,
iast (511.135 µs) : 490, 533
.   : milestone, 511,
iast_FULL (735.18 µs) : 713, 757
.   : milestone, 735,
iast_GLOBAL (575.735 µs) : 553, 598
.   : milestone, 576,
iast_HARDCODED_SECRET_DISABLED (520.696 µs) : 497, 544
.   : milestone, 521,
iast_INACTIVE (468.291 µs) : 445, 491
.   : milestone, 468,
iast_TELEMETRY_OFF (509.639 µs) : 486, 533
.   : milestone, 510,
tracing (459.806 µs) : 438, 482
.   : milestone, 460,
section candidate
no_agent (380.089 µs) : 360, 400
.   : milestone, 380,
iast (520.919 µs) : 499, 543
.   : milestone, 521,
iast_FULL (735.729 µs) : 714, 758
.   : milestone, 736,
iast_GLOBAL (566.253 µs) : 544, 588
.   : milestone, 566,
iast_HARDCODED_SECRET_DISABLED (517.9 µs) : 495, 541
.   : milestone, 518,
iast_INACTIVE (465.626 µs) : 444, 488
.   : milestone, 466,
iast_TELEMETRY_OFF (523.053 µs) : 500, 547
.   : milestone, 523,
tracing (457.671 µs) : 435, 480
.   : milestone, 458,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 387.482 µs [365.653 µs, 409.311 µs] -
iast 511.135 µs [489.515 µs, 532.756 µs] 123.654 µs (31.9%)
iast_FULL 735.18 µs [713.262 µs, 757.098 µs] 347.698 µs (89.7%)
iast_GLOBAL 575.735 µs [553.312 µs, 598.159 µs] 188.253 µs (48.6%)
iast_HARDCODED_SECRET_DISABLED 520.696 µs [497.462 µs, 543.931 µs] 133.214 µs (34.4%)
iast_INACTIVE 468.291 µs [445.416 µs, 491.167 µs] 80.81 µs (20.9%)
iast_TELEMETRY_OFF 509.639 µs [486.284 µs, 532.993 µs] 122.157 µs (31.5%)
tracing 459.806 µs [437.655 µs, 481.956 µs] 72.324 µs (18.7%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 380.089 µs [359.869 µs, 400.31 µs] -
iast 520.919 µs [499.016 µs, 542.822 µs] 140.83 µs (37.1%)
iast_FULL 735.729 µs [713.746 µs, 757.712 µs] 355.64 µs (93.6%)
iast_GLOBAL 566.253 µs [544.202 µs, 588.304 µs] 186.164 µs (49.0%)
iast_HARDCODED_SECRET_DISABLED 517.9 µs [494.717 µs, 541.083 µs] 137.811 µs (36.3%)
iast_INACTIVE 465.626 µs [443.687 µs, 487.565 µs] 85.537 µs (22.5%)
iast_TELEMETRY_OFF 523.053 µs [499.56 µs, 546.546 µs] 142.964 µs (37.6%)
tracing 457.671 µs [435.491 µs, 479.851 µs] 77.582 µs (20.4%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master smola/gradle-4-gradle85-upgrade
git_commit_date 1746789389 1748263516
git_commit_sha ad6d5fe 0dc90ef
release_version 1.50.0-SNAPSHOT~ad6d5fef42 1.50.0-SNAPSHOT~0dc90efdf1
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1748265940 1748265940
ci_job_id 954069050 954069050
ci_pipeline_id 66108869 66108869
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-a5ynt5bs-project-304-concurrent-1-r6gy1fba 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-a5ynt5bs-project-304-concurrent-1-r6gy1fba 6.8.0-1029-aws #31~22.04.1-Ubuntu SMP Thu Apr 24 21:16:18 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
variant appsec appsec

Summary

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

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~0dc90efdf1, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.473 s) : 15473000, 15473000
.   : milestone, 15473000,
appsec (14.996 s) : 14996000, 14996000
.   : milestone, 14996000,
iast (18.962 s) : 18962000, 18962000
.   : milestone, 18962000,
iast_GLOBAL (17.808 s) : 17808000, 17808000
.   : milestone, 17808000,
profiling (15.284 s) : 15284000, 15284000
.   : milestone, 15284000,
tracing (15.053 s) : 15053000, 15053000
.   : milestone, 15053000,
section candidate
no_agent (15.467 s) : 15467000, 15467000
.   : milestone, 15467000,
appsec (14.711 s) : 14711000, 14711000
.   : milestone, 14711000,
iast (19.132 s) : 19132000, 19132000
.   : milestone, 19132000,
iast_GLOBAL (18.113 s) : 18113000, 18113000
.   : milestone, 18113000,
profiling (14.991 s) : 14991000, 14991000
.   : milestone, 14991000,
tracing (14.986 s) : 14986000, 14986000
.   : milestone, 14986000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.473 s [15.473 s, 15.473 s] -
appsec 14.996 s [14.996 s, 14.996 s] -477.0 ms (-3.1%)
iast 18.962 s [18.962 s, 18.962 s] 3.489 s (22.5%)
iast_GLOBAL 17.808 s [17.808 s, 17.808 s] 2.335 s (15.1%)
profiling 15.284 s [15.284 s, 15.284 s] -189.0 ms (-1.2%)
tracing 15.053 s [15.053 s, 15.053 s] -420.0 ms (-2.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.467 s [15.467 s, 15.467 s] -
appsec 14.711 s [14.711 s, 14.711 s] -756.0 ms (-4.9%)
iast 19.132 s [19.132 s, 19.132 s] 3.665 s (23.7%)
iast_GLOBAL 18.113 s [18.113 s, 18.113 s] 2.646 s (17.1%)
profiling 14.991 s [14.991 s, 14.991 s] -476.0 ms (-3.1%)
tracing 14.986 s [14.986 s, 14.986 s] -481.0 ms (-3.1%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~0dc90efdf1, baseline=1.50.0-SNAPSHOT~ad6d5fef42
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.474 ms) : 1463, 1486
.   : milestone, 1474,
appsec (2.392 ms) : 2344, 2440
.   : milestone, 2392,
iast (2.165 ms) : 2105, 2225
.   : milestone, 2165,
iast_GLOBAL (2.213 ms) : 2152, 2275
.   : milestone, 2213,
profiling (2.045 ms) : 1995, 2096
.   : milestone, 2045,
tracing (1.992 ms) : 1945, 2039
.   : milestone, 1992,
section candidate
no_agent (1.474 ms) : 1463, 1486
.   : milestone, 1474,
appsec (2.386 ms) : 2338, 2434
.   : milestone, 2386,
iast (2.173 ms) : 2113, 2234
.   : milestone, 2173,
iast_GLOBAL (2.21 ms) : 2149, 2271
.   : milestone, 2210,
profiling (2.023 ms) : 1974, 2071
.   : milestone, 2023,
tracing (2.003 ms) : 1956, 2050
.   : milestone, 2003,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.474 ms [1.463 ms, 1.486 ms] -
appsec 2.392 ms [2.344 ms, 2.44 ms] 918.091 µs (62.3%)
iast 2.165 ms [2.105 ms, 2.225 ms] 690.677 µs (46.9%)
iast_GLOBAL 2.213 ms [2.152 ms, 2.275 ms] 739.353 µs (50.2%)
profiling 2.045 ms [1.995 ms, 2.096 ms] 571.236 µs (38.8%)
tracing 1.992 ms [1.945 ms, 2.039 ms] 517.915 µs (35.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.474 ms [1.463 ms, 1.486 ms] -
appsec 2.386 ms [2.338 ms, 2.434 ms] 911.779 µs (61.8%)
iast 2.173 ms [2.113 ms, 2.234 ms] 698.796 µs (47.4%)
iast_GLOBAL 2.21 ms [2.149 ms, 2.271 ms] 735.39 µs (49.9%)
profiling 2.023 ms [1.974 ms, 2.071 ms] 548.169 µs (37.2%)
tracing 2.003 ms [1.956 ms, 2.05 ms] 528.675 µs (35.9%)

@smola smola marked this pull request as ready for review May 26, 2025 17:29
@smola smola requested review from a team as code owners May 26, 2025 17:29
@smola smola requested review from colin-higgins and dougqh and removed request for a team May 26, 2025 17:29
@smola smola enabled auto-merge (squash) May 27, 2025 06:41
Copy link
Contributor

@bric3 bric3 left a comment

Choose a reason for hiding this comment

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

pre-approving

.minus(files(sourceSets.test.scala.classesDirectory)) // exclude default /build/classes/scala/test folder
.plus(customSourceSet.output.classesDirs) // add /build/classes/scala/${version} folder
.plus(configuration) // add new scala-library configuration
.plus(classPathConfiguration) // add new scala-library configuration
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: alignment

Suggested change
.plus(classPathConfiguration) // add new scala-library configuration
.plus(classPathConfiguration) // add new scala-library configuration

final javaConcatenation = major > 2 || minor > 11 // after 2.11 scala uses java.lang.StringBuilder to perform concatenation

final configuration = configurations.create("${version}Implementation")
final configuration = configurations.create("${version}Implementation") {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe rename this for consistency with the new variable.

Suggested change
final configuration = configurations.create("${version}Implementation") {
final implementationConfiguration = configurations.create("${version}Implementation") {

distributionSha256Sum=f2b9ed0faf8472cbe469255ae6c86eddb77076c75191741b4a462f33128dd419
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
distributionSha256Sum=c16d517b50dd28b3f5838f0e844b7520b8f1eb610f2f29de7e4e04a1b7c9c79b
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
Copy link
Contributor

Choose a reason for hiding this comment

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

question: Is there a reason to use the -all (which include sources), nowadays IDE can download the sources with the -bin distribution.

@smola smola merged commit ea5ce20 into master May 27, 2025
524 of 525 checks passed
@smola smola deleted the smola/gradle-4-gradle85-upgrade branch May 27, 2025 09:38
@github-actions github-actions bot added this to the 1.50.0 milestone May 27, 2025
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants