docs(plan): 选定载荷之后 392MB → 54MB - #476
Merged
Merged
Conversation
把五条腿都从 meson install 改成显式组装(模拟器 + pc-bios + Windows 上 ldd 实测出的
13 个 MinGW DLL)之后:
linux-x64 392MB → 103MB → 54MB(strip 后)
linux-arm64 389MB → 100MB → 53MB
darwin 两条 341/342MB → 53MB(不 strip:会让 ad-hoc 签名失效)
win32-x64 装不出来 → 110MB → 58MB
⭐ 七倍,而且这不是收尾优化:索引的资产预算是实测 0.012 MB/s 的单连接上传、无分片、
无续传 —— 343MB 的载荷在那条链路上不可发布,54MB 的可以。**「载荷选什么」是收录能否
成立的前提。**
五条腿全绿的门槛已达到;收录仍是一个独立决定,而它现在有了做决定所需的全部数字。
剩下三步与 qemu-riscv 同形,已写进文档。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
只动文档。
⭐ 五条腿都改成显式组装后:392MB → 54MB(七倍)。而这不是收尾优化 —— 索引的资产预算是实测 0.012 MB/s 的单连接上传、无分片无续传,343MB 在那条链路上不可发布,54MB 可以。「载荷选什么」是收录能否成立的前提。
pc-bios一个文件都没删,并记下了本次实施在这里犯过一次又撤回的事。收录
xim:qemu-x86还差的三步已写进文档,Windows 一侧的答案(13 个 MinGW DLL 必须与 exe 同目录)已经量出来了。