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

Issue 197573002: Stores per-iteration bench values in BenchDataPoint. (Closed)

Created:
6 years, 9 months ago by benchen
Modified:
6 years, 9 months ago
Reviewers:
borenet
CC:
skia-review_googlegroups.com, skiabot_google.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Stores per-iteration bench values in BenchDataPoint. BUG=skia:2225 NOTRY=true Committed: http://code.google.com/p/skia/source/detail?r=13767

Patch Set 1 #

Patch Set 2 : adds some comments. #

Total comments: 3

Patch Set 3 : refines class attributes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
M bench/bench_util.py View 1 2 6 chunks +40 lines, -18 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
benchen
This will be used later in calculating bench expectation ranges.
6 years, 9 months ago (2014-03-12 15:23:28 UTC) #1
borenet
LGTM with request for documentation tweak. This is a little confusing, but I'm not sure ...
6 years, 9 months ago (2014-03-12 15:54:32 UTC) #2
benchen
Thanks, PTAL. https://codereview.chromium.org/197573002/diff/20001/bench/bench_util.py File bench/bench_util.py (right): https://codereview.chromium.org/197573002/diff/20001/bench/bench_util.py#newcode42 bench/bench_util.py:42: (str, str, str, float, {str:str}, str, [floats], ...
6 years, 9 months ago (2014-03-12 16:22:51 UTC) #3
benchen
The CQ bit was checked by bensong@google.com
6 years, 9 months ago (2014-03-12 16:23:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bensong@google.com/197573002/40001
6 years, 9 months ago (2014-03-12 16:23:23 UTC) #5
commit-bot: I haz the power
Change committed as 13767
6 years, 9 months ago (2014-03-12 16:23:36 UTC) #6
borenet
6 years, 9 months ago (2014-03-12 17:13:06 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/197573002/diff/20001/bench/bench_util.py
File bench/bench_util.py (right):

https://codereview.chromium.org/197573002/diff/20001/bench/bench_util.py#newc...
bench/bench_util.py:42: (str, str, str, float, {str:str}, str, [floats],
[floats])"""
On 2014/03/12 16:22:51, benchen wrote:
> On 2014/03/12 15:54:32, borenet wrote:
> > I'd really prefer to have these parameters documented per-argument with some
> > explanation.
> 
> They are member variables. I added explanations in __init__. Sorry for the
> historical confusion.

Thanks.  This is okay, but I'd still prefer the documentation to be in the
docstring for __init__, like this:

def __init__(....):
  """Instantiate a BenchDataPoint.

  Args:
    bench: string; name of the benchmark to measure
    .... etc ....
  """

Powered by Google App Engine
This is Rietveld 408576698