<feed xmlns='http://www.w3.org/2005/Atom'>
<title>frameworks_base/apct-tests/perftests, branch replicant-10</title>
<subtitle>Fork of frameworks/base
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/'/>
<entry>
<title>Lazy-load textclassifier settings.</title>
<updated>2019-05-02T11:55:58+00:00</updated>
<author>
<name>Abodunrinwa Toki</name>
<email>toki@google.com</email>
</author>
<published>2019-04-04T12:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=0634af3875ef5c2b859ae328955beb57f0f8bf49'/>
<id>0634af3875ef5c2b859ae328955beb57f0f8bf49</id>
<content type='text'>
Re-enables reading settings from device_config.
See: I6b7ab56e4015448ee068deb49e7f6fa133fea53c
Updates tests.
Updates documentation.

Bug: 129934185
Test: atest android.view.textclassifier
Test: (Performance) Test: frameworks/base/apct-tests/perftests/textclassifier/run.sh
      Compare performance results with ConfigParser.ENABLE_DEVICE_CONFIG
      set to true vs false. Trivial regression recorded i.e. 1.03x.
Test: (Manual) Change flags and see them reflected. e.g.
      adb shell cmd device_config put textclassifier system_textclassifier_enabled false
      Verify that app no longer uses the OEM TCS but the AOSP TC.
Change-Id: I4c6ff781c97fc2e3d3da55dc49123fa1d759670a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Re-enables reading settings from device_config.
See: I6b7ab56e4015448ee068deb49e7f6fa133fea53c
Updates tests.
Updates documentation.

Bug: 129934185
Test: atest android.view.textclassifier
Test: (Performance) Test: frameworks/base/apct-tests/perftests/textclassifier/run.sh
      Compare performance results with ConfigParser.ENABLE_DEVICE_CONFIG
      set to true vs false. Trivial regression recorded i.e. 1.03x.
Test: (Manual) Change flags and see them reflected. e.g.
      adb shell cmd device_config put textclassifier system_textclassifier_enabled false
      Verify that app no longer uses the OEM TCS but the AOSP TC.
Change-Id: I4c6ff781c97fc2e3d3da55dc49123fa1d759670a
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix performance regression by fixing keys used in Typeface.Builder</title>
<updated>2019-04-23T20:21:27+00:00</updated>
<author>
<name>Seigo Nonaka</name>
<email>nona@google.com</email>
</author>
<published>2019-04-23T20:21:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=37d181673bfa92b9f26fdcc96c4d68b7b164c14e'/>
<id>37d181673bfa92b9f26fdcc96c4d68b7b164c14e</id>
<content type='text'>
The key used in Typeface.Builder is different from the key used in
findFromCache method. The problem is key generation in Typeface.Builder
since the key should be created from requested parameters not the actual
font styles.

Here is the raw performance differences on walleye-userdebug

android.graphics.perftests.TypefaceCreatePerfTest(us):
  createFromResources: 248 -&gt; 23: (-225, -90.7%)

Bug: 131167183
Test: manually collected perf test result.
Change-Id: Idea25095979707ac84b7f4bc1ede0c2daefd6127
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The key used in Typeface.Builder is different from the key used in
findFromCache method. The problem is key generation in Typeface.Builder
since the key should be created from requested parameters not the actual
font styles.

Here is the raw performance differences on walleye-userdebug

android.graphics.perftests.TypefaceCreatePerfTest(us):
  createFromResources: 248 -&gt; 23: (-225, -90.7%)

Bug: 131167183
Test: manually collected perf test result.
Change-Id: Idea25095979707ac84b7f4bc1ede0c2daefd6127
</pre>
</div>
</content>
</entry>
<entry>
<title>Add getTextClassifier perf test</title>
<updated>2019-04-04T16:09:58+00:00</updated>
<author>
<name>Tony Mak</name>
<email>tonymak@google.com</email>
</author>
<published>2019-04-02T17:23:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=751afc9821625cad83d782394aaa1a344feec8d8'/>
<id>751afc9821625cad83d782394aaa1a344feec8d8</id>
<content type='text'>
This helps us to evaluate the fix.

BUG: 129695635

Test: frameworks/base/apct-tests/perftests/textclassifier/run.sh

Change-Id: I7d2d019faecb3721c044a43e24d86d98a08be64b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This helps us to evaluate the fix.

BUG: 129695635

Test: frameworks/base/apct-tests/perftests/textclassifier/run.sh

Change-Id: I7d2d019faecb3721c044a43e24d86d98a08be64b
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "MultiUserPerfTest - test restart profile"</title>
<updated>2019-04-03T22:03:51+00:00</updated>
<author>
<name>TreeHugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2019-04-03T22:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=117d17b96f8102076564f369b6d8c55ab2d0cdb2'/>
<id>117d17b96f8102076564f369b6d8c55ab2d0cdb2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "MultiUserPerfTest test switch to pre-existing user"</title>
<updated>2019-04-03T21:34:44+00:00</updated>
<author>
<name>TreeHugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2019-04-03T21:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=12294a48ad38a3fd3cf138e6955b061a434e7719'/>
<id>12294a48ad38a3fd3cf138e6955b061a434e7719</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add diffing to KernelCpuThreadReader"</title>
<updated>2019-04-02T13:19:49+00:00</updated>
<author>
<name>Misha Wagner</name>
<email>mishaw@google.com</email>
</author>
<published>2019-04-02T13:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=ab922b13cdf676dd444279ad095b297f5667bbb6'/>
<id>ab922b13cdf676dd444279ad095b297f5667bbb6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix AndroidTest.xml</title>
<updated>2019-04-01T22:59:38+00:00</updated>
<author>
<name>Tony Mak</name>
<email>tonymak@google.com</email>
</author>
<published>2019-04-01T22:56:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=c78069aef7cfee94efe56d2331a74ae94ede6c16'/>
<id>c78069aef7cfee94efe56d2331a74ae94ede6c16</id>
<content type='text'>
Test: Run run.sh

Change-Id: If9f088dccacd30313380bedba4f8731ca6b47477
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: Run run.sh

Change-Id: If9f088dccacd30313380bedba4f8731ca6b47477
</pre>
</div>
</content>
</entry>
<entry>
<title>Move TextClassifierPerfTest to a separate package</title>
<updated>2019-04-01T20:15:57+00:00</updated>
<author>
<name>Tony Mak</name>
<email>tonymak@google.com</email>
</author>
<published>2019-04-01T19:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=e5ee70516e5a3abc4110c31f16f0a96f1c3c6249'/>
<id>e5ee70516e5a3abc4110c31f16f0a96f1c3c6249</id>
<content type='text'>
So, other tests in other package no longer affect us.
Currently, TextClassifierPerfTest is not run continuously because of
failures in other packages.

BUG: 129695635

Test: Run run.sh

Change-Id: I2253360d98404608193b53c8b34611c2ff1b231e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So, other tests in other package no longer affect us.
Currently, TextClassifierPerfTest is not run continuously because of
failures in other packages.

BUG: 129695635

Test: Run run.sh

Change-Id: I2253360d98404608193b53c8b34611c2ff1b231e
</pre>
</div>
</content>
</entry>
<entry>
<title>MultiUserPerfTest test switch to pre-existing user</title>
<updated>2019-03-29T17:46:09+00:00</updated>
<author>
<name>Bookatz</name>
<email>bookatz@google.com</email>
</author>
<published>2019-03-01T01:29:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=52b12ac7a13418e69008b7758f4bb40f137bd0dc'/>
<id>52b12ac7a13418e69008b7758f4bb40f137bd0dc</id>
<content type='text'>
Creates two new MultiUserPerfTests, timing how long it takes to switch
to a pre-existing user, one for when the user is already-started, and
the other for when it is stopped.

Bug: 126745587
Test: make MultiUserPerfTests &amp;&amp; adb install -r ${ANDROID_PRODUCT_OUT}/data/app/MultiUserPerfTests/MultiUserPerfTests.apk &amp;&amp; adb shell am instrument -e class android.multiuser.UserLifecycleTests -w com.android.perftests.multiuser/androidx.test.runner.AndroidJUnitRunner
Change-Id: I734f4971ad992e906a0090f4ef328255ab2a0349
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Creates two new MultiUserPerfTests, timing how long it takes to switch
to a pre-existing user, one for when the user is already-started, and
the other for when it is stopped.

Bug: 126745587
Test: make MultiUserPerfTests &amp;&amp; adb install -r ${ANDROID_PRODUCT_OUT}/data/app/MultiUserPerfTests/MultiUserPerfTests.apk &amp;&amp; adb shell am instrument -e class android.multiuser.UserLifecycleTests -w com.android.perftests.multiuser/androidx.test.runner.AndroidJUnitRunner
Change-Id: I734f4971ad992e906a0090f4ef328255ab2a0349
</pre>
</div>
</content>
</entry>
<entry>
<title>MultiUserPerfTest - test restart profile</title>
<updated>2019-03-29T17:40:10+00:00</updated>
<author>
<name>Bookatz</name>
<email>bookatz@google.com</email>
</author>
<published>2019-03-29T17:40:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/frameworks_base/commit/?id=57908d9f2eff5b1e86d65d6bc556c90e7757c84a'/>
<id>57908d9f2eff5b1e86d65d6bc556c90e7757c84a</id>
<content type='text'>
Creates a profile, starts it, stops it, then restarts it, timing how
long the restart takes. This gives an indication of how long it takes to
start a previously-initialized profile, and mimics toggling
setQuietModeEnabled.

Right now, this process is especially slow due to
RoleManagerService.onStartUser(), so it is worthwhile tracking this.

Bug: 129415917
Test: atest  android.multiuser.UserLifecycleTests#managedProfileUnlock_stopped
Change-Id: Ic7f3bdb6fa7daaab53cb23dbf8e8a68e293d23b2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Creates a profile, starts it, stops it, then restarts it, timing how
long the restart takes. This gives an indication of how long it takes to
start a previously-initialized profile, and mimics toggling
setQuietModeEnabled.

Right now, this process is especially slow due to
RoleManagerService.onStartUser(), so it is worthwhile tracking this.

Bug: 129415917
Test: atest  android.multiuser.UserLifecycleTests#managedProfileUnlock_stopped
Change-Id: Ic7f3bdb6fa7daaab53cb23dbf8e8a68e293d23b2
</pre>
</div>
</content>
</entry>
</feed>
