DescriptionStreamline picture_record_recurring_ bench.
Reduce benchmark runtime from ~17 ms to ~13.25ms by moving SkPaint
construction out of the inner loop and by using random colors in the
SkPaints instead of sequential integers, which were seeing bad hashing.
This doesn't actually improve our performance, but makes the benchmark
more focused on pure recording costs.
BUG=
Committed: http://code.google.com/p/skia/source/detail?r=10003
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|