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

Issue 286903025: PictureBenchmark JSON logging (Closed)

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

Description

Add JSON logging support to bench_pictures by adding a PictureResultsWriter class (in tools/PictureResultsWriter.h) to process logging information, using a very similar style as bench/ResultsWriter.h JSON format described in code, above PictureJSONResultsWriter class BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14906

Patch Set 1 #

Patch Set 2 : Added JSON support to bench_pictures #

Patch Set 3 : Switch JSON styles from styled to fast #

Total comments: 6

Patch Set 4 : Added JSON description for JSON picture writer #

Patch Set 5 : Moved SkFindNamedNode to separate file, fixed build dependencies #

Total comments: 10

Patch Set 6 : Fixed typos, added a little more documentation #

Total comments: 4

Patch Set 7 : More style fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -70 lines) Patch
M bench/ResultsWriter.h View 1 2 3 4 3 chunks +5 lines, -21 lines 0 comments Download
A bench/ResultsWriter.cpp View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
M bench/TimerData.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M bench/TimerData.cpp View 1 1 chunk +83 lines, -0 lines 0 comments Download
M gyp/bench.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tools.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/PictureBenchmark.h View 1 4 chunks +4 lines, -4 lines 0 comments Download
M tools/PictureBenchmark.cpp View 1 7 chunks +27 lines, -40 lines 0 comments Download
A tools/PictureResultsWriter.h View 1 2 3 4 5 6 1 chunk +232 lines, -0 lines 0 comments Download
M tools/bench_pictures_main.cpp View 1 2 3 4 5 7 chunks +20 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
kelvinly
Main changes are in tools/PictureResultsWriter.h
6 years, 7 months ago (2014-05-23 20:32:14 UTC) #1
jcgregorio
On 2014/05/23 20:32:14, kelvinly wrote: > Main changes are in tools/PictureResultsWriter.h CL description needs more ...
6 years, 7 months ago (2014-05-27 15:12:50 UTC) #2
kelvinly
Added JSON description, improved CL description too
6 years, 7 months ago (2014-05-27 15:32:56 UTC) #3
jcgregorio
https://codereview.chromium.org/286903025/diff/30001/bench/ResultsWriter.h File bench/ResultsWriter.h (right): https://codereview.chromium.org/286903025/diff/30001/bench/ResultsWriter.h#newcode150 bench/ResultsWriter.h:150: Json::Value* find_named_node(Json::Value* root, const char name[]) { Should be ...
6 years, 7 months ago (2014-05-27 15:34:25 UTC) #4
kelvinly
https://codereview.chromium.org/286903025/diff/30001/bench/ResultsWriter.h File bench/ResultsWriter.h (right): https://codereview.chromium.org/286903025/diff/30001/bench/ResultsWriter.h#newcode150 bench/ResultsWriter.h:150: Json::Value* find_named_node(Json::Value* root, const char name[]) { On 2014/05/27 ...
6 years, 7 months ago (2014-05-27 16:41:06 UTC) #5
jcgregorio
https://codereview.chromium.org/286903025/diff/30001/bench/ResultsWriter.h File bench/ResultsWriter.h (right): https://codereview.chromium.org/286903025/diff/30001/bench/ResultsWriter.h#newcode150 bench/ResultsWriter.h:150: Json::Value* find_named_node(Json::Value* root, const char name[]) { ResultsWriter.cpp On ...
6 years, 7 months ago (2014-05-27 17:14:05 UTC) #6
kelvinly
Moved a function into ResultsWriter.cpp, changed the gyp files to depend on that, built everything ...
6 years, 7 months ago (2014-05-27 18:55:28 UTC) #7
jcgregorio
https://codereview.chromium.org/286903025/diff/60001/tools/PictureResultsWriter.h File tools/PictureResultsWriter.h (right): https://codereview.chromium.org/286903025/diff/60001/tools/PictureResultsWriter.h#newcode26 tools/PictureResultsWriter.h:26: PictureResultsWriter() {;} You don't need the ; Fix here ...
6 years, 7 months ago (2014-05-27 19:57:16 UTC) #8
kelvinly
Problems fixed I think https://codereview.chromium.org/286903025/diff/60001/tools/PictureResultsWriter.h File tools/PictureResultsWriter.h (right): https://codereview.chromium.org/286903025/diff/60001/tools/PictureResultsWriter.h#newcode26 tools/PictureResultsWriter.h:26: PictureResultsWriter() {;} On 2014/05/27 19:57:16, ...
6 years, 7 months ago (2014-05-27 20:27:30 UTC) #9
jcgregorio
https://codereview.chromium.org/286903025/diff/80001/tools/PictureResultsWriter.h File tools/PictureResultsWriter.h (right): https://codereview.chromium.org/286903025/diff/80001/tools/PictureResultsWriter.h#newcode49 tools/PictureResultsWriter.h:49: PictureResultsMultiWriter() : writers() {;} More stray semicolons here and ...
6 years, 7 months ago (2014-05-27 20:36:06 UTC) #10
kelvinly
Fixed more style issues, I think that should be all of them. Sorry for not ...
6 years, 7 months ago (2014-05-27 20:41:17 UTC) #11
jcgregorio
On 2014/05/27 20:41:17, kelvinly wrote: > Fixed more style issues, I think that should be ...
6 years, 7 months ago (2014-05-27 20:49:47 UTC) #12
kelvinly
The CQ bit was checked by kelvinly@google.com
6 years, 7 months ago (2014-05-27 20:52:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/kelvinly@google.com/286903025/100001
6 years, 7 months ago (2014-05-27 20:52:47 UTC) #14
commit-bot: I haz the power
Change committed as 14906
6 years, 7 months ago (2014-05-27 20:57:51 UTC) #15
epoger
6 years, 7 months ago (2014-05-27 21:50:55 UTC) #16
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/306483010/ by epoger@google.com.

The reason for reverting is: Broke some Windows builds; see
http://skbug.com/2609 ('certain Windows Build-* bots failing since r14905').

Before re-landing with a fix, please send to some of the trybots that failed the
first time..

Powered by Google App Engine
This is Rietveld 408576698