Skip to content

Fix/lazy yaml import - #29

Merged
psmyrdek merged 2 commits into
masterfrom
fix/lazy-yaml-import
Aug 13, 2026
Merged

Fix/lazy yaml import#29
psmyrdek merged 2 commits into
masterfrom
fix/lazy-yaml-import

Conversation

@psmyrdek

Copy link
Copy Markdown
Collaborator

No description provided.

psmyrdek and others added 2 commits August 13, 2026 20:57
The top-level 'yaml' import in bench-kit.ts is pulled in by index.ts,
so every CLI start paid for loading the YAML parser and the binary
smoke test's 50ms startup budget blew on CI (~58ms). Import yaml
dynamically inside registerBaseRepo — the only code path that needs
it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Local measurements show bench-kit added no startup cost (~38ms avg at
pre-bench-kit, merged, and lazy-import refs alike) — the 50ms budget
was simply too tight for shared CI runners, which hover just above it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@psmyrdek
psmyrdek merged commit 846d9b4 into master Aug 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant