performace 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: Ice908d72c9ebb381c7e8e644d859904b17b7ef2a
33 files changed