-
Notifications
You must be signed in to change notification settings - Fork 162
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
--threads flag doesn't seem to be used. #115
Comments
Yes. I have a multiprocess script that is not public, will publish it soon. |
Thanks @Waqar144, much appreciated! |
@Waqar144 is the general idea to split the |
@Icantjuddle yes. But things are a bit more complicated when it comes to writing out to the output folder. The script lives here if you want to try: https://github.com/KDAB/codebrowser/blob/master/scripts/runner.py |
Sounds good, giving it a try; thanks for pushing it! |
It mostly worked, the one issue I had was that there were a few files that seemed to be indexed repeatedly despite only showing up once in the |
I just make a comment to #88 (comment) with some ideas on how to improve things in that respect. |
@Icantjuddle please try with latest master, a critical patch to make the runner script work correctly was missing. Should also fix the build issue you had. |
Thanks, build is fixed, I'm still having some issues with duplicate entries in the Interestingly, only headers end up with duplicate entries, even though I've verified that there are not duplicates in the |
That is expected as multiple processes may end up appending to the file. It is easy to fix, we just need to append to a different file for each process and combine everything at the end.
Compile commands only contains entries for |
I do have entries for headers in my Thank you for all your help with this! |
I passed
--threads=30
buthtop
andps -T -p
seem to show only a single thread running. Is this expected?The text was updated successfully, but these errors were encountered: