# Performance Testing
Weixin Mini Program performance tests can be mainly divided into startup performance test and runtime performance test.
- ** Startup Performance Analysis ** : Weixin Mini Program Startup is an extremely important part of the user experience.Startup performance testing accesses the immediately to analyze the time spent at various stages of the startup process, identify startup performance bottlenecks, and make targeted recommendations by opening Mini programs multiple times.For details, refer to Sample Startup Performance Report
- ** Runtime Performance Analysis ** : Runtime performance needs to be combined with automated testing. Resource usage analysis and Real-time experience ratings to help users optimize runtime performance
| Operational phase | Cloud measurement capabilities | advantage | Adaptation scenarios |
|---|---|---|---|
| Weixin Mini Program Start | Startup Performance Specialized Tests | 覆盖首次访问和非首次访问情况 详细的测试报告,并给出优化建议 | Optimize Weixin Mini Program startup time |
| 小程序运行时 (和自动化测试能力结合使用) | Real-time Experience Rating | 页面运行时性能检查 异常情况检测 最佳实践&建议 | 优化运行时页面性能 页面异常检测 |
| Resource usage analysis | 获取运行时CPU,内存等性能数据 和现网大盘数据对比 | Optimize resource usage at runtime |