Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Measure Qt Application Performance

I am working an a Qt application (C++ and QML hybrid, Qt 4.8.4) that I cross-compile and then deploy on an ARM target (runs with the -qws option). Since I am using different targets, and that I have to make a comparison of these targets based on their performances, I would like to test the performances of my application on each of these targets.

I was thinking about measuring the FPS of my application, but I don't know how to do so.

If it's the proper way to make such a test, how do I implement it? If there's a better and/or simpler way to do so, I would be glad hearing about it :)

Any help would be greatly appreciated.

like image 223
JCastejon Avatar asked May 21 '26 08:05

JCastejon


1 Answers

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.

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

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...

like image 170
AntonyG Avatar answered May 24 '26 20:05

AntonyG



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!