skia2/bench
commit-bot@chromium.org 0c4e21da95 Streamline 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=
R=mtklein@google.com, reed@google.com, tomhudson@google.com

Author: tomhudson@chromium.org

Review URL: https://chromiumcodereview.appspot.com/18119011

git-svn-id: http://skia.googlecode.com/svn/trunk@10003 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-11 14:26:09 +00:00
..
BenchTool/BenchTool.xcodeproj move main.cpp outside of the xcode project 2009-01-07 11:49:19 +00:00
AAClipBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
bench_analyze.py Adds a script to help analyze bench ranges to add/change in bench/bench_expectations.txt 2012-10-05 14:02:33 +00:00
bench_compare.py bench_compare proper spacing and tab option. 2013-01-30 19:22:51 +00:00
bench_expectations.txt Performance trigger rebaselines 2013-07-09 12:38:59 +00:00
bench_graph_svg.py Fixes zero division when there are no lines to plot (only one revision in range) 2013-06-13 13:53:16 +00:00
bench_util.py bench_graph_svg: HUGE speedup for parsing tiled bench data 2013-02-17 08:59:56 +00:00
BenchGpuTimer_gl.cpp Split GrGLContextInfo into GrGLContext & GrGLContextInfo 2013-02-28 20:16:25 +00:00
BenchGpuTimer_gl.h Split GrGLContextInfo into GrGLContext & GrGLContextInfo 2013-02-28 20:16:25 +00:00
benchmain.cpp Fixes microbench format change caused by r9417. 2013-06-12 14:45:03 +00:00
BenchSysTimer_c.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BenchSysTimer_c.h Convert #warning to comment to get iOS compiling 2013-03-28 13:43:16 +00:00
BenchSysTimer_mach.cpp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
BenchSysTimer_mach.h Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BenchSysTimer_posix.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BenchSysTimer_posix.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
BenchSysTimer_windows.cpp Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
BenchSysTimer_windows.h Fix two warnings in bench timers. 2011-10-03 20:44:39 +00:00
BenchTimer.cpp extend SkBenchmark to allow a bench to return a durationScale, which allows it to perform fewer actual interations, but report a scale factor to account for that. Thus a very slow bench can be compared head-to-head with a faster one, w/o actually forcing the tool to run for the full duration of the slower test. 2013-05-29 15:39:54 +00:00
BenchTimer.h extend SkBenchmark to allow a bench to return a durationScale, which allows it to perform fewer actual interations, but report a scale factor to account for that. Thus a very slow bench can be compared head-to-head with a faster one, w/o actually forcing the tool to run for the full duration of the slower test. 2013-05-29 15:39:54 +00:00
BicubicBench.cpp Add a bench for SkBicubicImageFilter. 2013-02-08 16:40:14 +00:00
BitmapBench.cpp New bitmap filter checkin; this time with less build breakage 2013-07-09 21:37:14 +00:00
BitmapRectBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
BitmapScaleBench.cpp Sanitizing source files in Housekeeper-Nightly 2013-07-10 07:00:58 +00:00
BlendBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-24 07:01:07 +00:00
BlurBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
BlurImageFilterBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-25 07:01:04 +00:00
BlurRectBench.cpp Remove the non-separable blur because it is no longer used. 2013-06-11 15:23:42 +00:00
ChartBench.cpp Fix ChartBench crash. 2013-02-22 16:07:59 +00:00
ChecksumBench.cpp Re-land r9059 with empty cityhash.gyp, instead of deleted cityhash.gyp 2013-05-08 16:04:02 +00:00
ChromeBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
CmapBench.cpp Sanitizing source files in Housekeeper-Nightly 2013-07-03 07:00:57 +00:00
ColorFilterBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-24 07:01:07 +00:00
DashBench.cpp Fix gyp files to allow ninja to build 64 bit on Mac. 2013-04-22 20:26:44 +00:00
DecodeBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
DeferredCanvasBench.cpp Changing SkDeferredCanvas to use factories for creation 2013-05-28 17:39:08 +00:00
DeferredSurfaceCopyBench.cpp Changing SkDeferredCanvas to use factories for creation 2013-05-28 17:39:08 +00:00
DisplacementBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-24 07:01:07 +00:00
FontCacheBench.cpp Sanitizing source files in Housekeeper-Nightly 2013-06-13 07:00:51 +00:00
FontScalerBench.cpp use new PurgeFontCache() api 2011-11-08 20:03:48 +00:00
GameBench.cpp Sanitizing source files in Housekeeper-Nightly 2013-06-01 07:01:39 +00:00
gen_bench_ranges.py Adds microbench range generation option; renames file appropriately. (SkipBuildbotRuns) 2013-06-13 23:40:05 +00:00
GradientBench.cpp Added a high-color (50 colors) gradient for each gradient type. 2013-07-10 16:13:14 +00:00
GrMemoryPoolBench.cpp use SkAutoTDelete instead of SkTScopedPtr 2013-04-18 18:43:26 +00:00
gUniqueGlyphIDs.h switch array to uint16_t to fix overflows 2013-06-11 19:53:19 +00:00
ImageDecodeBench.cpp Add an option to create unpremultiplied bitmaps. 2013-06-14 15:33:20 +00:00
InterpBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
LightingBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-25 07:01:04 +00:00
LineBench.cpp add bench for hairlines 2012-10-25 17:32:10 +00:00
MagnifierBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-24 07:01:07 +00:00
MathBench.cpp Remove unused NormalizeBench::fUsePortable field. 2013-06-19 13:28:44 +00:00
Matrix44Bench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
MatrixBench.cpp Fix more clang errors. 2013-04-05 21:13:14 +00:00
MatrixConvolutionBench.cpp Fix more clang errors. 2013-04-05 21:13:14 +00:00
MemoryBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
MemsetBench.cpp Fix Win7 warning-as-error complaint 2013-06-03 17:29:58 +00:00
MergeBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-24 07:01:07 +00:00
MorphologyBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
MutexBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
PathBench.cpp bump picture version since SkPath has changed (conics) 2013-05-31 15:17:50 +00:00
PathIterBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
PathUtilsBench.cpp Remove unused private fields from PathUtilsBench. 2013-07-09 13:33:16 +00:00
PerlinNoiseBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-18 07:01:48 +00:00
PicturePlaybackBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
PictureRecordBench.cpp Streamline picture_record_recurring_ bench. 2013-07-11 14:26:09 +00:00
PremulAndUnpremulAlphaOpsBench.cpp Add benchmark for PremultiplyAlpha and UnpremultiplyAlpha in Skia 2013-06-13 10:18:02 +00:00
ReadPixBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2012-09-05 02:01:29 +00:00
RectBench.cpp Add stroked oval benches. 2013-05-07 13:03:21 +00:00
RectoriBench.cpp Sanitizing source files in Housekeeper-Nightly 2013-05-14 07:01:11 +00:00
RefCntBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
RegionBench.cpp Let SkBenchmark classes specify that they do no rendering. 2012-09-13 15:50:24 +00:00
RegionContainBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
RepeatTileBench.cpp remove dst/rendertarget support for kARGB_4444_Config 2013-06-21 18:30:53 +00:00
RTreeBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
ScalarBench.cpp Made more benchs non-rendering 2012-09-17 10:49:30 +00:00
ShaderMaskBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkBenchLogger.cpp Report data from bench_pictures in the same fashion as bench. 2012-09-07 15:21:18 +00:00
SkBenchLogger.h Report data from bench_pictures in the same fashion as bench. 2012-09-07 15:21:18 +00:00
SkBenchmark.cpp extend SkBenchmark to allow a bench to return a durationScale, which allows it to perform fewer actual interations, but report a scale factor to account for that. Thus a very slow bench can be compared head-to-head with a faster one, w/o actually forcing the tool to run for the full duration of the slower test. 2013-05-29 15:39:54 +00:00
SkBenchmark.h extend SkBenchmark to allow a bench to return a durationScale, which allows it to perform fewer actual interations, but report a scale factor to account for that. Thus a very slow bench can be compared head-to-head with a faster one, w/o actually forcing the tool to run for the full duration of the slower test. 2013-05-29 15:39:54 +00:00
SortBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
StrokeBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-02-05 07:02:01 +00:00
TableBench.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2012-10-04 02:01:34 +00:00
TextBench.cpp Stop bench from leaking 2012-08-13 22:10:05 +00:00
tile_analyze.py Script to plot tile vs. viewport comparison for given platform and revision. 2013-02-13 23:22:29 +00:00
TileBench.cpp Fix bug in 1xN SkBitmapProcShader optimization 2013-01-22 20:29:16 +00:00
TimerData.cpp Fix for Windows build. 2012-09-07 15:57:18 +00:00
TimerData.h Report data from bench_pictures in the same fashion as bench. 2012-09-07 15:21:18 +00:00
VertBench.cpp Fix more clang errors. 2013-04-05 21:13:14 +00:00
WriterBench.cpp Bench : Unused parameters cleanup 2013-03-05 18:50:01 +00:00
XfermodeBench.cpp Sanitizing source files in Housekeeper-Nightly 2013-05-04 07:01:15 +00:00