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

Issue 10537036: Added rendering benchmark javascript hook (Closed)

Created:
8 years, 6 months ago by dmurph
Modified:
8 years, 4 months ago
Reviewers:
nduca, jam, piman
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, scheib
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Added rendering benchmark javascript hook Created json results store for returning results to browser Includes name filter of rendering benchmarks Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149031

Patch Set 1 #

Total comments: 11

Patch Set 2 : Naming fixes #

Patch Set 3 : microbenchmarks moved to content #

Patch Set 4 : #

Patch Set 5 : renamings + git try fixes #

Patch Set 6 : renaming #

Total comments: 34

Patch Set 7 : cleanup, refactoring, git try'd #

Total comments: 7

Patch Set 8 : Patch #

Total comments: 19

Patch Set 9 : nit changes, scoped_vector #

Patch Set 10 : Moved results array creation #

Total comments: 2

Patch Set 11 : nit change #

Patch Set 12 : added null check for support #

Total comments: 10

Patch Set 13 : nit changes #

Patch Set 14 : Refactorings for WebKit changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -1 line) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -0 lines 0 comments Download
A content/renderer/all_rendering_benchmarks.h View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download
A content/renderer/all_rendering_benchmarks.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +112 lines, -0 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +98 lines, -1 line 0 comments Download
A content/renderer/rendering_benchmark.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +40 lines, -0 lines 0 comments Download
A content/renderer/rendering_benchmark.cc View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
A content/renderer/rendering_benchmark_results.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
dmurph
Here's the javascript hook for the rendering microbenchmarks
8 years, 6 months ago (2012-06-06 20:25:43 UTC) #1
dmurph
webkit sister patch: https://bugs.webkit.org/show_bug.cgi?id=88271
8 years, 6 months ago (2012-06-06 20:30:33 UTC) #2
nduca
http://codereview.chromium.org/10537036/diff/1/chrome/renderer/benchmarking_extension.cc File chrome/renderer/benchmarking_extension.cc (right): http://codereview.chromium.org/10537036/diff/1/chrome/renderer/benchmarking_extension.cc#newcode25 chrome/renderer/benchmarking_extension.cc:25: // Benchmark results object that populates a json array ...
8 years, 6 months ago (2012-06-12 17:42:09 UTC) #3
dmurph
https://chromiumcodereview.appspot.com/10537036/diff/1/chrome/renderer/benchmarking_extension.cc File chrome/renderer/benchmarking_extension.cc (right): https://chromiumcodereview.appspot.com/10537036/diff/1/chrome/renderer/benchmarking_extension.cc#newcode25 chrome/renderer/benchmarking_extension.cc:25: // Benchmark results object that populates a json array ...
8 years, 6 months ago (2012-06-14 02:20:13 UTC) #4
nduca
ttps://chromiumcodereview.appspot.com/10537036/diff/1/skia/skia.gyp#newcode551 > skia/skia.gyp:551: '../third_party/skia/include/utils/SkNullCanvas.h', > On 2012/06/12 17:42:09, nduca wrote: > > Can you make ...
8 years, 6 months ago (2012-06-14 02:22:15 UTC) #5
dmurph
This patch moves the microbenchmarks into content/public/renderer I also added a case sensitive name filter ...
8 years, 6 months ago (2012-06-20 19:37:14 UTC) #6
nduca
Move this to the GPu benchmarking extension
8 years, 5 months ago (2012-06-25 18:37:03 UTC) #7
dmurph
On 2012/06/25 18:37:03, nduca wrote: > Move this to the GPu benchmarking extension Moved, removed ...
8 years, 5 months ago (2012-06-28 23:12:18 UTC) #8
dmurph
Renamings and git try'd
8 years, 5 months ago (2012-07-16 19:20:04 UTC) #9
nduca
http://codereview.chromium.org/10537036/diff/28002/content/public/renderer/all_rendering_benchmarks.cc File content/public/renderer/all_rendering_benchmarks.cc (right): http://codereview.chromium.org/10537036/diff/28002/content/public/renderer/all_rendering_benchmarks.cc#newcode23 content/public/renderer/all_rendering_benchmarks.cc:23: class WebCanvasFromFunctor Why not just have every benchmark implement ...
8 years, 5 months ago (2012-07-17 18:54:55 UTC) #10
nduca
http://codereview.chromium.org/10537036/diff/28002/content/public/renderer/all_rendering_benchmarks.cc File content/public/renderer/all_rendering_benchmarks.cc (right): http://codereview.chromium.org/10537036/diff/28002/content/public/renderer/all_rendering_benchmarks.cc#newcode2 content/public/renderer/all_rendering_benchmarks.cc:2: // Use of this source code is governed by ...
8 years, 5 months ago (2012-07-18 06:06:17 UTC) #11
dmurph
http://codereview.chromium.org/10537036/diff/28002/content/public/renderer/all_rendering_benchmarks.cc File content/public/renderer/all_rendering_benchmarks.cc (right): http://codereview.chromium.org/10537036/diff/28002/content/public/renderer/all_rendering_benchmarks.cc#newcode2 content/public/renderer/all_rendering_benchmarks.cc:2: // Use of this source code is governed by ...
8 years, 5 months ago (2012-07-18 16:31:40 UTC) #12
dmurph
https://chromiumcodereview.appspot.com/10537036/diff/28002/content/public/renderer/all_rendering_benchmarks.h File content/public/renderer/all_rendering_benchmarks.h (right): https://chromiumcodereview.appspot.com/10537036/diff/28002/content/public/renderer/all_rendering_benchmarks.h#newcode10 content/public/renderer/all_rendering_benchmarks.h:10: #include "base/basictypes.h" On 2012/07/18 06:06:17, nduca wrote: > why? ...
8 years, 5 months ago (2012-07-18 20:01:57 UTC) #13
nduca
Almost there! I like this. http://codereview.chromium.org/10537036/diff/32002/content/renderer/all_rendering_benchmarks.cc File content/renderer/all_rendering_benchmarks.cc (right): http://codereview.chromium.org/10537036/diff/32002/content/renderer/all_rendering_benchmarks.cc#newcode98 content/renderer/all_rendering_benchmarks.cc:98: benchmarks_.push_back(new CustomPaintBenchmark( Not sure ...
8 years, 5 months ago (2012-07-19 08:39:08 UTC) #14
dmurph
https://chromiumcodereview.appspot.com/10537036/diff/32002/content/renderer/all_rendering_benchmarks.cc File content/renderer/all_rendering_benchmarks.cc (right): https://chromiumcodereview.appspot.com/10537036/diff/32002/content/renderer/all_rendering_benchmarks.cc#newcode98 content/renderer/all_rendering_benchmarks.cc:98: benchmarks_.push_back(new CustomPaintBenchmark( On 2012/07/19 08:39:08, nduca wrote: > Not ...
8 years, 5 months ago (2012-07-20 20:20:36 UTC) #15
dmurph
8 years, 5 months ago (2012-07-20 20:23:44 UTC) #16
nduca
LGTM but nits. @piman for OWNERS and advice. https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/all_rendering_benchmarks.cc File content/renderer/all_rendering_benchmarks.cc (right): https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/all_rendering_benchmarks.cc#newcode53 content/renderer/all_rendering_benchmarks.cc:53: TimeTicks ...
8 years, 5 months ago (2012-07-20 20:30:09 UTC) #17
piman
https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/all_rendering_benchmarks.h File content/renderer/all_rendering_benchmarks.h (right): https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/all_rendering_benchmarks.h#newcode13 content/renderer/all_rendering_benchmarks.h:13: std::vector<RenderingBenchmark*> AllRenderingBenchmarks(); Should this be a ScopedVector? I don't ...
8 years, 5 months ago (2012-07-20 20:35:35 UTC) #18
dmurph
https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/all_rendering_benchmarks.cc File content/renderer/all_rendering_benchmarks.cc (right): https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/all_rendering_benchmarks.cc#newcode53 content/renderer/all_rendering_benchmarks.cc:53: TimeTicks beforeTime; On 2012/07/20 20:30:09, nduca wrote: > beforeTime_ ...
8 years, 5 months ago (2012-07-20 20:52:33 UTC) #19
dmurph
https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/gpu/gpu_benchmarking_extension.cc File content/renderer/gpu/gpu_benchmarking_extension.cc (right): https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/gpu/gpu_benchmarking_extension.cc#newcode37 content/renderer/gpu/gpu_benchmarking_extension.cc:37: explicit V8BenchmarkResults(v8::Handle<v8::Array> results_array) On 2012/07/20 20:52:33, dmurph wrote: > ...
8 years, 5 months ago (2012-07-20 21:11:41 UTC) #20
dmurph
whoops, forgot to mark as done https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/all_rendering_benchmarks.h File content/renderer/all_rendering_benchmarks.h (right): https://chromiumcodereview.appspot.com/10537036/diff/37004/content/renderer/all_rendering_benchmarks.h#newcode13 content/renderer/all_rendering_benchmarks.h:13: std::vector<RenderingBenchmark*> AllRenderingBenchmarks(); On ...
8 years, 5 months ago (2012-07-20 21:19:13 UTC) #21
piman
lgtm https://chromiumcodereview.appspot.com/10537036/diff/41002/content/renderer/all_rendering_benchmarks.h File content/renderer/all_rendering_benchmarks.h (right): https://chromiumcodereview.appspot.com/10537036/diff/41002/content/renderer/all_rendering_benchmarks.h#newcode8 content/renderer/all_rendering_benchmarks.h:8: #include <vector> nit: you don't need this anymore.
8 years, 5 months ago (2012-07-20 21:23:10 UTC) #22
dmurph
https://chromiumcodereview.appspot.com/10537036/diff/41002/content/renderer/all_rendering_benchmarks.h File content/renderer/all_rendering_benchmarks.h (right): https://chromiumcodereview.appspot.com/10537036/diff/41002/content/renderer/all_rendering_benchmarks.h#newcode8 content/renderer/all_rendering_benchmarks.h:8: #include <vector> On 2012/07/20 21:23:10, piman wrote: > nit: ...
8 years, 5 months ago (2012-07-20 21:29:48 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmurph@chromium.org/10537036/40013
8 years, 5 months ago (2012-07-23 19:07:58 UTC) #24
commit-bot: I haz the power
Presubmit check for 10537036-40013 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-23 19:08:02 UTC) #25
dmurph
8 years, 5 months ago (2012-07-23 19:13:03 UTC) #26
dmurph
Hey John, we need you for an owners lgtm for content/
8 years, 5 months ago (2012-07-23 19:14:58 UTC) #27
jam
lgtm with nits http://codereview.chromium.org/10537036/diff/40013/content/renderer/rendering_benchmark.h File content/renderer/rendering_benchmark.h (right): http://codereview.chromium.org/10537036/diff/40013/content/renderer/rendering_benchmark.h#newcode39 content/renderer/rendering_benchmark.h:39: #endif // CONTENT_RENDERER_RENDERING_BENCHMARK_H_ nit: blank line ...
8 years, 5 months ago (2012-07-23 20:45:58 UTC) #28
dmurph
Waiting for changes to the paint client interface before submitting (https://bugs.webkit.org/show_bug.cgi?id=92008) http://codereview.chromium.org/10537036/diff/40013/content/renderer/rendering_benchmark.h File content/renderer/rendering_benchmark.h (right): ...
8 years, 5 months ago (2012-07-23 23:25:23 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmurph@chromium.org/10537036/49001
8 years, 4 months ago (2012-07-30 20:02:35 UTC) #30
commit-bot: I haz the power
8 years, 4 months ago (2012-07-30 21:29:32 UTC) #31
Change committed as 149031

Powered by Google App Engine
This is Rietveld 408576698