Perf: run entire reverse cn cidr in worker threads
Some checks are pending
Build / Build (push) Waiting to run
Build / Diff output (push) Blocked by required conditions
Build / Deploy to Cloudflare Pages (push) Blocked by required conditions
Build / Deploy to GitHub and GitLab (push) Blocked by required conditions

This commit is contained in:
SukkaW
2025-03-31 01:00:26 +08:00
parent 8cefcf740c
commit 76d50b25b1
2 changed files with 25 additions and 35 deletions

View File

@@ -61,6 +61,10 @@ const buildFinishedLock = path.join(ROOT_DIR, '.BUILD_FINISHED');
.map((key) => `${key} x ${cpus[key]}`)
.join('\n')
}`);
if ('availableParallelism' in os) {
console.log(`Available parallelism: ${os.availableParallelism()}`);
}
console.log(`Memory: ${os.totalmem() / (1024 * 1024)} MiB`);
const rootSpan = createSpan('root');