showuon edited a comment on pull request #10509:
URL: https://github.com/apache/kafka/pull/10509#issuecomment-822975764


   @ableegoldman (cc. @guozhangwang)
   After completing the sticky general assignor improvement 
(https://github.com/apache/kafka/pull/10552), I started to think... why don't I 
re-use the same techniques to the constrained assignor. In this commit: 
https://github.com/apache/kafka/pull/10509/commits/cd68d10b5030ecf9c1fd40b518322c0649a33ee4,
 I adopted the refactor 2 and 4 in https://github.com/apache/kafka/pull/10552 
to make the constrained assignor faster!
   
   After the PR: the `testLargeAssignmentAndGroupWithUniformSubscription` (1 
million partitions) will run from **~2600 ms
   down to ~1400 ms**, improves **46%** of performance, almost 2x faster!!
   
   Let's what the result is in jenkins trunk build.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to