-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
A-build-systemC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-dev-infX-nostaleMarks an issue/pr that should be ignored by the stale botMarks an issue/pr that should be ignored by the stale bot
Description
Is your feature request related to a problem? Please describe.
This is a catch-all issue to split up our largest packages (as measured by build time) to increase build parallelism. Bazel can spit out how much time is spent compiling each package, and highlights what the bottleneck packages are.
$ dev build short -- --profile=short.gz # load through chrome, browsing to chrome://tracing
$ bazel analyze-profile short.gz # textual analysis
Describe the solution you'd like
The following packages are common offendors. There are probably more.
pkg/sqlpkg/sql/parserpkg/sql/colexec/colexecproj
24.614 s 6.16% action 'GoCompilePkg pkg/sql/colexec/colexecproj/colexecproj.a'
...
9.509 s 2.38% action 'GoCompilePkg pkg/sql/sql.a'
Jira issue: CRDB-14743
Metadata
Metadata
Assignees
Labels
A-build-systemC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-dev-infX-nostaleMarks an issue/pr that should be ignored by the stale botMarks an issue/pr that should be ignored by the stale bot