MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Performance testing tools

To ensure the performance of your application, measure and analyse its performance continuously in a realistic environment with realistic amounts of data. When testing your application, verify that its response time (reaction time and completion time), throughput, resource utilisation, scalability, stability or endurance, and power consumption fulfill reasonable performance requirements.

Before starting to test the performance of your application, decide which metrics you want to measure:

  • processed data volume (input data or data processed in some part of test case)
  • execution time (total execution time of the test case or time it took to handle some specific task during the test case)
  • CPU time (total or some part of the test case)
  • utilisation of memory (high watermark or memory leaks)
  • disk utilisation (stored volume of data or disk IO)
  • network utilisation (transferred data volume or average data transfer speed)

Note: You cannot usually measure several types of metrics with one single tool. To measure different types of metrics, you often need to repeat the same test case multiple times, each time with a different tool. Simultaneous use of several testing tools can increase intrusion and may cause high inaccuracy in the results.

Performance testing tools

You can use a number of different performance testing tools on the Harmattan device. Use the performance testing tools to measure and analyse the performance and memory usage of your application before submitting it for publishing.

The top, dbus-monitor, and lsof tools are already preinstalled on the device. To install the other tools, you must first activate developer mode on the Harmattan device.

The following testing tools are recommended for measuring and analysing the performance and memory usage of your application:

For more tools, see Developer tools section.