ohos-dev-distributed-mmi-ram-rom-measurement
Installation
SKILL.md
MMI RAM/ROM 影响度量
衡量 multimodalinput 子系统代码变更前后的 ROM(二进制体积)和 RAM(运行时内存)占用变化。
前置 skill: 编译部署、设备连接等基础设施见 ohos-dev-distributed-mmi-device-test-harness。
When to Use
- 提交 PR 前需要量化代码变更对二进制体积的影响
- 需要证明重构/新特性不引入内存膨胀
- 评审要求提供 RAM/ROM 数据
Safety and Comparability Gates
Replacing system .so files, remounting / read-write, and rebooting a device are destructive test
operations. Do them only after explicit user approval, keep .bak copies of every replaced library,
and restore the device to the requested final state before ending the workflow.
A RAM/ROM conclusion is only comparable when these conditions are recorded: