2 Commits

Author SHA1 Message Date
Tomasz Mikolajewski
6a72a0ea9c Fix perf tests for cold startup.
Kiling ia force-stopping was invalidating the entire roots cache.

Bug: 27743087
Change-Id: Ib788cfeaa6e60c40b7277ba7ca0f2371816eded1
2016-04-04 10:34:36 +09:00
Tomasz Mikolajewski
e46d7f93ad Add a performance test for launching DocumentsUI.
The test launches the DocumentsUI as picker, then waits until the
main thread idles, which guarantees that roots are loaded and UI
rendered.

It confirms, that the recent system cache improves cold start
performance by around 24% on my configuration (from 1685ms to 1357ms).

Bug: 27370274
Change-Id: I738202ea434a7bfe7080fc0994f636ef0e7847cd
2016-03-17 15:12:17 +09:00