summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMichael Wachenschwanz <mwachens@google.com>2018-09-10 15:17:57 -0700
committerMichael Wachenschwanz <mwachens@google.com>2018-09-28 16:48:35 -0700
commitc90bc15dc87ac1709def3424bd5306678f0844ac (patch)
treef2077949ccc2d3b7df0b4fda96445e41f65a8838 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc8c26365a4bc237cccb462ef903c837f73833c23 (diff)
Pool Package and Class names when writing UsageStats to disk
Write the package and class names at the top of the proto file and replace each instance of those strings in the rest of the protobuf with the index of said string. Some rough number on the impact of this change plus the previous proto change: File size on disk reduces to ~13% of XML file size!!! File read time reduces to ~32-45% of XML read time! File write time clock at around ~102-107% of XML write time. Bug: 111422946 Fixes: 111449191 Test: atest UsageStatsDatabaseTest Change-Id: I6bcce54a2431a964bda2c03bd3be1f3d4b4156e1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions