Skip to content

Commit 56f4c8c

Browse files
committed
docs: 诊断工具文档
1 parent c344b97 commit 56f4c8c

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.config/.vitepress/config.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export default defineConfig({
9090
{ text: "使用代码分包工具", link: "/Design/WasmSplit" },
9191
{ text: "启动留存数据上报统计", link: "/Design/ReportStartupStat" },
9292
{ text: "最佳实践检测工具", link: "/Design/PerformanceMonitor" },
93+
{ text: "性能诊断工具", link: "/Design/GameAudits" },
9394
{ text: "微信系统字体", link: "/Design/WXFont" },
9495
],
9596
},

Design/GameAudits.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# 性能诊断工具
2+
3+
## 作用
4+
为了帮助开发者在开发阶段更好的针对问题进行优化,微信官方和Unity快适配方案均推出了相应的工具。
5+
- [微信小游戏-性能诊断工具](https://developers.weixin.qq.com/minigame/dev/guide/performance/perf-audit/perf-audit-tool.html)
6+
- [Unity快适配-最佳实践检测工具](Design/PerformanceMonitor.md)
7+
8+
由于 `Unity快适配-最佳实践检测工具``微信小游戏-性能诊断工具` 都是为了给开发者提供优化建议,以便快速优化游戏。同时,随着 `微信小游戏-性能诊断工具` 支持第三方拓展,我们可以将 `Unity快适配-最佳实践检测工具` 的能力集成到 `微信小游戏-性能诊断工具`
9+
10+
## 开始使用
11+
### 运行环境要求
12+
- 转换工具版本 > `202305230000`
13+
- iOS客户端 >= 8.0.47
14+
- Android客户端 >= 8.0.48
15+
16+
> 注意:仅支持 iOS 和 Android 真机,PC、MAC 和微信开发者工具暂不支持
17+
18+
### 如何开启
19+
1. [转换工具导出小游戏工程](Design/Transform.md) 真机扫码预览
20+
2. 参照文档 [微信小游戏-性能诊断工具](https://developers.weixin.qq.com/minigame/dev/guide/performance/perf-audit/perf-audit-tool.html)`「推荐」方式一:开发调试` 章节,开启性能诊断工具、结束诊断上传报告、前往 `MP后台-研发工具箱-性能诊断-性能评测` 查看报告。
21+
22+
### 报告内容
23+
`评测详情-性能清单` 模块,unity 相关内容会展示在 `第三方清单` 中。
24+
25+
<img src="../image/game-audits/mp_result.png" />

image/game-audits/mp_result.png

385 KB
Loading

0 commit comments

Comments
 (0)