You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by GitBox <gi...@apache.org> on 2026/06/13 22:52:55 UTC

[GH] (pekko/optimize/broadcast-hub-wheel-map): Workflow run "Headers" is working again!

The GitHub Actions job "Headers" on pekko.git/optimize/broadcast-hub-wheel-map has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
4d48ecb60a84ec1bc333d5b78d792dfe737ecd20 / He-Pin <he...@gmail.com>
perf: add license header to BroadcastHubBenchRunner and comparison results

Run headerCreateAll for the new benchmark runner file.

Comparison benchmark results (old ArrayList vs new LongMap):

Buffer=64 (128 wheel slots):
  Consumers  ArrayList(elem/s)  LongMap(elem/s)  Speedup
  64         305,657            296,756          0.97x
  256         72,446             76,075          1.05x
  1000        13,070             19,737          1.51x
  2000         4,348             10,223          2.35x

Buffer=256 (512 wheel slots):
  Consumers  ArrayList(elem/s)  LongMap(elem/s)  Speedup
  64       1,099,345          1,148,340          1.04x
  256        197,676            271,505          1.37x
  1000        27,804             70,727          2.54x
  2000         7,943             33,717          4.24x

The LongMap optimization provides 2.35x-4.24x speedup at 2000 consumers,
with the gap widening as consumer count increases — confirming the O(k)
linear scan was the dominant bottleneck.

Tests:
- sbt "bench-jmh/headerCreateAll" → header created
- sbt "bench-jmh/compile" → success

References:
Refs #3063

Report URL: https://github.com/apache/pekko/actions/runs/27481498956

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org