tencent cloud

Performance Monitoring
Last updated: 2024-11-01 19:58:33
Performance Monitoring
Last updated: 2024-11-01 19:58:33
This document describes page and API speed tests.

Page Speed Test

The Aegis SDK for mini program automatically collects and reports page performance data, including:
1. Program start time.
2. Code injection time.
3. First contentful paint (FCP).
4. Route switch time.
Note:
Acquisition of the page data depends on the Performance API of the mini program. Make sure that the base library version is above 2.11.0. QQ Mini Program does not yet implement the Performance API and therefore cannot report the page performance data.

API Speed Test

Note:
How to enable: pass in reportApiSpeed: true during initialization.
Aegis tests the API speed by hijacking wx.request || qq.request.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback