skia2/bench
reed@google.com 7866228f06 land http://codereview.appspot.com/6353063/ by Lei
optimizations for D16 using SSE2

skia_bench -config 565 -match bitmap_8888_scale_filter -forceFilter 1 -repeat
30

The result I got on Android platform was below:

w/o this optimization routine: 
D/skia    ( 1868): running bench [640 480]     bitmap_8888_scale_filter
D/skia    ( 1868):    565: cmsecs = 286.50

w/ with optimization:
D/skia    ( 1463): running bench [640 480]     bitmap_8888_scale_filter
D/skia    ( 1463):    565: cmsecs = 186.80

The net gain is 34.80%.



git-svn-id: http://skia.googlecode.com/svn/trunk@4729 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-24 13:53:23 +00:00
..
BenchTool/BenchTool.xcodeproj move main.cpp outside of the xcode project 2009-01-07 11:49:19 +00:00
AAClipBench.cpp fix warnings on Mac in bench 2012-06-06 12:11:45 +00:00
bench_compare.py Add graphing for multiple runs of bench. 2011-06-17 13:58:14 +00:00
bench_graph_svg.py Fix variants in bench graphs. 2012-07-10 15:31:52 +00:00
bench_util.py git-svn-id: http://skia.googlecode.com/svn/trunk@4436 2bbb7eff-a529-9590-31e7-b0007b416f81 2012-07-02 21:49:30 +00:00
BenchGpuTimer_gl.cpp Move function decls and macros out of public headers that are meant for internal use. 2012-05-07 17:09:37 +00:00
BenchGpuTimer_gl.h Virtualize SkGLContext with subclasses SkNativeGLContext and SkMesaGLContext, allow both in gm 2011-10-19 20:43:20 +00:00
benchmain.cpp Added picture recording benchmark options to bench. 2012-07-20 23:03:42 +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 Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BenchSysTimer_mach.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +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 Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
BenchSysTimer_windows.cpp Fix wall clock in bench system timer on Windows. 2011-10-19 22:10:21 +00:00
BenchSysTimer_windows.h Fix two warnings in bench timers. 2011-10-03 20:44:39 +00:00
BenchTimer.cpp Adding support to trunk for building Skia using the Android NDK. 2011-11-03 13:08:29 +00:00
BenchTimer.h Virtualize SkGLContext with subclasses SkNativeGLContext and SkMesaGLContext, allow both in gm 2011-10-19 20:43:20 +00:00
BitmapBench.cpp land http://codereview.appspot.com/6353063/ by Lei 2012-07-24 13:53:23 +00:00
BlurBench.cpp Add fractional-radius blurs to blur benchmark. 2011-11-22 15:58:06 +00:00
ChecksumBench.cpp restore 4478 w/ fixed assert (no long need 8-byte alignment) 2012-07-09 17:44:44 +00:00
ChromeBench.cpp Disable overly heavy benchmark - 15x slower than any other benchmark 2012-03-14 18:33:54 +00:00
DashBench.cpp Change patheffect to take a (new) StrokeRec object, which encapsulates the fill 2012-05-25 01:04:12 +00:00
DecodeBench.cpp In debug builds, only run each benchmark 1 time (test for assertion-breakage, 2011-10-28 15:34:49 +00:00
FontScalerBench.cpp use new PurgeFontCache() api 2011-11-08 20:03:48 +00:00
GradientBench.cpp add bench for conical Gradient 2012-06-07 14:18:34 +00:00
GrMemoryPoolBench.cpp Add GrMemoryPool as a helper to override operators new/delete 2012-06-19 15:40:27 +00:00
InterpBench.cpp fix warnings on Mac in bench 2012-06-06 12:11:45 +00:00
MathBench.cpp fix warnings on Mac in bench 2012-06-06 12:11:45 +00:00
MatrixBench.cpp Fixing type mask computation in SkMatrix to make it faster and make it so that matrices have the same type masks as their inverses. 2012-07-12 14:01:32 +00:00
MemoryBench.cpp Add an SK_PRINTF_LIKE macro, which declares a function to have printf-like 2012-07-09 18:22:08 +00:00
MorphologyBench.cpp Compiler complaints + some minor cleanup 2012-06-12 21:23:49 +00:00
MutexBench.cpp posix: Avoid static initializers in static/global mutexes 2012-01-26 21:26:40 +00:00
PathBench.cpp add circle benchmark 2012-04-11 15:34:46 +00:00
PathIterBench.cpp add bench for SkPath::Iter and SkPath::RawIter 2012-05-07 13:46:32 +00:00
PicturePlaybackBench.cpp Reduce iteration count on picture_playback benchmarks to bring their cost 2012-06-26 14:25:53 +00:00
PictureRecordBench.cpp change unique_paint_dictionary to change the paint randomly, instead of just 2012-07-10 13:17:45 +00:00
RectBench.cpp In debug builds, only run each benchmark 1 time (test for assertion-breakage, 2011-10-28 15:34:49 +00:00
RefCntBench.cpp Expanded distribution of instance counting 2012-06-21 20:25:03 +00:00
RegionBench.cpp We often rgn-diff an area >= the other rgn. now we detect that and return empty 2012-05-31 18:28:59 +00:00
RepeatTileBench.cpp In debug builds, only run each benchmark 1 time (test for assertion-breakage, 2011-10-28 15:34:49 +00:00
ScalarBench.cpp fix bogus assert 2012-06-13 12:30:35 +00:00
ShaderMaskBench.cpp add bench for shader+blitMask 2011-11-15 15:29:45 +00:00
SkBenchmark.cpp Expanded distribution of instance counting 2012-06-21 20:25:03 +00:00
SkBenchmark.h Expanded distribution of instance counting 2012-06-21 20:25:03 +00:00
TextBench.cpp Change append to appendf for call sites with no format arguments. 2012-02-21 18:53:39 +00:00
VertBench.cpp Fix pure virtual call from destructor and turn VertBench back on 2011-10-28 19:50:21 +00:00