You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Dejan Stojadinović (Jira)" <ji...@apache.org> on 2026/09/13 12:17:00 UTC

[jira] [Updated] (RAT-575) [Regression] Slower RAT task execution with recent versions (0.17 and 0.18)

     [ https://issues.apache.org/jira/browse/RAT-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Stojadinović updated RAT-575:
-----------------------------------
    Environment:     (was: *Environment:*
 * Gradle RAT plugin versions / RAT versions:
 ** plugin version 0.8.1 / RAT version 0.15 (baseline, i.e. Kafka trunk)
 ** plugin version 0.10.0 / RAT version 0.17
 ** plugin version 0.11.0 / RAT version 0.18
 * Gradle (wrapper) version: 9.7.1
 * JDK: 25.0.4
{code:java}
openjdk version "25.0.4" 2026-07-21 LTS
OpenJDK Runtime Environment Temurin-25.0.4+7 (build 25.0.4+7-LTS)
OpenJDK 64-Bit Server VM Temurin-25.0.4+7 (build 25.0.4+7-LTS, mixed mode, sharing)
{code}

 * POC: [https://github.com/apache/kafka/pull/23424]
{code:java}
dejan@home:~/kafka$ git log -3 --oneline 
2575547fcff (HEAD -> KAFKA-21064, origin/KAFKA-21064) KAFKA-21064 plugin version bumped to 0.11.0 (in order to use Apache RAT bundled version 0.18)
6b28f8c39d6 KAFKA-21064 Apache RAT Gradle plugin version upgrade: 0.8.1 --> 0.10.0; redundant custom style file is removed
7a09196f933 KAFKA-20745: extend OffsetMapTest to verify different hash algorithms (#23391)
dejan@home:~/kafka$
{code}

*Test scenario:* execute: *./gradlew rat --rerun --profile* three times (once per each commit mentioned above).

*Test results:*
|commit|gradle RAT plugin/RAT version|RAT task execution time|
|Kafka trunk|plugin 0.8.1 (RAT 0.15)|2.553s|
|PR 1st commit|plugin 0.10.0 (RAT 0.17)|50.816s|
|PR 2nd commit|plugin 0.11.0 (RAT 0.18)|26.125s|)

> [Regression] Slower RAT task execution with recent versions (0.17 and 0.18)
> ---------------------------------------------------------------------------
>
>                 Key: RAT-575
>                 URL: https://issues.apache.org/jira/browse/RAT-575
>             Project: Apache RAT
>          Issue Type: Task
>          Components: core engine
>    Affects Versions: 0.17, 0.18
>            Reporter: Dejan Stojadinović
>            Priority: Major
>              Labels: Regression, regresion, slowness
>
> *Problem description:*
>  # it started after attempted version upgrade from *RAFT 0.15 to 0.17* (via Gradle Rat plugin version upgrade here: [https://github.com/apache/kafka/pull/23424#issuecomment-5633077550):] RAT task execution time was increased exponentially (25 times)
>  # plugin developer Paul Merlin (aka [~eskatos]) was extra responsive: [https://github.com/eskatos/creadur-rat-gradle/issues/37#issuecomment-5630452783]
>  # RAT 0.18 task execution time is better comparing to 0.17 (but nowhere near to 0.15)
> (on) Note: I can provide Gradle Develocity build results scans.
> *Environment:*
>  * Gradle RAT plugin versions / RAT versions:
>  ** plugin version 0.8.1 / RAT version 0.15 (baseline, i.e. Kafka trunk)
>  ** plugin version 0.10.0 / RAT version 0.17
>  ** plugin version 0.11.0 / RAT version 0.18
>  * Gradle (wrapper) version: 9.7.1
>  * JDK: 25.0.4
> {code:java}
> openjdk version "25.0.4" 2026-07-21 LTS
> OpenJDK Runtime Environment Temurin-25.0.4+7 (build 25.0.4+7-LTS)
> OpenJDK 64-Bit Server VM Temurin-25.0.4+7 (build 25.0.4+7-LTS, mixed mode, sharing)
> {code}
>  * POC: [https://github.com/apache/kafka/pull/23424]
> {code:java}
> dejan@home:~/kafka$ git log -3 --oneline 
> 2575547fcff (HEAD -> KAFKA-21064, origin/KAFKA-21064) KAFKA-21064 plugin version bumped to 0.11.0 (in order to use Apache RAT bundled version 0.18)
> 6b28f8c39d6 KAFKA-21064 Apache RAT Gradle plugin version upgrade: 0.8.1 --> 0.10.0; redundant custom style file is removed
> 7a09196f933 KAFKA-20745: extend OffsetMapTest to verify different hash algorithms (#23391)
> dejan@home:~/kafka$
> {code}
> *Test scenario:* execute: *./gradlew rat --rerun --profile* three times (once per each commit mentioned above).
> *Test results:*
> |commit|gradle RAT plugin/RAT version|RAT task execution time|
> |Kafka trunk|plugin 0.8.1 (RAT 0.15)|2.553s|
> |PR 1st commit|plugin 0.10.0 (RAT 0.17)|50.816s|
> |PR 2nd commit|plugin 0.11.0 (RAT 0.18)|26.125s|



--
This message was sent by Atlassian Jira
(v8.20.10#820010)