Bug: 20824843 Not really a proper "benchmark mode" but it turns out we already have reasonably good profile data, so tweak the test app to spit it out after a run. Change-Id: Iaee9c0d61b5508daf282fe5f95d0b37ee419a8f1
18 lines
383 B
Plaintext
18 lines
383 B
Plaintext
mmm -j8 frameworks/base/libs/hwui/tests/ &&
|
|
adb push $OUT/data/local/tmp/hwuitest /data/local/tmp/hwuitest &&
|
|
adb shell /data/local/tmp/hwuitest
|
|
|
|
|
|
Command arguments:
|
|
hwuitest [testname]
|
|
|
|
Default test is 'shadowgrid'
|
|
|
|
List of tests:
|
|
|
|
shadowgrid: creates a grid of rounded rects that cast shadows, high CPU & GPU load
|
|
|
|
rectgrid: creates a grid of 1x1 rects
|
|
|
|
oval: draws 1 oval
|