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
Feature request: lint files in parallel #412
Comments
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment. |
|
Looks nice. @AbigailBuccaneer could you help incorporate something similar to |
+1; this would be great to have. However, how would the issue of multiple reports be tackled? |
Issue Summary
Linting seems ripe for parallelization, but unfortunately I haven't seem a good solution yet. I've tried running this script, https://gist.github.com/tommeier/ff660205271f82a47041, but as you can see with the timings I posted in there, it doesn't parallelize very well. My other solution is to put subsets of the overall compile_commands.json into individual temp directories (while needing to keep the whole in the base dir of the project) and then starting a thread running oclint-json-compilation-database from each directory. With the latter method, I get good parallelization with about 4x speedup
The text was updated successfully, but these errors were encountered: