Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Issue 23478013: Major bench refactoring. (Closed)

Created:
7 years, 3 months ago by mtklein
Modified:
7 years, 3 months ago
Reviewers:
epoger, scroggo, bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Major bench refactoring. - Use FLAGS_. - Remove outer repeat loop. - Tune inner loop automatically. BUG=skia:1590 R=epoger@google.com, scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=11187

Patch Set 1 #

Patch Set 2 : more updated #

Patch Set 3 : rough draft #

Patch Set 4 : synced #

Patch Set 5 : revert TimerData #

Patch Set 6 : make output match #

Patch Set 7 : In debug, one loop only. #

Total comments: 21

Patch Set 8 : scroggo #

Total comments: 27

Patch Set 9 : epoger #

Total comments: 3

Patch Set 10 : revert commented out SkErrors #

Patch Set 11 : comment 1B #

Patch Set 12 : merge with head #

Patch Set 13 : revert RectBench now that debug mode is only doing one pass #

Patch Set 14 : merge with head agani #

Unified diffs Side-by-side diffs Delta from patch set Stats (+647 lines, -1186 lines) Patch
M bench/AAClipBench.cpp View 7 chunks +4 lines, -16 lines 0 comments Download
M bench/BicubicBench.cpp View 2 chunks +7 lines, -6 lines 0 comments Download
M bench/BitmapBench.cpp View 4 chunks +1 line, -22 lines 0 comments Download
M bench/BitmapRectBench.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M bench/BitmapScaleBench.cpp View 1 chunk +1 line, -1 line 0 comments Download
M bench/BlurBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M bench/BlurImageFilterBench.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download
M bench/BlurRectBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M bench/ChartBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -3 lines 0 comments Download
M bench/ChecksumBench.cpp View 4 chunks +4 lines, -5 lines 0 comments Download
M bench/ChromeBench.cpp View 1 chunk +1 line, -1 line 0 comments Download
M bench/CmapBench.cpp View 3 chunks +10 lines, -11 lines 0 comments Download
M bench/ColorFilterBench.cpp View 9 chunks +16 lines, -13 lines 0 comments Download
M bench/DashBench.cpp View 1 2 10 chunks +7 lines, -22 lines 0 comments Download
M bench/DecodeBench.cpp View 1 2 2 chunks +12 lines, -15 lines 0 comments Download
M bench/DeferredCanvasBench.cpp View 1 4 chunks +2 lines, -6 lines 0 comments Download
M bench/DeferredSurfaceCopyBench.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M bench/DisplacementBench.cpp View 1 3 chunks +10 lines, -3 lines 0 comments Download
M bench/FSRectBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -4 lines 0 comments Download
M bench/FontCacheBench.cpp View 2 chunks +1 line, -5 lines 0 comments Download
M bench/FontScalerBench.cpp View 1 chunk +10 lines, -8 lines 0 comments Download
M bench/GameBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -11 lines 0 comments Download
M bench/GrMemoryPoolBench.cpp View 6 chunks +5 lines, -14 lines 0 comments Download
M bench/GradientBench.cpp View 4 chunks +4 lines, -5 lines 0 comments Download
M bench/HairlinePathBench.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M bench/ImageCacheBench.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M bench/ImageDecodeBench.cpp View 1 chunk +1 line, -1 line 0 comments Download
M bench/InterpBench.cpp View 1 chunk +1 line, -1 line 0 comments Download
M bench/LightingBench.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M bench/LineBench.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M bench/MagnifierBench.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download
M bench/MathBench.cpp View 13 chunks +16 lines, -22 lines 0 comments Download
M bench/Matrix44Bench.cpp View 1 2 chunks +1 line, -3 lines 0 comments Download
M bench/MatrixBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +7 lines, -9 lines 0 comments Download
M bench/MatrixConvolutionBench.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M bench/MemoryBench.cpp View 1 2 chunks +1 line, -5 lines 0 comments Download
M bench/MemsetBench.cpp View 1 2 chunks +1 line, -2 lines 0 comments Download
M bench/MergeBench.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M bench/MorphologyBench.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M bench/MutexBench.cpp View 1 2 chunks +4 lines, -10 lines 0 comments Download
M bench/PathBench.cpp View 1 2 26 chunks +20 lines, -45 lines 0 comments Download
M bench/PathIterBench.cpp View 1 3 chunks +2 lines, -4 lines 0 comments Download
M bench/PathUtilsBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -3 lines 0 comments Download
M bench/PerlinNoiseBench.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download
M bench/PicturePlaybackBench.cpp View 1 2 chunks +3 lines, -4 lines 0 comments Download
M bench/PictureRecordBench.cpp View 1 6 chunks +14 lines, -31 lines 0 comments Download
M bench/PremulAndUnpremulAlphaOpsBench.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M bench/RTreeBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -6 lines 0 comments Download
M bench/ReadPixBench.cpp View 1 1 chunk +5 lines, -3 lines 0 comments Download
M bench/RectBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +60 lines, -51 lines 0 comments Download
M bench/RectoriBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -3 lines 0 comments Download
M bench/RefCntBench.cpp View 1 2 7 chunks +7 lines, -8 lines 0 comments Download
M bench/RegionBench.cpp View 1 2 4 chunks +5 lines, -9 lines 0 comments Download
M bench/RegionContainBench.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M bench/RepeatTileBench.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M bench/ScalarBench.cpp View 1 2 4 chunks +2 lines, -5 lines 0 comments Download
M bench/ShaderMaskBench.cpp View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M bench/SkBenchmark.h View 1 2 3 4 5 6 7 8 7 chunks +10 lines, -35 lines 0 comments Download
M bench/SkBenchmark.cpp View 1 2 2 chunks +4 lines, -30 lines 0 comments Download
M bench/SortBench.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M bench/StrokeBench.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M bench/TableBench.cpp View 1 2 2 chunks +1 line, -4 lines 0 comments Download
M bench/TextBench.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M bench/TileBench.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M bench/VertBench.cpp View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M bench/WritePixelsBench.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M bench/WriterBench.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M bench/XfermodeBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -2 lines 0 comments Download
M bench/benchmain.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +329 lines, -671 lines 0 comments Download
M gyp/bench.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M tools/bbh_shootout.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
mtklein
Guys, you've won my lottery of being the two who seem best to review this ...
7 years, 3 months ago (2013-09-03 19:05:54 UTC) #1
scroggo
benchmain looks good for the most part. Should probably get a GPU guy to take ...
7 years, 3 months ago (2013-09-03 19:36:43 UTC) #2
mtklein
https://codereview.chromium.org/23478013/diff/17001/bench/benchmain.cpp File bench/benchmain.cpp (left): https://codereview.chromium.org/23478013/diff/17001/bench/benchmain.cpp#oldcode353 bench/benchmain.cpp:353: SkTDict<const char*> defineDict(1024); On 2013/09/03 19:36:43, scroggo wrote: > ...
7 years, 3 months ago (2013-09-03 20:04:43 UTC) #3
mtklein
Brian, can you take a look at this as my designated "I care about GPUs" ...
7 years, 3 months ago (2013-09-03 20:09:17 UTC) #4
scroggo
lgtm, pending GPU expertise and making sure our benchmark output parser/regressions system is ready for ...
7 years, 3 months ago (2013-09-03 20:13:53 UTC) #5
bsalomon
7 years, 3 months ago (2013-09-04 13:30:58 UTC) #6
epoger
Looking at the CL now...
7 years, 3 months ago (2013-09-04 13:32:06 UTC) #7
epoger
Reviewed at patchset 8. Thanks for taking this on, Mike... it's a bear, and it ...
7 years, 3 months ago (2013-09-04 14:36:40 UTC) #8
epoger
https://codereview.chromium.org/23478013/diff/22001/bench/AAClipBench.cpp File bench/AAClipBench.cpp (right): https://codereview.chromium.org/23478013/diff/22001/bench/AAClipBench.cpp#newcode1 bench/AAClipBench.cpp:1: /* One more toplevel comment: Presumably, this CL is ...
7 years, 3 months ago (2013-09-04 14:45:51 UTC) #9
scroggo
https://codereview.chromium.org/23478013/diff/22001/bench/AAClipBench.cpp File bench/AAClipBench.cpp (right): https://codereview.chromium.org/23478013/diff/22001/bench/AAClipBench.cpp#newcode1 bench/AAClipBench.cpp:1: /* On 2013/09/04 14:45:51, epoger wrote: > One more ...
7 years, 3 months ago (2013-09-04 14:51:31 UTC) #10
mtklein
https://codereview.chromium.org/23478013/diff/17001/bench/benchmain.cpp File bench/benchmain.cpp (left): https://codereview.chromium.org/23478013/diff/17001/bench/benchmain.cpp#oldcode724 bench/benchmain.cpp:724: Iter iter(&defineDict); On 2013/09/03 20:04:43, mtklein wrote: > On ...
7 years, 3 months ago (2013-09-04 19:06:50 UTC) #11
epoger
LGTM at patchset 9. https://codereview.chromium.org/23478013/diff/22001/bench/benchmain.cpp File bench/benchmain.cpp (right): https://codereview.chromium.org/23478013/diff/22001/bench/benchmain.cpp#newcode552 bench/benchmain.cpp:552: if (loops >= (1<<30)) { ...
7 years, 3 months ago (2013-09-04 19:18:25 UTC) #12
mtklein
https://codereview.chromium.org/23478013/diff/22001/bench/benchmain.cpp File bench/benchmain.cpp (right): https://codereview.chromium.org/23478013/diff/22001/bench/benchmain.cpp#newcode552 bench/benchmain.cpp:552: if (loops >= (1<<30)) { On 2013/09/04 19:18:26, epoger ...
7 years, 3 months ago (2013-09-04 19:25:14 UTC) #13
mtklein
7 years, 3 months ago (2013-09-10 19:25:21 UTC) #14
Message was sent while issue was closed.
Committed patchset #14 manually as r11187.

Powered by Google App Engine
This is Rietveld 408576698