Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Mini Program Trace Export Utility

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to use Mini programs Trace export tool," the content is simple and easy to understand, clear organization, I hope to help you solve doubts, let Xiaobian lead you to study and learn "how to use Mini programs Trace export tool" this article bar.

Starting with WeChat Android 6.5.10, we provide Trace export tools that developers can use in the Trace Panel developer tool.

use method

PC needs to install adb tool first, you can refer to some mainstream tutorials to install, Mac can use brew to install directly.

Make sure adb tool is successfully installed, open Trace Panel on Developer Tools, connect Android phone to PC via USB, click "Choose Devices", at this time the connection authorization box may pop up on the phone, please click "Allow".

After selecting the device, open the development version Mini programs you need to debug on the mobile phone, open the performance monitoring panel through the menu in the upper right corner, and restart the Mini programs;

After restart, operate on the Mini programs, and export Trace data through the menu in the upper right corner after completing the operation;

At this time, the Trace Panel will automatically pull the Trace file, select the Trace file you want to analyze;

The adb devices command can be used to determine whether the device has established a connection with the PC

Performance panel

Starting with WeChat 6.5.8, we provide a Performance Panel to let developers know the performance of Mini programs. Developers can open the performance panel under the development version of Mini programs. How to open it: Go to the development version of Mini programs, go to the more button in the upper right corner, and click "Show performance window."

Performance Panel Indicator Description Indicator Description CPU Mini programs CPU usage, Android only memory Mini programs memory usage (Total Pss), only available under Android start-up time Mini programs start-up time download time Mini programs package download time, Download page switching time Mini programs page switching time frame rate/FPS first rendering time page rerendering time page rerendering time (usually triggered by developer setData action) data cache applet cache size stored via Storage interface above is "How to use applet Trace export tool" All of this article Thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report