Skip to content

test(bench): profile LogIt producer path - #152

Merged
LimiNode merged 3 commits into
mainfrom
research/producer-profiling
Oct 3, 2026
Merged

LimiNode merged 3 commits into
mainfrom
research/producer-profiling

Conversation

@LimiNode

@LimiNode LimiNode commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a benchmark-only producer-path decomposition target
  • measure payload copy, LogRecord construction, dispatch, TaskExecutor admission, and full async prepared path
  • document workload contracts and interpretation

Verification

  • built logit_producer_profile with MSVC Release, C++17, MPSC ring enabled
  • ran 100,000 measured calls, 10,000 warmup calls, 5 repeats
  • no production implementation changes

Add an isolated benchmark target that decomposes payload copying, LogRecord construction, logger dispatch, task admission, and the prepared asynchronous producer path. Document the workload contracts and keep production implementation unchanged.
Build and run the producer profiling target in the Linux C++17 benchmark job, report the selected TaskExecutor backend, and document that the measurements are overlapping attribution probes rather than additive component costs.
Describe the producer profiling queue probe independently of the selected TaskExecutor backend so mutex-deque builds remain accurately documented.
@LimiNode
LimiNode merged commit a4b2e07 into main Oct 3, 2026
16 checks passed
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