Skip to content

perf(arty_executor): reduce task and wake processing overhead - #779

Draft
martintmk wants to merge 5 commits into
mainfrom
user/martintmk/20260926-arty-instructions
Draft

martintmk wants to merge 5 commits into
mainfrom
user/martintmk/20260926-arty-instructions

Conversation

@martintmk

@martintmk martintmk commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Consolidates the executor benchmarks into 23 shared metabench scenarios and reduces runtime overhead with reusable queue swaps, borrowed polling wakers, and ordered wake-slice processing.

Three-run Linux Gungraun medians show 7.25% fewer instructions for one spawn/complete, 8.72% for a 10,000-task ready burst, 9.23% for 32 awakened tasks, and 13.31% for overflow processing. All 21 steady-state scenarios remain allocation-free. Public APIs, scheduling boundaries, wake accounting, metrics, and shutdown lifetime contracts are preserved.

The before/after report includes every scenario, raw repeated counts, toolchain and reproduction commands, timing observations, rejected candidates, and the stopping rationale. This establishes measured local improvements, not global optimality.

Independent Opus, Sonnet, and GPT reviews found no blocking issues. Required automation is green for this revision, and Codecov reports all modified coverable lines covered. The PR remains a draft.

…acts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1803d5f8-45cd-4fa3-a31a-de048ca6d289
Swap reusable task queues, borrow the polling waker, and process queued wakes as ordered contiguous slices. Preserve wake accounting, metrics, and shutdown ownership.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1803d5f8-45cd-4fa3-a31a-de048ca6d289
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1803d5f8-45cd-4fa3-a31a-de048ca6d289
@martintmk martintmk added the agency-rocket Touched by a rocket skill label Sep 26, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1803d5f8-45cd-4fa3-a31a-de048ca6d289
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1803d5f8-45cd-4fa3-a31a-de048ca6d289
@codecov

codecov Bot commented Sep 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.0%. Comparing base (ca3a372) to head (b4a0241).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #779   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files         738      736    -2     
  Lines       98471    98543   +72     
=======================================
+ Hits        98471    98543   +72     
Flag Coverage Δ
linux 100.0% <100.0%> (ø)
linux-arm 100.0% <100.0%> (ø)
scheduled ?
windows 100.0% <100.0%> (ø)

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 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

agency-rocket Touched by a rocket skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant