Skip to content

Commit 9bb7101

Browse files
ovflowdavivkeller
andcommitted
chore: add a changeset for the build memory work
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Aviv Keller <me@aviv.sh>
1 parent e074c41 commit 9bb7101

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.changeset/build-memory.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@doc-kit/core': minor
3+
'@doc-kit/generator-react': minor
4+
'@node-core/doc-kit-legacy': minor
5+
---
6+
7+
Builds take about half the memory and a third of the time (measured on the Node.js API docs): Shiki registers each language once code in it is highlighted, highlighted code reaches pages as static markup rather than a tree per token, `all.html` is rendered by the worker pool, output is no longer minified by default (serve it compressed instead), idle workers end after 250ms, and each worker's heap is limited to 512MB, which Node.js's `--max-old-space-size` raises.

0 commit comments

Comments
 (0)