Skip to content

Conversation

@radiohead
Copy link
Contributor

What

WIP

Why

WIP

radiohead and others added 4 commits October 30, 2025 14:37
Signed-off-by: Igor Suleymanov <[email protected]>
Signed-off-by: Igor Suleymanov <[email protected]>
What:
- Reduced initialBufferSize from 1024 to 64 for bufferedQueue ring buffers
- Fixed map capacity to use initialPoolSize instead of initialBufferSize
- Added comprehensive comment explaining rationale and safety mechanism

Why:
Benchmark analysis shows typical queue depth stays <20 events, while
RingGrowing buffer provides dynamic expansion during burst scenarios.
This optimization targets the common case (steady state) while the
dynamic growth mechanism handles edge cases.

Improvement: -10.29% memory (12.13Mi vs 13.52Mi baseline, p<0.001)
Standout: -19.57% execution time for 1000-object scenarios
Risk: Very low (all tests pass, dynamic growth provides safety)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant