Skip to content

perf(ci): strip debug symbols from builds#73

Merged
CalvinAllen merged 1 commit into
mainfrom
perf/shim-optimization
Dec 10, 2025
Merged

perf(ci): strip debug symbols from builds#73
CalvinAllen merged 1 commit into
mainfrom
perf/shim-optimization

Conversation

@CalvinAllen

Copy link
Copy Markdown
Contributor

Summary

  • Add -ldflags="-s -w" to go build commands in both build and release workflows
  • Removes symbol table and DWARF debug information from binaries

Impact

Reduces binary sizes by ~30%:

Binary Before After Savings
dtvem ~10.9MB ~7.5MB ~3.4MB
dtvem-shim ~10.3MB ~7.2MB ~3.1MB

Total savings per release: ~32MB across all 5 platform builds.

Test plan

  • CI build workflow passes
  • Verify binaries still function correctly after stripping

Fixes #72

Add -ldflags="-s -w" to go build commands in both build and release
workflows. This removes the symbol table and DWARF debug information,
reducing binary sizes by ~30%:

- dtvem: ~10.9MB → ~7.5MB
- dtvem-shim: ~10.3MB → ~7.2MB

Fixes #72

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@CalvinAllen CalvinAllen merged commit 3311745 into main Dec 10, 2025
9 checks passed
@CalvinAllen CalvinAllen deleted the perf/shim-optimization branch December 10, 2025 19:31
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.

perf(shim): optimize shim startup time and binary size

1 participant