Repository navigation
perf: add workspace scaling budget harness - #36079
Conversation
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
web and size checks: green Shipped in:
|
teamleaderleo
left a comment
There was a problem hiding this comment.
Review (codex gpt-6-astra high, next-review, since=20261105T041857Z): BLOCK at 473cc77
BLOCK at 473cc77
Visual verdict: no images; Leo tries the build
Targeted unit tests and Python compilation pass.
-
[P1] [blocking] [category:tooling] [finding:F1] [outcome:pending]
scripts/cmux-next/perf-cron.py:161adds a suite without bumpingSPLIT_SPRING_MEASURE_VERSION(scripts/measure/split-spring.sh:39). Historical commits remain eligible for bisects even though their dispatcher lacks this suite, so those runs fall through to another bench and emit noworkspace_scaling.*rows. -
[P2] [follow-up] [category:performance] [finding:F2] [outcome:pending]
workspace-scaling-bench.py:163labels sidebar measurements as 1/100/1000, butsidebar-stress-bench.pyfirst creates an uncountedbench startworkspace beforegrow(size). The actual topologies are therefore size+1. -
[P1] [follow-up] [category:reliability] [finding:F3] [outcome:pending]
workspace-scaling-bench.py:147ignores probe exit codes, andmain()still returns success with missing reports or partial rows. An incomplete GUI probe can therefore be recorded as a successful scaling result instead of being marked incomplete.
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
This comment has been minimized.
This comment has been minimized.
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Review (codex gpt-6.1-sol xhigh, router-review): BLOCK at 9e05d63 BLOCK at 9e05d63 Visual verdict: no images; Leo tries the build
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Review (codex, router-review): SHIP at c4565b2 Reviewer: codex gpt-6.1-sol xhigh, fast tier. Follow-ups: 1. They land as checklist items in this PR's one follow-up tracking issue in this repo ( SHIP at c4565b2 Visual verdict: no images; Leo tries the build Checked the targeted unittest suite and Python compilation; both pass.
Follow-ups:
|
This comment has been minimized.
This comment has been minimized.
|
Review (codex, router-review): SHIP at 5a2a951 Reviewer: codex gpt-6-astra high, fast tier. Follow-ups: 2. They land as checklist items in this PR's one follow-up tracking issue in this repo ( SHIP at 5a2a951 Visual verdict: no images; Leo tries the build.
Follow-ups:
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Review (codex, router-review): SHIP at 5128710 Reviewer: codex gpt-6.1-sol xhigh, fast tier. Follow-ups: 1. They land as checklist items in this PR's one follow-up tracking issue in this repo ( SHIP at 5128710 Visual verdict: no images; Leo tries the build
Follow-ups:
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Review (codex, router-review): SHIP at 4113ed2 Reviewer: codex gpt-6-astra high, fast tier. Follow-ups: 1. They land as checklist items in this PR's one follow-up tracking issue in this repo ( SHIP at 4113ed2 Visual verdict: no images; Leo tries the build The focused unit tests pass. One incomplete-sample case should be tracked:
Follow-ups: F1. |
|
Review (codex, router-review): SHIP at 9073800 Reviewer: codex gpt-6-astra high, fast tier. SHIP at 9073800 Visual verdict: no images; Leo tries the build Checked the harness wiring, report parsing, topology validation, warning behavior, and the supplied unit tests ( Follow-ups: none |
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
Co-authored-by: Codex <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-05ff15a06e14c40b5fb7
3fc3309 to
8eec2c9
Compare
|
Review (codex, router-review): SHIP at 8eec2c9 Reviewer: codex gpt-6.1-sol xhigh, fast tier. Follow-ups: 2. They land as checklist items in this PR's one follow-up tracking issue in this repo ( SHIP at 8eec2c9 Visual verdict: no images; Leo tries the build
Follow-ups:
|
|
Review (codex, router-review): SHIP at 8eec2c9 Reviewer: codex gpt-6-astra high, fast tier. Follow-ups: 2. They land as checklist items in this PR's one follow-up tracking issue in this repo ( SHIP at 8eec2c9 Visual verdict: no images; Leo tries the build.
Follow-ups:
|
|
Independent review (Claude Opus 5.5, medium), read-only, at exact head Fixed since my BLOCK at 9073800
Non-blocking, fix forward
Review (claude opus-5.5 medium): SHIP at 8eec2c9 |
teamleaderleo
left a comment
There was a problem hiding this comment.
Review (claude-opus-5-5): SHIP at 8eec2c9
|
Review (codex, router-review): SHIP at 8eec2c9 Reviewer: codex gpt-6-astra high, fast tier. Follow-ups: 2. They land as checklist items in this PR's one follow-up tracking issue in this repo ( SHIP at 8eec2c9 Visual verdict: no images; Leo tries the build Targeted tests passed: 191 tests; Python files compile.
Follow-ups:
|
teamleaderleo
left a comment
There was a problem hiding this comment.
Review (claude-opus-5-5): SHIP at 8eec2c9
teamleaderleo
left a comment
There was a problem hiding this comment.
Review (claude-opus-5.5): SHIP at 8eec2c9
teamleaderleo
left a comment
There was a problem hiding this comment.
Review (claude-opus-5-5): SHIP at 8eec2c9
Independent Claude Opus 5.5 (medium) review at exact head 8eec2c9. Full findings: #36079 (comment). No blocking issues: exact-topology seeding, explicit undefined 1-workspace scroll/switch rows with a 100-workspace baseline, invariant typing workload, incomplete/malformed reports kept out of baselines, scaling rows exempt from the 10 ms target, and a capability-gated cron part. Fix-forward items are listed in the comment.
Review (claude opus-5.5 medium): SHIP at 8eec2c9
teamleaderleo
left a comment
There was a problem hiding this comment.
Review (claude opus-5.5 medium): SHIP at 8eec2c9
|
Review (claude opus-5.5 medium): SHIP at 8eec2c9 |
Adds a warning-only NEXT perf harness for Leo's constant-scaling requirement. It runs the existing new-surface, sidebar stress and automation typing probes at 1, 100 and 1000 seeded workspace counts, records p50/p95/p99 rows, and warns when 1000-workspace p95 exceeds the one-workspace value by more than 10%.
Changelog
Leo said: "It should just never, ever, ever, ever be f***ing acceptable for there to be some sort of linear time growth degradation in performance just because the app somehow has tons of workspaces, thousands, whatever workspace." This keeps the budget advisory so it reports regressions without slowing merges. It covers the contention baselines tracked in #34383 and #34384.
workspace-scaling-bench.pyworkspace-scaling-bench.py--empty-workspaces,--workspace-countValidation:
python3 -m unittest scripts/cmux-next/tests/test_workspace_scaling_bench.py scripts/cmux-next/tests/test_perf_completeness.py(run throughcmux-ci testat this head).🤖 Generated with Codex
Agent session: agent session