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
19 lines
707 B
XML
19 lines
707 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.documentsui.appperftests">
|
|
|
|
<application>
|
|
<uses-library android:name="android.test.runner" />
|
|
|
|
<activity
|
|
android:name="com.android.documentsui.LauncherActivity" />
|
|
</application>
|
|
|
|
<!-- This package instrumentates itself, so the DocumentsUI process can be killed without
|
|
killing the testing package. -->
|
|
<instrumentation android:name="android.test.InstrumentationTestRunner"
|
|
android:targetPackage="com.android.documentsui.appperftests"
|
|
android:label="App performance tests for DocumentsUI" />
|
|
|
|
</manifest>
|