Continue optimizing scheduler performance - #36
Merged
Conversation
Add fixed-dispatch scaling, readiness fan-out, allocation-slope, and trace scenarios for the next scheduler optimization pass. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f51472-51b1-4cff-9ed4-e26460b5163c
Reuse arrays while polling pending readiness predicates, eliminating the per-dispatch snapshot allocation without evaluating callbacks under the scheduler lock. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f51472-51b1-4cff-9ed4-e26460b5163c
Benchmark record and replay scaling, then use the existing failure listener instead of materializing all operation statuses after every dispatch. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f51472-51b1-4cff-9ed4-e26460b5163c
Benchmark timer batches and replace LINQ plus hash-set materialization with stable in-place partitioning and direct due-list sorting. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f51472-51b1-4cff-9ed4-e26460b5163c
Benchmark race-tracker access overhead and construct public reports plus synchronization labels only when a conflict is detected. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f51472-51b1-4cff-9ed4-e26460b5163c
Write candidate operation IDs directly into one exact-sized metadata string, eliminating per-candidate arrays and strings during decision logging. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f51472-51b1-4cff-9ed4-e26460b5163c
Keep decision capture opt-in, benchmark logged and unlogged dispatch side by side, and select default round-robin work in one cancellation-safe scan. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 58f51472-51b1-4cff-9ed4-e26460b5163c
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
Performance
Validation