mirror of
https://github.com/openharmony/ace_engine_lite.git
synced 2026-07-21 00:35:30 -04:00
734 B
734 B
Js Profiler转换工具说明
将真机的数字化文本转换成js性能打点记录
文件说明
js_profiler.py入口文件,根据参数进行信息转换js_profiler_config.py配置文件
使用方法
环境搭建
- 安装python环境
- python >= 3.6
- 使用python 运行
js_profiler.py文件
使用示例:
# 转换
python js_profiler.py --source D:\workspace\hmf\ace\lite\ace_profiler_582.log --destination D:\workspace\hmf\ace\lite\ace_profiler_582_real.log
参数说明
--source待转换的文件,例如D:\workspace\hmf\ace\lite\ace_profiler_582.log--destination生成的文件,例如D:\workspace\hmf\ace\lite\ace_profiler_582_real.log