mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-27 06:43:19 +08:00
How It Works gains a Build parallelism section: the frontend runs on one thread, executables divide into partitions by the size of their LLVM text, the LLVM helper compiles partitions on a thread per hardware thread, what dev and optimized builds run in parallel and in order, what a rebuild compiles again, and what profile-guided optimization adds to build time. The CLI reference links to it from --emit, --optimization, --profile-use, SCRIPTC_CACHE_DIR, and Profile-guided optimization. Fixes #1340 Co-authored-by: Quino Terrasa <26749475+espetro@users.noreply.github.com>