文件最后提交记录最后更新时间
feat(Upgrade): 0.84版本,升级Hermes V1 0.84版本,升级Hermes V1 Closes #2387 Signed-off-by: fangyygw <fang_zhen@hoperun.com> 26 天前
fix(static): clean up remaining script and sample warnings 问题描述: 最新一轮静态检查中,脚本、示例页面和测试配置文件仍存在部分基础代码质量告警,包括变量声明不规范、缺少分号、条件分支简写以及返回值不明确等问题,影响扫描结果稳定性与代码可维护性。 解决方案: - 修正文档示例与 Sample 工程中的格式类问题,统一缩进、分号与变量声明方式 - 清理 build-har、generate-changelog、get-frame-times 等脚本中的字符串风格、条件分支和返回值告警 - 调整 get-frame-times 在未采集到重绘数据时的返回值,避免产生不明确结果 - 统一 react-native-harmony/jest.config.js 的配置书写格式,消除基础风格告警 影响范围: - 影响文档示例、构建脚本、测试辅助脚本和 Jest 配置文件中的静态检查告警清理 - 不改变既有功能流程与执行结果,不引入新的业务逻辑 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 12 天前
fix(Config): add missing copyright headers for warning files 问题描述: 当前 xin3.txt 清单中的 OAT.4 版权头告警文件存在缺失或无效版权头问题, 扫描结果为 Copyright Header Invalid: NULL,导致对应文件在合规检查中被判定为 致命未解决项。 解决方案: 在不改变原有业务逻辑、构建逻辑和文件内容结构的前提下,按文件类型补充统 一版权头;同时修正个别特殊文件的头部格式,使 TS/TSX/JS/ETS/脚本/模板/配 置等文件都符合仓库现有版权声明风格与注释语法要求。 影响范围: 仅影响 xin3.txt 对应告警文件的文件头注释,不改变正常功能、模块解析、构建 结果与运行时行为,对现有性能无直接影响,整体向后兼容。 Signed-off-by: jiaxuan_wong <1801330925@qq.com> 13 天前
feat: add experimental Hermes V1 support Co-authored-by: Patryk Fryda<patryk.fryda@swmansion.com> # message auto-generated for no-merge-commit merge: !1868 merge feat/hermesv1 into 0.82 feat: add experimental Hermes V1 support Created-by: pafry Commit-by: Patryk Fryda Merged-by: openharmony_ci Description: ## Description This PR adds support for Hermes V1 engine. You can read about it [here](https://blog.swmansion.com/welcoming-the-next-generation-of-hermes-67ab5679e184). Setup was described in hermesv1.md file. Initial benchmarks: | | nbody (ms) | deep tree (ms) | updating colors (ms) | updating layout (ms) | |--|--|--|--|--| | Hermes | 2060 | 5533 | 3018|3101 | | Hermes V1 | 965 | 4391 |1778 | 2861| *Note: JSVM was not compared as app is not building when using it* ### Benchmarks All benchmarks were run in the release mode with the bundle optimized for Hermes. (pnpm bundle:hermes and pnpm:bundle:hermesv1). More performance tests should be performed to determine the performance gains. #### nbody *Code is attached in the next comment* #### Deep tree, updating colors, upading layout These benchmarks were run in the main tester app with sampleCount prop set to 200. ## Changes - added experimental Hermes V1 support ## Test Plan Follow the guide in hermes.md and run benchmarks. ## Checklist - [x] Does not involve incompatible changes; if involved, has been reviewed accordingly. - [x] Does not impact performance, or performance testing has been conducted without degradation. - [x] Complies with the relevant coding standards. - [x] Does not involve documentation updates, or the documentation has been updated. - [x] Meets testability requirements with necessary self-test cases, appropriate logging, or trace information added. - [x] No illegal file inclusions exist, such as images or code. See merge request: openharmony-sig/ohos_react_native!18685 个月前
feat(Upgrade): 0.84版本,升级Hermes V1 0.84版本,升级Hermes V1 Closes #2387 Signed-off-by: fangyygw <fang_zhen@hoperun.com> 26 天前
feat(Hermes):Enable HarmonyOS side VMA tag(main) 问题描述:当前 c patch 中 OSCompatPosix.cpp 对 VMA tag 的处理仅覆盖旧的 __ANDROID__ 分支,导致 当前平台下 vm_name 逻辑未生效,匿名内存区域无法按预期设置名称标记,限制了 restrace 相关能力的使用。 解决方案:更新 patch 中 OSCompatPosix.cpp 的平台判断逻辑,将 PR_SET_VMA 宏定义及 vm_name 处理扩展至 __linux__ || __ANDROID__ 分支,开启 Hermes 在当前 平台下的 VMA tag 能力。 影响范围:影响 Hermes 运行时匿名内存命名及 restrace 相关能力。对未依赖该能力的 JS 业务逻辑无直接影响,整体向后兼容。 Signed-off-by: huajianfeng <2303753180@qq.com> feat(Hermes):Enable HarmonyOS side VMA tag(main) 问题描述:当前 patch 中 OSCompatPosix.cpp 对 VMA tag 的处理仅覆盖旧的 __ANDROID__ 分支,导致 当前平台下 vm_name 逻辑未生效,匿名内存区域无法按预期设置名称标记,限制了 restrace 相关能力的使用。 解决方案:更新 patch 中 OSCompatPosix.cpp 的平台判断逻辑,将 PR_SET_VMA 宏定义及 vm_name 处理扩展至 __linux__ || __ANDROID__ 分支,开启 Hermes 在当前 平台下的 VMA tag 能力。 影响范围:影响 Hermes 运行时匿名内存命名及 restrace 相关能力。对未依赖该能力的 JS 业务逻辑无直接影响,整体向后兼容 Signed-off-by: huajianfeng <2303753180@qq.com> 24 天前