Web build: no debug symbols, a size profile, and a budget in CI #257
No reviewers
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom!257
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-231-wasm-size"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #231
dx buildkeeps DWARF debug info in the wasm by default; every web release build (image, e2e, serve-web) now passes--debug-symbols false.wasm-releaseprofile for the web only: opt-level "z", fat LTO, one codegen unit, panic = abort. The desktop and the relay keeprelease.tools/wasm-size.sh(in CI after e2e): fails past 900 KB gzipped.Speed,
tools/perf.sh, "s" vs "z" back to back: step times, frames, search (25 ms both) and long tasks the same within noise; so "z".Verified: full e2e suite on three profiles with the "z" build, 330 passed; lint.
🤖 Generated with Claude Code
https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8