The GitHub Actions job "Coverage" on 
rocketmq.git/fix-11521-timer-snapshot-dirty-slots has succeeded.
Run started by GitHub user Drifter-yh (triggered by Drifter-yh).

Head commit for run:
9d903d88cbbe5341319681e39eaacfa821033380 / Drifter 
<[email protected]>
[ISSUE #11521] Copy only dirty slots when freezing timer wheel snapshot

The snapshot freeze still memcpy'd the full 36.9 MiB wheel while holding
lockWhenFlush, so each snapshot cycle stalled timer enqueue for the whole
copy. Track the slots written since the previous freeze and refresh only
those; the first freeze after startup still copies the full wheel, and a
dense dirty set falls back to the sequential full copy.

On a 604800-slot wheel the freeze drops from ~4.0 ms to ~0.19 ms for 10k
dirty slots in a local microbenchmark.

Report URL: https://github.com/apache/rocketmq/actions/runs/46123877866

With regards,
GitHub Actions via GitBox

Reply via email to