tencent cloud

Tencent Cloud Observability Platform

Performance Monitoring

Download
Focus Mode
Font Size
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.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback