summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-03-26 17:37:46 -0700
committerJeff Sharkey <jsharkey@android.com>2013-03-26 20:16:44 -0700
commit8fa9bb5210e3c48ad34cbd6db880ea12de4baca9 (patch)
tree6af68f1da0aa44a6760f7e3a087230f57d0759eb /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent05191053545065c9c71afae173d3ab42a2d947fa (diff)
Benchmarks for IndentingPrintWriter.
Current timings on a mako listed below, which show minimal overhead compared to writing directly. The increased code readability and automatic indenting is worth the overhead. Also worth noting is that writing concatenated strings is substantially faster than printing components separately. benchmark us linear runtime ComplexDirect 10712.7 ========================= ComplexIndenting 12623.7 ============================== PairIndenting 45.8 = PairRaw 82.1 = SimpleDirect 282.2 = SimpleIndenting 294.4 = Change-Id: I7c38690c14b017fa46248ebb0be69f6beff03371
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions