You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: Parallelize lockfile parsing with workspace discovery
Start reading and parsing the lockfile on a blocking thread concurrently
with workspace discovery and package.json parsing. The lockfile read only
needs the package manager identity (cheap to resolve from root package.json)
and the root package.json itself, both available before the package graph
pipeline begins.
The existing typestate pipeline was:
parse_package_jsons → read_lockfile → connect_internal_deps → ...
Now:
parse_package_jsons ──┐
├→ connect_internal_deps → ...
read_lockfile ────────┘
This saves min(lockfile_parse, workspace_discovery) off the critical path.
0 commit comments