performance test initial work
- pts build added (not yet pulled by cts)
- cts-tradefed has PTS mode where binary is under android-pts
- performance measurement is delivered to host by throwing exception!
: This can reduce the amount of code duplication as all existing
instrumentation test code can be re-used.
When performance test throws PtsException, it is treated as PASS and
the message is stored to the xml.
- UI scrolling performance
: scroll 10k list from top to bottom and measure time
- File system performance
: sequential write, sequential read, update
update with almost full disk
actural disk I/O can be checked by monitoring /proc/self/io
if kernel supports it. But it is only for debugging
Change-Id: Id83988fe34b6040bc20c98061a2b4f3d2f878b86
34 files changed