diff options
author | Jeff Sharkey <jsharkey@android.com> | 2020-10-28 11:03:23 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2020-11-10 11:56:11 -0700 |
commit | b5856365b40c454ed126210b99679d9d1a444b28 (patch) | |
tree | 8f304ca3d9ab41f8d14f9945e7de1f470452f520 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 162f86ddce3704f490bb51d329c6511129506e48 (diff) |
Progress towards efficient XML serialization.
We've identified that XML writing and reading uses roughly 1.5% of
all system_server CPU, and can generate many temporary objects.
To set the stage for some long-term improvements, this change
introduces new TypedXmlSerializer and TypedXmlPullParser interfaces
which offer efficient access to primitive attributes and text.
This change also updates XmlUtils to redirect primitive operations
through these new interfaces.
Bug: 171832118
Test: atest FrameworksCoreTests:android.util.XmlTest
Change-Id: I5ba3ad87cf79ca10705a96b98855164a27fee021
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions