Skip to content

feat(example): add any-sender-size operation-state measurement - #391

Merged
sgerbino merged 1 commit into
cppalliance:developfrom
sgerbino:example/any-sender-size
Aug 27, 2026
Merged

feat(example): add any-sender-size operation-state measurement#391
sgerbino merged 1 commit into
cppalliance:developfrom
sgerbino:example/any-sender-size

Conversation

@sgerbino

Copy link
Copy Markdown
Collaborator

Measures the operation state produced by connecting starts_on(sched, just(42)) through exec::any_sender / exec::any_receiver against the concrete operation state for the same pipeline, and counts the heap allocations made by connect and start through the replaceable operator new. Published so the numbers in P4251 have a checkable setup.

Against stdexec 307b83c5, x86-64 Linux, Release: connect performs one allocation of 112-200 bytes in every case, exceeding the 64-byte small buffer; start allocates nothing; the concrete path allocates nothing.

Measures the operation state produced by connecting starts_on(sched,
just(42)) through exec::any_sender / exec::any_receiver against the
concrete operation state for the same pipeline, and counts the heap
allocations made by connect and start through the replaceable
operator new. Published so the numbers in P4251 have a checkable setup.

Against stdexec 307b83c5, x86-64 Linux, Release: connect performs one
allocation of 112-200 bytes in every case, exceeding the 64-byte small
buffer; start allocates nothing; the concrete path allocates nothing.
@sgerbino
sgerbino force-pushed the example/any-sender-size branch from 92d4640 to 22831af Compare August 27, 2026 18:30
@sgerbino
sgerbino merged commit 969873d into cppalliance:develop Aug 27, 2026
1 check was pending
@sgerbino
sgerbino deleted the example/any-sender-size branch August 27, 2026 18:31
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Beast2 Aug 27, 2026
@cppalliance-bot

Copy link
Copy Markdown

An automated preview of the documentation is available at https://391.capy.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-08-27 18:33:17 UTC

@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.09%. Comparing base (93e011f) to head (22831af).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #391   +/-   ##
========================================
  Coverage    98.09%   98.09%           
========================================
  Files          130      130           
  Lines         6291     6291           
========================================
  Hits          6171     6171           
  Misses         120      120           
Flag Coverage Δ
linux 98.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93e011f...22831af. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants