Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(655)

Issue 6937047: Provide an option to bench drawing individual tiles in bench_pictures. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by Leon
Modified:
12 years ago
Reviewers:
EricB, DerekS, benchen
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Provide an option to bench drawing individual tiles in bench_pictures. Provides output like the following: running bench [1236 12045] androidpolice.skp tile_256x256: tile [0,0] out of [5,48]: msecs = 1.00 tile_256x256: tile [1,0] out of [5,48]: msecs = 1.50 tile_256x256: tile [2,0] out of [5,48]: msecs = 1.00 tile_256x256: tile [3,0] out of [5,48]: msecs = 1.50 tile_256x256: tile [4,0] out of [5,48]: msecs = 2.50 tile_256x256: tile [0,1] out of [5,48]: msecs = 2.00 tile_256x256: tile [1,1] out of [5,48]: msecs = 3.50 tile_256x256: tile [2,1] out of [5,48]: msecs = 3.50 tile_256x256: tile [3,1] out of [5,48]: msecs = 6.00 tile_256x256: tile [4,1] out of [5,48]: msecs = 2.50 tile_256x256: tile [0,2] out of [5,48]: msecs = 2.00 BUG=https://code.google.com/p/skia/issues/detail?id=1016 Committed: https://code.google.com/p/skia/source/detail?r=6805

Patch Set 1 #

Patch Set 2 : Exit early if timeIndividualTiles is set without tile mode. #

Total comments: 12

Patch Set 3 : Improve a comment. #

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -43 lines) Patch
M tools/PictureBenchmark.h View 1 2 chunks +14 lines, -0 lines 0 comments Download
M tools/PictureBenchmark.cpp View 1 2 3 3 chunks +61 lines, -25 lines 0 comments Download
M tools/PictureRenderer.h View 1 2 3 4 chunks +52 lines, -5 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 2 3 7 chunks +45 lines, -7 lines 0 comments Download
M tools/bench_pictures_main.cpp View 1 5 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 7
Leon
Please let me know if this satisfies the goal, and if the output should be ...
12 years ago (2012-12-13 18:38:12 UTC) #1
benchen
Thanks Leon. In terms of output format, I see that there won't be repetitions, so ...
12 years ago (2012-12-13 19:35:28 UTC) #2
EricB
Kudos for the quick turnaround. LGTM but want to make sure this format works for ...
12 years ago (2012-12-13 19:39:28 UTC) #3
DerekS
https://codereview.appspot.com/6937047/diff/2001/tools/PictureBenchmark.cpp File tools/PictureBenchmark.cpp (right): https://codereview.appspot.com/6937047/diff/2001/tools/PictureBenchmark.cpp#newcode109 tools/PictureBenchmark.cpp:109: result.append("\n"); the first time through this loop it is ...
12 years ago (2012-12-13 19:55:25 UTC) #4
Leon
> Thanks Leon. In terms of output format, I see that there won't be repetitions, ...
12 years ago (2012-12-13 20:29:06 UTC) #5
benchen
Leon, please provide me with sample of all possible outputs. The one you gave in ...
12 years ago (2012-12-13 20:58:01 UTC) #6
DerekS
12 years ago (2012-12-13 21:06:54 UTC) #7
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b