summaryrefslogtreecommitdiffstats
path: root/graphics/jni/android_renderscript_RenderScript.cpp
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2010-04-12 12:49:09 -0700
committerVasu Nori <vnori@google.com>2010-04-13 09:45:48 -0700
commit90a36726b7553a1e7efd2f4ecbe01d7e1b3e7a67 (patch)
tree273010b53866dffe13fe49ef206b15cff96db4de /graphics/jni/android_renderscript_RenderScript.cpp
parent275e0662c1fb96d5b0ceeb9b84e2db239b29ea27 (diff)
downloadframeworks_base-90a36726b7553a1e7efd2f4ecbe01d7e1b3e7a67.zip
frameworks_base-90a36726b7553a1e7efd2f4ecbe01d7e1b3e7a67.tar.gz
frameworks_base-90a36726b7553a1e7efd2f4ecbe01d7e1b3e7a67.tar.bz2
let apps set statement-cache size.
1. we should let apps set their statement-cache size. right n ow it is 250 is the statement-cache size for all apps and that is wasting a lot of memory. each prepared statement is averaging about 1k-5K, depending upon the complexity of sql and schema. mnake default 25 and let apps increase the size, if they need to. 2. in "adb bugreport" info, print stats on the statement-cache hits/missies and size (in number of statement cached). this will help us understand how statement-cache is being used Change-Id: Ic53a2842ef75823757492778158fcb8d5b4a28bb
Diffstat (limited to 'graphics/jni/android_renderscript_RenderScript.cpp')
0 files changed, 0 insertions, 0 deletions