docs(guides): add performance optimization cookbook (#462)#472
Merged
kcenon merged 1 commit intoFeb 9, 2026
Merged
Conversation
Add comprehensive guide covering all 5 optimization components: - SIMD aggregator with AVX2/SSE2/NEON instruction set support - Lock-free MPMC queue with sequence-based CAS protocol - Fixed-size block memory pool with aligned allocation - Hot path helper with double-check locking pattern - Thread-local buffer for lock-free metric collection Includes 4 tuning recipes (max throughput, min latency, min memory, balanced production) and before/after performance comparisons.
5 tasks
kcenon
added a commit
that referenced
this pull request
Apr 13, 2026
Add comprehensive guide covering all 5 optimization components: - SIMD aggregator with AVX2/SSE2/NEON instruction set support - Lock-free MPMC queue with sequence-based CAS protocol - Fixed-size block memory pool with aligned allocation - Hot path helper with double-check locking pattern - Thread-local buffer for lock-free metric collection Includes 4 tuning recipes (max throughput, min latency, min memory, balanced production) and before/after performance comparisons.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #462
Test Plan
include/kcenon/monitoring/optimization/simd_aggregator.hinclude/kcenon/monitoring/optimization/lockfree_queue.hinclude/kcenon/monitoring/optimization/memory_pool.hinclude/kcenon/monitoring/utils/hot_path_helper.hinclude/kcenon/monitoring/core/thread_local_buffer.hdocs/performance/PERFORMANCE_TUNING.mddocs/guides/BEST_PRACTICES.mddocs/guides/COLLECTOR_DEVELOPMENT.md