diff options
author | 2021-01-07 10:54:12 +0800 | |
---|---|---|
committer | 2021-01-07 13:44:17 +0000 | |
commit | 755b533082bb84a282f4a76ac3f6364a7c61e6cd (patch) | |
tree | 9ee7565e256fb322d260adbf60eec06b6462aede /runtime/module_exclusion_test.cc | |
parent | aa027b80a4fb57c97cabf1fc8ae72de6b1490a64 (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: ./test.py --host
Change-Id: I6b601c09663b21fdacde7f14b0db1ac4f0a94c0f
Diffstat (limited to 'runtime/module_exclusion_test.cc')
0 files changed, 0 insertions, 0 deletions