-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[BEAM-14128] Eliminating quadratic behavior of computeCompositeInputOutput #17120
Conversation
…g a lookup map to find transforms that use a particular collection. Benchmarking on a graph with 6000 transforms shows a speedup from 1.5s to 0.015ms, for a memory increase of 8%.
Assigning reviewers. If you would like to opt out of this review, comment R: @riteshghorse for label go. Available commands:
|
Codecov Report
@@ Coverage Diff @@
## master #17120 +/- ##
=======================================
Coverage 73.96% 73.96%
=======================================
Files 671 671
Lines 88221 88227 +6
=======================================
+ Hits 65250 65256 +6
Misses 21859 21859
Partials 1112 1112
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Thank you very much for the contribution! I filed the JIRA (https://issues.apache.org/jira/browse/BEAM-14128) for this issue, and touched up the PR title and description. I have a few comment lines that I'll be adding to the PR myself before I merge this in. |
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.
I have one question about the benchmark so we can add a clarifying comment, but thank you for a clean improvement for large complex graphs!
Co-authored-by: Robert Burke <lostluck@users.noreply.github.com>
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.
Thanks for the review! Comments addressed.
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.
LGTM. Thank you! Will merge shortly.
Eliminating quadratic behavior of computeCompositeInputOutput by using a lookup map to find transforms that use a particular collection.
Benchmarking on a graph with 6000 transforms shows a speedup from 1.5s to 15ms, for a memory increase of 8%.
R: @lostluck