8000 Script input files are much slower then explicit passing the paths · Issue #6031 · realm/SwiftLint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Script input files are much slower then explicit passing the paths #6031

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

Open
2 tasks done
Ernest0-Production opened this issue Mar 22, 2025 · 0 comments
Open
2 tasks done
Labels
discussion Topics that cannot be categorized as bugs or enhancements yet. They require further discussions. integration Issues related to integration of SwiftLint into toolchains.

Comments

@Ernest0-Production
Copy link

New Issue Checklist

Bug Description

I found that calling swiftlint lint with 5000 files via SCRIPT_INPUT_FILE_N takes much longer time to lint than passing the paths explicitly:

# export SCRIPT_INPUT_FILE_N...
swiftlint lint --no-cache --use-script-input-files --progress

vs

swiftlint lint <paths> --no-cache --progress

The problem is not the timing of the linting itself, but the preparatory work that happens before anything starts.

Environment

  • SwiftLint version 0.58.2
  • Xcode version 16.2
  • Installation method used mise-en-place
@SimplyDanny SimplyDanny added discussion Topics that cannot be categorized as bugs or enhancements yet. They require further discussions. integration Issues related to integration of SwiftLint into toolchains. labels Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Topics that cannot be categorized as bugs or enhancements yet. They require further discussions. integration Issues related to integration of SwiftLint into toolchains.
Projects
None yet
Development

No branches or pull requests

2 participants
0