build: improve build performance #27924
Labels
build
Issues and PRs related to build files or the CI.
performance
Issues and PRs related to the performance of Node.js.
A no-op build (no files changed) currently takes about 25 seconds. It should be < 1 second.
(This is with warmed up disk caches. A cold build is a little slower still.)
It does a lot of things it doesn't need to do, like:
The first four should only run if the relevant files changed. cctest should only be built/linked when executing a test target (e.g.
make test
.)The text was updated successfully, but these errors were encountered: