diff options
author | Rock.Yeh <rock.yeh@mediatek.com> | 2020-12-29 16:49:33 +0800 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2021-09-27 21:17:05 +0800 |
commit | fb154ee319480b6eb7f930243a6e0113c2581277 (patch) | |
tree | dda8e72e1eea0a0f5173a123611c9e4677fa93f2 /xml/src | |
parent | eef9acb4ef362082cd7d4139011e1d8836343897 (diff) |
Add newStringFromUtf8Bytes native implementation.
Porting a part of StringFactory.newStringFromBytes from libcore to
native
for UTF-8 character set. It can improve the UX score of Antutu v8 a
little
bit.
Only watch UX score. We test 10 times and average the total score.
Bechmark results
- before(Java implementation):
10 times avg,: 13133.9
- after (Native implementation):
10 times avg.: 13324.2
Diff.: +1.4%
Bug: 176514597
Test: cts
Change-Id: I6b601c09663b21fdacde7f14b0db1ac4f0a94c0f
Diffstat (limited to 'xml/src')
0 files changed, 0 insertions, 0 deletions