且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

测量Qt的应用程序性能

更新时间:2023-02-27 14:19:16

我觉得 QTestLib 的标杆功能可以帮助您评估您的应用程序的性能。使用它,您可以测试您的应用程序的不同模块和识别潜在的性能瓶颈。请参见文档和示例

I think the Benchmarking capability of QTestLib can help you measuring the performance of your application. Using it, you can test different modules of your application and identify potential performance bottlenecks. See documentation and example.

此解决方案还可以测量应用程序的FPS,如在的 QTEST命名空间

This solution can also measure FPS of your application, as described in the QTest Namespace.

作为奖励,你可以使用 QTEST 在你的设备,这可能是巨大的,潜在的检测在定期检测的顶部缺少操作系统特性运行单元测试..

As a bonus, you can use QTest to run your Unit Tests on your devices, which could be great to potentially detect missing OS features on top of regular testing...