skia2/tools
commit-bot@chromium.org 8fe89d3124 Use a tilegrid for bench_playback.
Using --tile wasn't a fair comparison: SkPicture didn't get to optimize its
playback, but SkRecord did.  Numbers here are starting to agree with what I saw
in telemetry: SkRecord with culling is on average at 0.8-0.9 of the speed of
SkPicture (10-30% slower) than SkPicture SkPicture with a tile grid, but some
in some cases it's down at 0.3, taking almost 4x as long to draw a 256x256 tile.

0.4x tabl_mercurynews.skp 0.109889 0.252483
0.5x tabl_cnet.skp 0.250367 0.527789
1.0x desk_mapsvg.skp 1.48698 1.49939
1.2x desk_yahoogames.skp 0.07745 0.065343
0.9x tabl_mlb.skp 0.294509 0.312505
0.8x tabl_hsfi.skp 0.250678 0.316337
0.6x tabl_worldjournal.skp 0.510204 0.828798
0.7x desk_facebook.skp 0.318981 0.483744
0.9x desk_googlehome.skp 0.06983 0.078964
0.9x desk_tigersvg.skp 0.019232 0.022611
1.0x desk_youtubetvvideo.skp 0.401614 0.401862
1.1x desk_amazon.skp 0.415552 0.362111
0.7x desk_yahooanswers.skp 0.237995 0.358659
0.7x desk_twitter.skp 0.323466 0.439772
1.2x desk_fontwipe.skp 0.121577 0.097845
1.1x desk_css3gradients.skp 0.395335 0.362087
0.9x desk_googlespreadsheet.skp 0.362056 0.406688
1.0x tabl_frantzen.skp 15.2475 14.8521
0.6x desk_forecastio.skp 0.154236 0.276881
0.7x desk_pinterest.skp 0.077433 0.11324
0.5x tabl_cuteoverload.skp 0.173014 0.361815
0.5x tabl_androidpolice.skp 0.225903 0.465608
0.6x tabl_vnexpress.skp 0.151075 0.241104
0.6x tabl_nytimes.skp 0.06515 0.117229
0.8x desk_ebay.skp 0.353437 0.422586
0.8x tabl_deviantart.skp 0.223103 0.295496
1.1x tabl_culturalsolutions.skp 0.551348 0.506104
0.9x mobi_wikipedia.skp 0.302603 0.337292
0.6x desk_linkedin.skp 0.165102 0.276149
0.6x tabl_digg.skp 0.159074 0.281529
1.2x desk_oldinboxapp.skp 0.019815 0.017146
1.0x tabl_nofolo.skp 5.18914 5.42784
0.6x desk_jsfiddlehumperclip.skp 0.076869 0.133665
1.0x desk_blogger.skp 0.206702 0.19688
0.8x desk_espn.skp 0.346386 0.451871
1.0x desk_samoasvg.skp 3.60037 3.43147
0.8x desk_booking.skp 0.338818 0.438267
1.3x desk_yahoosports.skp 0.603811 0.470052
0.6x tabl_engadget.skp 0.248995 0.404372
0.7x desk_wowwiki.skp 0.325801 0.479559
0.8x tabl_ukwsj.skp 0.326985 0.405971
0.9x tabl_gmail.skp 0.2604 0.276744
0.9x desk_googleplus.skp 8.08874 8.71105
1.1x tabl_slashdot.skp 0.559332 0.524313
0.9x desk_gmailthread.skp 0.671569 0.74134
0.8x desk_weather.skp 0.194162 0.247681
1.3x desk_rectangletransition.skp 0.218372 0.173685
0.6x tabl_gamedeksiam.skp 0.243374 0.4134
0.9x desk_jsfiddlebigcar.skp 0.162282 0.186035
0.3x desk_pokemonwiki.skp 0.202878 0.778934
0.7x tabl_googleblog.skp 0.141203 0.209971
0.8x desk_sfgate.skp 0.229078 0.275248
1.0x desk_chalkboard.skp 2.28916 2.20101
0.9x tabl_googlecalendar.skp 0.687155 0.75413
1.1x tabl_gspro.skp 0.186399 0.169522
0.5x desk_googlespreadsheetdashed.skp 0.512622 1.02815
0.6x desk_mobilenews.skp 0.183506 0.293929
0.8x tabl_techmeme.skp 0.193074 0.229106
1.2x desk_carsvg.skp 5.33047 4.34058
0.5x desk_youtube.skp 0.132663 0.248236
0.7x tabl_pravda.skp 0.21644 0.308788
1.1x desk_gws.skp 0.698107 0.625371
0.5x tabl_mozilla.skp 0.189638 0.386801
1.0x desk_baidu.skp 0.353438 0.355965
1.1x tabl_sahadan.skp 0.476226 0.416737
summary: ≥0.3x (A 0.9x, G 0.8x) ≤1.3x

Whole SKP playback speed is fine of course.

BUG=skia:2378
R=fmalita@chromium.org, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/277653002

git-svn-id: http://skia.googlecode.com/svn/trunk@14673 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-05-09 15:00:10 +00:00
..
chromium Cleanup of SSE optimization files. 2014-04-30 14:58:46 +00:00
copyright Script to automatically update copyright notices in C/C++ source code. 2011-07-28 14:29:58 +00:00
flags Add a minimal --undefok to SkCommandLineFlags. 2014-03-25 21:00:02 +00:00
lua Add quiet mode to lua_pictures. 2014-03-19 19:23:17 +00:00
skpdiff Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
tests remove self-tests for no-longer-supported rebaseline.py 2014-05-02 16:48:30 +00:00
__init__.py Add bench_pictures config 2012-12-12 20:13:26 +00:00
add_codereview_message.py add_codereview_message script to append messages to a CL 2014-01-30 22:12:30 +00:00
bbh_shootout.cpp add --writeChecksumBasedFilenames flag to render_pictures 2014-03-19 17:26:07 +00:00
bench_pictures_cfg_helper.py Fix bench_pictures.cfg 2013-03-07 20:18:27 +00:00
bench_pictures_main.cpp Update bench to be able to preprocess skps 2014-04-11 15:54:14 +00:00
bench_pictures.cfg Don't run GPU configs in bench_pictures on RHB 2014-05-02 19:59:59 +00:00
bench_playback.cpp Use a tilegrid for bench_playback. 2014-05-09 15:00:10 +00:00
bench_record.cpp Add --timescale to bench_record and bench_playback. 2014-04-28 19:41:17 +00:00
buildbot_globals.py Fix buildbot_globals.py: Retrieve the file from our repo mirror 2014-04-29 17:11:19 +00:00
compare_codereview.py Further tweak compare_codereview.py. 2014-03-25 18:02:17 +00:00
CopyTilesRenderer.cpp split SkPictureRecorder out of SkPicture 2014-04-13 19:09:42 +00:00
CopyTilesRenderer.h add --writeChecksumBasedFilenames flag to render_pictures 2014-03-19 17:26:07 +00:00
coverage.sh increase coverage of SkPath.cpp, remove unused code 2013-11-14 16:53:22 +00:00
doxygen_footer.txt Fix update-doxygen, which fails when skia-autogen is reset 2012-09-26 16:09:43 +00:00
dump_record.cpp Add timing to dump_record. 2014-05-09 14:59:29 +00:00
filtermain.cpp Staging for cleanup of SkPicture-related headers 2014-04-18 18:04:41 +00:00
find_bad_images_in_skps.py Make image decoding more fault resistant, less verbose. 2013-10-04 12:46:45 +00:00
find_run_binary.py Create a common utility for finding and running binaries in out/ 2014-02-07 18:41:49 +00:00
gcov_shim add a way to get code coverage 2013-09-13 19:32:43 +00:00
generate_fir_coeff.py Fix metrics on Windows. 2013-07-27 20:37:56 +00:00
git_utils.py add_codereview_message script to append messages to a CL 2014-01-30 22:12:30 +00:00
git-skia-verify Land http://codereview.appspot.com/6117046/ for Guanqun.Lu@gmail.com 2012-04-24 15:19:23 +00:00
git-sync-deps git-sync-deps - handle symbolic links to directories 2014-04-28 13:39:47 +00:00
gpuveto.cpp Sanitizing source files in Housekeeper-Nightly 2014-04-29 03:05:14 +00:00
image_expectations.cpp reland "extract some common code from PictureRenderer" 2014-05-09 03:18:41 +00:00
image_expectations.h reland "extract some common code from PictureRenderer" 2014-05-09 03:18:41 +00:00
install_dependencies.sh Spelling fix, comments explaining script. 2014-05-05 13:30:06 +00:00
jsondiff.py svndiff.py: properly handle empty expectations dictionary 2013-09-04 16:27:16 +00:00
LazyDecodeBitmap.cpp Add Options to SkDecodingImageGenerator, simplify API. 2014-01-02 13:15:13 +00:00
LazyDecodeBitmap.h Add the lazy decoder from PictureFlags to SkImageDecoder 2013-07-16 18:21:46 +00:00
lsan.supp Add a suppressions file for leak sanitizer. 2014-01-23 18:42:31 +00:00
merge_static_libs.py Build Skia as a static library 2012-10-10 19:45:51 +00:00
misc_utils.py add_codereview_message script to append messages to a CL 2014-01-30 22:12:30 +00:00
OverwriteLine.h Make tests output spin on the same line by default. 2014-01-02 16:19:53 +00:00
path_utils.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-08 02:01:38 +00:00
path_utils.h Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-08 02:01:38 +00:00
pathops_sorter.htm When solving the cubic line intersection directly fails, use binary search as a fallback. 2014-05-07 15:31:40 +00:00
PdfRenderer.cpp Add SkPDFDeviceFlatenner which extends SkPDFDevice to add support to flatten the path and the text when we have perspective. 2013-10-14 13:42:12 +00:00
PdfRenderer.h Add SkPDFDeviceFlatenner which extends SkPDFDevice to add support to flatten the path and the text when we have perspective. 2013-10-14 13:42:12 +00:00
picture_utils.cpp add explicit filepaths to render_pictures JSON summary 2014-04-10 15:39:02 +00:00
picture_utils.h add explicit filepaths to render_pictures JSON summary 2014-04-10 15:39:02 +00:00
PictureBenchmark.cpp Increase picture bench inner loop iteration to 10 for testing number stableness. 2014-04-30 00:46:29 +00:00
PictureBenchmark.h Update bench to be able to preprocess skps 2014-04-11 15:54:14 +00:00
PictureRenderer.cpp reland "extract some common code from PictureRenderer" 2014-05-09 03:18:41 +00:00
PictureRenderer.h reland "extract some common code from PictureRenderer" 2014-05-09 03:18:41 +00:00
PictureRenderingFlags.cpp Staged removal of SkPicture-derived classes 2014-04-17 23:35:06 +00:00
PictureRenderingFlags.h Change the name of SkFlags to SkCommandLineFlags. 2013-03-21 19:43:15 +00:00
pinspect.cpp Add the lazy decoder from PictureFlags to SkImageDecoder 2013-07-16 18:21:46 +00:00
rebaseline.py mark rebaseline.py as deprecated 2014-05-02 14:34:18 +00:00
reformat-json.py add reformat-json.py script 2013-07-19 15:45:22 +00:00
render_pdfs_main.cpp Do not define SK_SUPPORT_DEEPCOPYTO_CONFIG in Skia. 2014-02-24 18:51:43 +00:00
render_pictures_main.cpp reland "extract some common code from PictureRenderer" 2014-05-09 03:18:41 +00:00
roll_autogen.sh Script to help cycle skia-autogen 2012-08-27 19:37:48 +00:00
roll_deps.py Add the chromium ninja builder to the list of trybots for a DEPS roll. 2014-04-10 14:10:08 +00:00
sanitize_source_files.py Ignore the .git directory in sanitize_source_files, remove .git directory... 2013-09-11 13:01:27 +00:00
sk_tool_utils.cpp Revert "Revert of implement readPixels and writePixels natively, w/o using the (deprecated) (https://codereview.chromium.org/199733016/)" 2014-03-25 16:20:24 +00:00
sk_tool_utils.h Revert "Revert of implement readPixels and writePixels natively, w/o using the (deprecated) (https://codereview.chromium.org/199733016/)" 2014-03-25 16:20:24 +00:00
skdiff_html.cpp fix warnings 2013-01-07 22:26:05 +00:00
skdiff_html.h Add newline at end of tools/skdiff_html.h to happify the housekeeping bot 2012-12-05 20:30:00 +00:00
skdiff_image.cpp Add stdio include to skdiff_image. 2013-10-11 19:19:10 +00:00
skdiff_main.cpp force linking inside of skdiff 2013-06-18 21:23:31 +00:00
skdiff_utils.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
skdiff_utils.h Sanitizing source files in Skia_Periodic_House_Keeping 2012-12-06 02:01:25 +00:00
skdiff.cpp * Extended skdiff to report alpha channel differences. 2013-01-03 19:23:22 +00:00
skdiff.h * Extended skdiff to report alpha channel differences. 2013-01-03 19:23:22 +00:00
skhello.cpp deprecate SkScalarRound (and its ilk), use SkScalarRound[ToInt,ToScalar]. #define SK_SUPPORT_DEPRECATED_SCALARROUND for legacy clients 2013-12-17 19:22:07 +00:00
skimage_main.cpp Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
skpinfo.cpp First pass at GPU veto 2014-04-24 21:53:13 +00:00
skpmaker.cpp Staging for cleanup of SkPicture-related headers 2014-04-18 18:04:41 +00:00
submit_try Make tools/submit_try safer 2014-01-16 19:48:19 +00:00
submit_try.bat Modify submit_try to work on windows 2013-01-24 21:38:51 +00:00
svn.py rebaseline_server: add actual_repo and actual_revision command line options 2014-03-10 18:09:25 +00:00
svndiff.py svndiff for the windows 2013-10-29 13:55:29 +00:00
test_gpuveto.py First version of gpuveto testing script 2014-04-28 19:41:01 +00:00
test_image_decoder.cpp Runtime configuration setting for suppressing JPEG decoder errors. 2013-10-14 20:08:48 +00:00
test_pdfs.py Add an SKP to PDF rendered. test_pdfs.py will be hooked up in buildbot testing later. 2012-10-10 15:20:34 +00:00
tsan.supp Add TSAN suppressions. 2014-04-25 13:59:27 +00:00
update-doxygen.sh Remove references to Skia's SVN repository 2014-01-09 21:41:39 +00:00
valgrind.supp one valgrind.supp to rule them all. 2014-04-30 21:10:13 +00:00
verify_images_for_gm_results.py Remove base-* directories from gm expected/actual paths; just use platform names 2013-08-20 16:21:55 +00:00
win_dbghelp.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-03-09 07:01:15 +00:00
win_dbghelp.h Collect minidump and print callstack if an app chrashes. 2013-03-08 18:00:16 +00:00
win_lcid.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-04-03 07:01:14 +00:00
xsan_build simplify tools/xsan_build now that make runs ninja 2014-04-24 18:16:13 +00:00