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

Issue 186973005: New version of the bbh shootout (Closed)

Created:
6 years, 9 months ago by iancottrell
Modified:
6 years, 9 months ago
Reviewers:
tomhudson, mtklein, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

New version of the bbh shootout. There were a bunch of problems with the existing code, all of which I would of ignored, except it could only benchmark none and rtree. The new version measures the same numbers, in almost exactly the same way, it's the structure over the top of the actual test runner that I changed. Now it only loads the pictures once, it is configurable in which bbh's it runs and how may loops on them it does, it uses standard command line processing, and it does not do so much redundant work so it runs quicker. It is also much easier to understand and change IMHO. Doing this so I can reasonably compare the new QuadTree implementation. BUG=skia:2242 Committed: http://code.google.com/p/skia/source/detail?r=13736 Committed: http://code.google.com/p/skia/source/detail?r=13743

Patch Set 1 #

Patch Set 2 : Remove dead constants #

Total comments: 28

Patch Set 3 : Review fixes #

Total comments: 8

Patch Set 4 : Removing verification tests, and minor fixes #

Patch Set 5 : Clean up do_benchmark_work args and comments #

Patch Set 6 : Remove accidentally added file" #

Patch Set 7 : Fix bbh_shootout break for mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -319 lines) Patch
M tools/PictureRenderer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tools/bbh_shootout.cpp View 1 2 3 4 5 6 3 chunks +106 lines, -319 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
iancottrell
6 years, 9 months ago (2014-03-06 21:05:32 UTC) #1
reed1
api lgtm https://codereview.chromium.org/186973005/diff/20001/tools/PictureRenderer.h File tools/PictureRenderer.h (right): https://codereview.chromium.org/186973005/diff/20001/tools/PictureRenderer.h#newcode89 tools/PictureRenderer.h:89: static const int kBBoxHierarchyTypeCount = kLast_BBoxHierarchyType + ...
6 years, 9 months ago (2014-03-07 13:39:48 UTC) #2
mtklein
https://codereview.chromium.org/186973005/diff/20001/tools/PictureRenderer.h File tools/PictureRenderer.h (right): https://codereview.chromium.org/186973005/diff/20001/tools/PictureRenderer.h#newcode89 tools/PictureRenderer.h:89: static const int kBBoxHierarchyTypeCount = kLast_BBoxHierarchyType + 1; If ...
6 years, 9 months ago (2014-03-07 13:41:15 UTC) #3
mtklein
On 2014/03/07 13:39:48, reed1 wrote: > api lgtm > > https://codereview.chromium.org/186973005/diff/20001/tools/PictureRenderer.h > File tools/PictureRenderer.h (right): ...
6 years, 9 months ago (2014-03-07 13:41:53 UTC) #4
reed1
On 2014/03/07 13:41:53, mtklein wrote: > On 2014/03/07 13:39:48, reed1 wrote: > > api lgtm ...
6 years, 9 months ago (2014-03-07 13:57:08 UTC) #5
reed1
https://codereview.chromium.org/186973005/diff/20001/tools/bbh_shootout.cpp File tools/bbh_shootout.cpp (right): https://codereview.chromium.org/186973005/diff/20001/tools/bbh_shootout.cpp#newcode24 tools/bbh_shootout.cpp:24: SkString fName; On 2014/03/07 13:41:15, mtklein wrote: > This ...
6 years, 9 months ago (2014-03-07 13:58:19 UTC) #6
iancottrell
https://codereview.chromium.org/186973005/diff/20001/tools/PictureRenderer.h File tools/PictureRenderer.h (right): https://codereview.chromium.org/186973005/diff/20001/tools/PictureRenderer.h#newcode89 tools/PictureRenderer.h:89: static const int kBBoxHierarchyTypeCount = kLast_BBoxHierarchyType + 1; On ...
6 years, 9 months ago (2014-03-07 14:52:46 UTC) #7
mtklein
> Yes > I was wondering if we actually want an averaged percentage difference from ...
6 years, 9 months ago (2014-03-07 15:01:33 UTC) #8
tomhudson
Are we waiting for any other changes here, Ian?
6 years, 9 months ago (2014-03-10 14:44:34 UTC) #9
ian_cottrell
On 2014/03/10 14:44:34, tomhudson wrote: > Are we waiting for any other changes here, Ian? ...
6 years, 9 months ago (2014-03-10 14:46:56 UTC) #10
tomhudson
lgtm https://codereview.chromium.org/186973005/diff/40001/tools/bbh_shootout.cpp File tools/bbh_shootout.cpp (right): https://codereview.chromium.org/186973005/diff/40001/tools/bbh_shootout.cpp#newcode28 tools/bbh_shootout.cpp:28: DEFINE_int32(playback, 1, "Number of times to playback each ...
6 years, 9 months ago (2014-03-10 14:59:15 UTC) #11
iancottrell
https://codereview.chromium.org/186973005/diff/40001/tools/bbh_shootout.cpp File tools/bbh_shootout.cpp (right): https://codereview.chromium.org/186973005/diff/40001/tools/bbh_shootout.cpp#newcode28 tools/bbh_shootout.cpp:28: DEFINE_int32(playback, 1, "Number of times to playback each SKP."); ...
6 years, 9 months ago (2014-03-10 16:22:48 UTC) #12
tomhudson
The CQ bit was checked by tomhudson@google.com
6 years, 9 months ago (2014-03-11 12:30:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/iancottrell@google.com/186973005/100001
6 years, 9 months ago (2014-03-11 12:30:31 UTC) #14
commit-bot: I haz the power
Change committed as 13736
6 years, 9 months ago (2014-03-11 13:51:38 UTC) #15
hal.canary
A revert of this CL has been created in https://codereview.chromium.org/194903003/ by halcanary@google.com. The reason for ...
6 years, 9 months ago (2014-03-11 14:23:32 UTC) #16
iancottrell
The CQ bit was checked by iancottrell@google.com
6 years, 9 months ago (2014-03-11 17:04:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/iancottrell@google.com/186973005/120001
6 years, 9 months ago (2014-03-11 17:04:27 UTC) #18
commit-bot: I haz the power
6 years, 9 months ago (2014-03-11 17:27:19 UTC) #19
Message was sent while issue was closed.
Change committed as 13743

Powered by Google App Engine
This is Rietveld 408576698