We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780320a commit b23c3c6Copy full SHA for b23c3c6
Design/UsingMemoryProfiler.md
@@ -1,8 +1,10 @@
1
# 使用ProfilingMemory内存分析
2
3
## 概述
4
-在微信开发者工具运行游戏,利用ProfilingMemory,我们可以分析UnityHeap(CPU主内存)的详细分配堆栈与统计数值
5
-
+在微信开发者工具运行游戏,利用ProfilingMemory,我们可以分析UnityHeap 或 DynamicMemory(CPU主内存)的详细分配堆栈与统计数值。
+- 该工具仅分析业务与引擎的CPU内存,即性能面板中的DynamicMemory,不包含WASM编译内存、显存、JS临时内存等
6
+- 建议在微信开发者工具 or Android使用(工具本身会增加不少内存,此时iOS进程内存压力会很大)
7
+
8
## 步骤
9
1. 游戏启动调用WeChatWASM.WX.InitSDK,并勾选导出选项"Profiling Funcs"与"Profiling Memory",***请勿同时勾选"Development Build"选项!!!***
10
<img src='../image/memoryprofiler1.png' width="800"/>
0 commit comments