typetools / typetools/checker-framework

gradlew reformat takes 25 seconds even for back-to-back executions

Open
#3,735 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
440
Avg merge
1d 12h
Merged PRs (30d)
134

Description

Build scan: https://scans.gradle.com/s/v3h4b4q56gj42/timeline

It would be nice if ./gradlew reformat was incremental.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running ./gradlew reformat twice and reviewing the linked Gradle build scan, especially its timeline. Identify which reformat work is repeated on the second execution. Done means back-to-back executions reuse incremental state and the second run is substantially faster.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.