Closed jschwinger233 closed 1 week ago
我之前测试的时候发现引入 http 包会带来比较大的二进制大小膨胀,可以麻烦测试一下吗?
@mzz2017 我对比了下 PR build: https://github.com/daeuniverse/dae/actions/runs/9441996291?pr=532
Arch | With pprof | Without pprof |
---|---|---|
arm64 | 11MB | 10.7MB |
x64 | 11.6MB | 11.3MB |
会增加 0.3MB 大小
❌ Your branch is currently out-of-sync to main. No worry, I will fix it for you.
❌ Your branch is currently out-of-sync to main. No worry, I will fix it for you.
LGTM
Background
This PR adds a new global config
pprof_port
to specify (and enable/disable) pprof server. Users can also enable or disable pprof on the fly usingdae reload
.Checklist
Full Changelogs
Issue Reference
Closes #[issue number]
Test Result