gabriellefu commented on PR #24380: URL: https://github.com/apache/kafka/pull/24380#issuecomment-7168267046
JMH results for `StreamsAssignorBenchmark` with `assignorType=STICKY`, trunk
(7abc6af2b2) against this PR. Lower is better. Each
score is the mean of 3 forks, and the two sides were run alternately.
Allocation per operation is unchanged.
**1000 members, 100 subtopologies x 100 partitions** (ms/op)
| assignmentType | standbyReplicas | membersPerProcess | trunk | this PR |
change |
|---|---|---|---|---|---|
| FULL | 0 | 1 | 2.644 | 2.093 | -20.9% |
| FULL | 0 | 50 | 2.676 | 2.092 | -21.8% |
| FULL | 1 | 1 | 3.859 | 3.254 | -15.7% |
| FULL | 1 | 50 | 4.114 | 3.510 | -14.7% |
| INCREMENTAL | 0 | 1 | 1.883 | 1.664 | -11.6% |
| INCREMENTAL | 0 | 50 | 1.961 | 1.684 | -14.2% |
| INCREMENTAL | 1 | 1 | 3.495 | 3.296 | -5.7% |
| INCREMENTAL | 1 | 50 | 3.335 | 3.075 | -7.8% |
**100 members, 10 subtopologies x 10 partitions** (us/op)
| assignmentType | standbyReplicas | membersPerProcess | trunk | this PR |
change |
|---|---|---|---|---|---|
| FULL | 0 | 1 | 31.9 | 27.4 | -14.0% |
| FULL | 1 | 1 | 44.1 | 37.7 | -14.5% |
| INCREMENTAL | 0 | 1 | 28.5 | 26.6 | -6.6% |
| INCREMENTAL | 1 | 1 | 39.9 | 36.8 | -7.6% |
Setup: JDK 25.0.4, Apple M5 Max, JMH 1.37, 5 warmup and 5 measurement
iterations per fork (2 s each for the large group, 1 s for
the small one), `reportedOffsets=NONE`, `rackAwareTags=NONE`.
The unit tests in `org.apache.kafka.coordinator.group.streams.assignor`
pass.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
