v2.22.7
English
Hermes delta-mode (-base-bytecode) pipeline speedups:
- The base compile and the
--verifyHermesBaseplain compile now run concurrently, and a rejected base reuses the plain output instead of compiling a third time. - The base lookup and download run while Metro bundles instead of after it.
- Base downloads over HTTP Range need fewer requests (tail aligned with yauzl, central-directory prefetch for large APK/IPA files, header + bundle in one request), and native packages uploaded by this version can be fetched with a single Range request (requires the matching server release).
- Cheaper disassembly comparison, single SHA-256 per bundle, cached hermesc HBC-version probe.
中文
Hermes 增量模式(-base-bytecode)流水线提速:
- base 编译和
--verifyHermesBase普通编译现在会并发执行;base 被拒绝时会复用普通编译产物,不再进行第三次编译。 - base 查找和下载改为与 Metro bundle 并行执行,不再等 bundle 完成后才开始。
- 通过 HTTP Range 下载 base 所需的请求数更少(尾部与 yauzl 对齐;为大型 APK/IPA 预取 central directory;通过一次请求获取 header 与 bundle);由本版本上传的原生包可通过单次 Range 请求获取(需要配套的服务端版本)。
- 降低反汇编比较开销;每个 bundle 只计算一次 SHA-256;缓存 hermesc 的 HBC 版本探测结果。