Skip to content

docs(openspec): plan #3550 Cut the shared import cost of a CLI start - #5781

Merged
dan-petty merged 1 commit into
mainfrom
perf/3550-cut-the-cpu-time-of-the
Nov 15, 2026
Merged

dan-petty merged 1 commit into
mainfrom
perf/3550-cut-the-cpu-time-of-the

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

The startup-imports row of devops ci spends 57 to 71 s of child CPU time over fresh interpreters, over the 38 s goal of #2369, and it reports the cost without cutting it. A start pays the dry-run models, the version record and the message and error catalogs before it runs anything. The change loads each of them on first use, so a start builds only the help catalog and no pydantic, and the row prints the child CPU time of each probe so the cost split is visible. A new probe fails when the root help leaves pydantic loaded. Every help probe, the four module limits, the control and -X importtime stay. Ref #3550.

Plans #3550

Change: openspec/changes/3550-cut-the-cpu-time-of-the/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix labels Nov 15, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The stage_ready row leaves pull request #5781 a draft. It holds the label plan/needs-fix, because the model review of its plan found an open finding. Fix the plan, or remove the label when the finding is no defect.

@devops-cli-service devops-cli-service Bot removed the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 15, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 15, 2026 03:52
@dan-petty
dan-petty merged commit 1c0d7b0 into main Nov 15, 2026
22 checks passed
@dan-petty
dan-petty deleted the perf/3550-cut-the-cpu-time-of-the branch November 15, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant