Repository navigation
feat: round-robin work packaging and scheduler optimizations - #50
Conversation
|
We've triggered an ultrareview automatically — This PR rewrites core job scheduling and work packaging with concurrency batching, direct storage binding, and segmented exception propagation—a missed bug could cause data corruption, deadlocks, or incorrect exception behavior across the entire ECS runtime.. I'll post findings when complete. An ultrareview is cubic's deepest review, catching hard-to-find bugs in the most critical PRs. It runs a longer, multi-pass analysis using cubic's most capable review models, and typically takes around 30 minutes. It consumes your team's reviewed-lines allowance at 3× the standard rate. Automated ultrareviews are disabled by default. We triggered this run as part of your trial. Want cubic to do this for every high-risk PR? Enable auto-ultrareview in your settings. |
There was a problem hiding this comment.
Ultrareview completed in 11m 31s
All reported issues were addressed across 13 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
In the 1,024-archetype benchmark, no-op Job improved from 514 µs/12.9 KB/1,024 work items to 107 µs/800 B/23 work items. All 4,289 tests pass.
Summary by cubic
Round-robin work packaging with a worker-aware cap cuts over-scheduling on fragmented archetypes and speeds up hot-path dispatch. Concrete streams and joins bind directly to storage, and segmented worker faults now flatten and rethrow while letting other segments finish.
Performance
Concurrency-based cap to limit work items on fragmented archetypes.Cross.Joindirectly to storage; wildcard joins remain forMatch.Any.FilteredStream.Joband trimmed pooled-job allocations.Bug Fixes
Written for commit 70816fd. Summary will update on new commits.