Documentation/devtools/maemo5/sp-response-time

Image:Ambox_content.png
This article documents a developer tool.
A list of available devtools is available, together with installation instructions.


Contents

[edit] Description

sp-response-time monitors UI response times.

This application monitors keyboard and mouse/touchscreen events and calculates how long it takes when updates on the screen are done. This tool is designed for giving support on performance analysis when calculating UI response times against some performance requirements.

[edit] Packages

source: sp-response-time

binary: sp-response-time

[edit] Usage Examples

Running this in a Scratchbox target and opening up menus in the emulated device desktop results in output like this:

[sbox-i386: ~/] > ./sp-response-time -w 100

sp-response-time 0.1.1

Timestamp      : Info ([event(s), damage(s), update(ms), ]message) -------------
1254394521.226 : 1254394521.067, 1254394521.217, 150, "Event at 1254394521.067s. Update took 150ms. This was the initial response time."
1254394522.408 : 1254394521.067, 1254394522.306, 1239, "Event at 1254394521.067s. Update took 1239ms. This was the time until the last update."
1254394524.211 : 1254394524.014, 1254394524.202, 188, "Event at 1254394524.014s. Update took 188ms. This was the initial response time."
1254394524.609 : 1254394524.014, 1254394524.445, 431, "Event at 1254394524.014s. Update took 431ms. This was the time until the last update."

[edit] Links

[sp-response-time man page](/development/documentation/man_pages/sp-response-time.html)

[edit] See Also

xresponse