SwiftLint Compile Times Extremely Slow
Open
Nobody has claimed this yet.
integration
- Dominant language
- Swift
- Stars
- 19.7k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 11
Description
New Issue Checklist
- Updated SwiftLint to the latest version
- I searched for existing GitHub issues
Describe the bug
- When compiling the app with the SwiftLint SPM plugin installed, the compile times are extremely slow.
- It looks like the culprit is
SwiftSyntax
Environment
- SwiftLint version: 0.52.3
- Xcode version: 14.3.1
- Installation method: SPM
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the slow compile with the SwiftLint SPM plugin installed in Xcode 14.3.1, then inspect the plugin and its SwiftSyntax dependency for the source of the delay. Done means the reported compile-time regression is understood and addressed, with the improvement verified by rebuilding the affected app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100