Repository navigation
[chrome] optimize scroll/resize and add isolated JsRunner prototype - #20
Merged
Merged
Conversation
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.
概要
修复跨平台滚动测试的字体依赖,并为长页面加入跨 resize 的文本整形缓存、按可见区域光栅化的 CPU 位图分块缓存。另新增可选 JsRunner 进程原型,推进 DOM/JS/布局同进程隔离的架构;现有窗口入口保留原架构。
关联
Closes #12
Related to #9:CPU 光栅缓存、resize 整形复用;现有 id/class/tag 规则桶已通过完整扫描对照验证。
Related to #4:本次为可运行的进程边界原型,完整 PRD 尚未完成,保留 issue 开放。
#16 明确不纳入本仓库版本控制,本 PR 复用 ipc-channel,没有另造 IPC 中间件。
改动类型
主要改动
影响面
验证
规范依据
CSS Text 3 §5;CSS 2.2 §10.8.1;CSS Overflow 3 §2.2;Compositing and Blending 1 §5.1/§10.1;OpenType glyph bounds。具体取舍和引用见新增两个 ADR。
实机验收
新增 /performance/scroll-cache.html,已登记索引及回归清单。自动化像素对照通过;本地环境没有显示服务,未宣称完成窗口目测验收。工作容器禁止 AF_UNIX SOCK_SEQPACKET,因此真实子进程 IPC 测试交由原生 Linux/macOS/Windows CI 执行。
已知偏差 / 遗留
分层 RGBA8 合成存在小量舍入差异:当前回归语料允许透明 tiles 的预乘颜色/alpha 每通道 1 级、最终 opaque composite 2 级。分数偏移使用完整光栅路径。
JsRunner 是可选原型:窗口绘制/输入尚未迁移;布局 IR 暂不含完整 glyph/image/paint 数据;没有 JS heap/监听器/定时器透明迁移、回收式帧槽、第二引擎、后台合并、电量策略及完整可观测面板。恢复仅保持 DOM,不自动重放脚本。共享内存采用合作式不可变发布,不能作为敌对进程安全沙箱。上述边界均已写入 ADR,不能据此关闭 #4。