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

Issue 6197066: Discard absurd values (and log warnings) when graphing bench results. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by epoger
Modified:
12 years, 4 months ago
Reviewers:
bungeman
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Discard absurd values (and log warnings) when graphing bench results. BUG=http://code.google.com/p/skia/issues/detail?id=596 Committed: https://code.google.com/p/skia/source/detail?r=3914

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -22 lines) Patch
M bench/bench_graph_svg.py View 1 2 9 chunks +100 lines, -22 lines 0 comments Download

Messages

Total messages: 3
epoger
12 years, 4 months ago (2012-05-09 19:25:29 UTC) #1
bungeman
Not properly escaping makes my eye twitch. Other than that, LGTM. http://codereview.appspot.com/6197066/diff/2001/bench/bench_graph_svg.py File bench/bench_graph_svg.py (right): ...
12 years, 4 months ago (2012-05-11 18:02:15 UTC) #2
epoger
12 years, 4 months ago (2012-05-11 18:25:11 UTC) #3
Thanks for the suggestions!  I took 'em all.  Will commit in a minute...

http://codereview.appspot.com/6197066/diff/2001/bench/bench_graph_svg.py
File bench/bench_graph_svg.py (right):

http://codereview.appspot.com/6197066/diff/2001/bench/bench_graph_svg.py#newc...
bench/bench_graph_svg.py:393: description += 'r%d: %s<br />\n' % (revision,
points_at_this_revision)
On 2012/05/11 18:02:15, bungeman wrote:
> This is going into a textarea, do we need the <br />? I don't think so, but
> there may be somewhere where it makes a difference.

Right you are, we don't need it.

http://codereview.appspot.com/6197066/diff/2001/bench/bench_graph_svg.py#newc...
bench/bench_graph_svg.py:403: print description
On 2012/05/11 18:02:15, bungeman wrote:
> should probably be qe(description) (if we don't need the <br /> above). If we
do
> need the <br /> then points_at_this_revision should be qe'ed above where
> description is set.

Done.

http://codereview.appspot.com/6197066/diff/2001/bench/bench_graph_svg.py#newc...
bench/bench_graph_svg.py:414: print '<title>%s</title>' % title
On 2012/05/11 18:02:15, bungeman wrote:
> Since I saw this below, at some point this should be qe(title)

Done.

http://codereview.appspot.com/6197066/diff/2001/bench/bench_graph_svg.py#newc...
bench/bench_graph_svg.py:414: print '<title>%s</title>' % title
On 2012/05/11 18:02:15, bungeman wrote:
> Since I saw this below, at some point this should be qe(title)

Done.

http://codereview.appspot.com/6197066/diff/2001/bench/bench_graph_svg.py#newc...
bench/bench_graph_svg.py:503: print '<table border="0" width="%s"><tr
valign="top"><td width="50%%">' % requested_width
On 2012/05/11 18:02:15, bungeman wrote:
> %%?

Moved it into the triple-quoted section so just one % does the trick.

http://codereview.appspot.com/6197066/diff/2001/bench/bench_graph_svg.py#newc...
bench/bench_graph_svg.py:553: title,
On 2012/05/11 18:02:15, bungeman wrote:
> I know this is just moved, but while moving it, qe(title)

Done.
Sign in to reply to this message.

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