Source browser
Start with basic messaging, then choose grouped, concurrent or synchronous callbacks. Every view contains the complete source, syntax highlighting and line numbers.
Examples
Basic messaging, grouped callbacks, concurrency and synchronous callbacks.
42 lines
Receive grouped data and iterate the records in each source range.
examples/two_buf_queue/02_batch_callback.cpp34 lines
One Writer per producer, with background consumption and validation.
examples/two_buf_queue/03_multi_thread_writer.cpp63 lines
Read layer-1 source blocks directly, without layer-2 copying.
examples/two_buf_queue/04_layer1_callback.cpp62 lines
Assign sequence numbers and receive source, sequence and payload.
examples/two_buf_queue/05_seq_writer.cpp74 lines
Run the callback in the producer thread before write returns.
examples/two_buf_queue/06_sync_writer.cpp49 lines
Nested loops write the current block and explicitly acquire the next.
examples/two_buf_queue/07_quick_write_muti_msg.cpp48 lines
All Writer, pool, reader and consumer settings.
examples/two_buf_queue/08_all_parameters.cpp111 lines
Background file logging, bounded-buffer pressure and draining shutdown.
examples/two_buf_queue/09_async_logger.cpp115 lines
Borrow and return pooled resources, and observe reuse.
examples/components/11_warm_pool.cpp48 lines
Customize resource creation and destruction.
examples/components/12_warm_pool_factory.cpp55 lines
Read an active resource range and return it after processing.
examples/components/13_spsc_live_handoff_queue.cpp149 lines
Claim the head; cancel to retain work that cannot yet be processed.
examples/components/14_spsc_live_handoff_queue_claim.cpp155 lines
Built-in consumers process handoffs and retry rejected work.
examples/components/15_handoff_queue.cpp96 lines
Concurrent producers and consumers share a handoff queue.
examples/components/16_handoff_queue_mpmc.cpp87 lines
54 lines
Components
Read these headers for lower-level behavior.
Resource handoff with multiple concurrency modes and consumer workers.
src/base_components/handoff_queue/handoff_queue.hpp102 lines
SPSC resource handoff with access to data still being produced.
src/base_components/live_handoff_queue/spsc_live_handoff_queue.hpp353 lines
Resource creation, borrowing, return and capacity control.
src/base_components/warm_pool/warm_pool.hpp375 lines
Benchmark scripts
Execution, parameter selection and saved results.
Complete source referenced by the documentation.
benchmarks/block_size/test_per_write_block_size_only_writer.py254 lines
Complete source referenced by the documentation.
benchmarks/block_size/test_per_writer_block_size.py324 lines
Complete source referenced by the documentation.
benchmarks/burst/run_burst_empty.py158 lines
Complete source referenced by the documentation.
benchmarks/hot_path/test_hot_path_cache.py285 lines
55 lines
70 lines
Run configured measurements, validate payloads and save all records.
benchmarks/spsc/run_release_benchmarks.py220 lines
738 lines
Historical experiment script, preserving its measured logic.
docs/performance_data/latency32_investigation_20261010/run.py43 lines
Historical experiment script, preserving its measured logic.
docs/performance_data/plateau_compare_256m_zero_20261012/restyle_comparison.py312 lines
Historical experiment script, preserving its measured logic.
docs/performance_data/plateau_compare_256m_zero_20261012/weighted_common_config_20261012/select_weighted.py185 lines
Assembly
Actual instructions saved during performance diagnosis.
Saved assembly with line navigation.
docs/performance_data/burst_instruction_1m_20261012/business_original.asm45 lines
Saved assembly with line navigation.
docs/performance_data/rigtorp_prefetch_20261011/push_codegen.s66 lines
Build integration
CMake configuration for application integration.
Check vendored, FetchContent and installed-package integration.
test/integration/CMakeLists.txt32 lines
Technical notes
Saved diagnostic notes and experiments.
Saved technical notes and experiments.
docs/performance_data/twobufqueue_8b_regression_20261011/README.txt35 lines
No matching files.