Skip to content

staticnode: build with clang/lld at -O2, drop sqlite and amaro - #789

Closed
reaperhulk wants to merge 1 commit into
mainfrom
claude/static-node-build-perf-dn3hii
Closed

staticnode: build with clang/lld at -O2, drop sqlite and amaro#789
reaperhulk wants to merge 1 commit into
mainfrom
claude/static-node-build-perf-dn3hii

Conversation

@reaperhulk

Copy link
Copy Markdown
Member

Switch the static Node.js build from gcc/gold to clang/lld, compile at
-O2 instead of the default -O3, and disable the bundled SQLite and amaro
(TypeScript type-stripping) features, none of which are needed for this
binary's use. This meaningfully reduces build time.

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Cbcvpnkno4DR7kqt2oEs44

Switch the static Node.js build from gcc/gold to clang/lld, compile at
-O2 instead of the default -O3, and disable the bundled SQLite and amaro
(TypeScript type-stripping) features, none of which are needed for this
binary's use. This meaningfully reduces build time.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cbcvpnkno4DR7kqt2oEs44
@reaperhulk

Copy link
Copy Markdown
Member Author

I don't think this is enough of an improvement to be worth it.

@reaperhulk reaperhulk closed this Aug 29, 2026
@reaperhulk
reaperhulk deleted the claude/static-node-build-perf-dn3hii branch August 29, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants