-
Notifications
You must be signed in to change notification settings - Fork 45
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
Adding multiprocessing #148
Conversation
@dixudx which formatting tool are you using? I would adapt my changes to this because my VS Code formatted with Black... |
I observed a speed-up of approximately 43% for a
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Would you please format the code? Thanks
@casabre Please run |
Really HUGE improvements. 👍🏻👍🏻👍🏻 I am wondering whether we could have a benchmark graph on our README. |
Thanks a lot but I dug deeper because I was wondering about the long overall processing time. I re-used the previous mentioned scenario. There are now 83 entries in the query.
I am wondering where the processing time is lost because I used 8 cores which should at least speed up by factor 8 and not ~2... just breaking down the result of the old implementation into single times, I am ending up with I don't know any detail about the underlying implementation but is any work item queried separately in the mapping phase? → #149 could help a lot even without multiprocessing because we can parse during the
Sure, we can do. I can prepare a Jupyter notebook. Do you have a reasonable setup? Currently, I am working from home via a VPN connection which biases the results 😉 |
|
I found also a spot in the lowest
I was wondering why looping over the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for such a HUGE improvement.
@dixudx when are you planning a new release? Would need quite soon because Git cloning won't become an option in future :). |
@casabre Sure. Already shipped with 0.8.0. You can install with |
First implementation of multiprocessing for review