# Real-world debugging performance tools

Weixin Mini Program Weixin Mini Program / Weixin Mini Program / Weixin Mini Program

# 1. Environmental requirements

  • Android: WeChat Passenger version 8.0.54 and above
  • IOS: Not yet supported
  • Tools: 1.06.2412040 version and above
  • Base library: 3.7.4 version and above

# 2. The recording process

# 2.1. Turn on the real machine debugging 2.0

Refer to Real Debugging 2.0 documentation.

# 2.2. Find the Performance panel

Click the Start Recording button to start recording Weixin Mini Program Performance

After that, click Stop Recording to see the recording results

# 3. Record a cold startup

Click the Restart and Record button, and the client will automatically restart the start recording, after which you can see the performance recording results at startup

# 4. Performance category interpretation

  • JS Engine: Weixin Mini Program / MiniGame logical layer of JS running flame diagram, including the basic library and Mini Program code execution
  • Performance: Weixin Mini Program / MiniGame Key events, routing jumps, wx interface calls, etc.
  • Component Framework: Weixin Mini Program component system sub-component performance information, need to use the develop base library, temporarily only support skyline
  • Page Path: The mapping layer of a specific page runs critical events
  • Nt.mm: appbrand: WeChat Key Events for Tenants