Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert change to calculate signature for formatting rules due to performance reasons #2120

Merged
merged 1 commit into from Nov 23, 2019

Conversation

arturbosch
Copy link
Member

@arturbosch arturbosch commented Nov 23, 2019

Reverts #2083 and #2107

Tested on detekt's codebase with cli and command jrun detekt-cli/build/libs/detekt-cli-1.2.0-all.jar -in "**/src/main/kotlin/**/*.kt" -i .
detekt run without plugins ~5s
detekt run with formatting plugin and no signature reported ~8s
detekt run with formatting plugin and signature ~12s

Formatting is slower and with the recent change it got even slower.

@arturbosch
Copy link
Member Author

Build is failing for OSX due to Java 13. Why does osx 12.3 use Java 13 which is unsupported by Gradle 5.6.X ...

@arturbosch arturbosch merged commit 42c9c40 into master Nov 23, 2019
@arturbosch arturbosch deleted the revert-formatting-changes branch November 23, 2019 20:09
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants