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

Issue 8052016: Adding support for animated pages in the FrameRate tests (Closed)

Created:
9 years, 2 months ago by Justin Novosad
Modified:
9 years, 2 months ago
Reviewers:
nduca
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Adding support for animated pages in the FrameRate tests BUG=98273 TEST=none REVIEW=http://codereview.chromium.org/8052016/ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106967

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Total comments: 7

Patch Set 3 : '' #

Total comments: 3

Patch Set 4 : '' #

Total comments: 8

Patch Set 5 : '' #

Total comments: 3

Patch Set 6 : '' #

Total comments: 1

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 6

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -54 lines) Patch
M chrome/test/data/perf/frame_rate/head.js View 1 2 3 4 5 6 7 8 9 chunks +64 lines, -17 lines 0 comments Download
A chrome/test/data/perf/frame_rate/head_animation.js View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
M chrome/test/perf/frame_rate/frame_rate_tests.cc View 1 2 3 4 5 6 7 8 5 chunks +99 lines, -37 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Justin Novosad
PTAL http://codereview.chromium.org/8052016/diff/1/chrome/test/data/perf/frame_rate/head.js File chrome/test/data/perf/frame_rate/head.js (right): http://codereview.chromium.org/8052016/diff/1/chrome/test/data/perf/frame_rate/head.js#newcode168 chrome/test/data/perf/frame_rate/head.js:168: {"time_ms":5, "y":10} factored this out of __gestures so ...
9 years, 2 months ago (2011-09-27 19:56:13 UTC) #1
nduca
http://codereview.chromium.org/8052016/diff/3001/chrome/test/data/perf/frame_rate/head.js File chrome/test/data/perf/frame_rate/head.js (right): http://codereview.chromium.org/8052016/diff/3001/chrome/test/data/perf/frame_rate/head.js#newcode209 chrome/test/data/perf/frame_rate/head.js:209: if ("requestAnimationFrame" in window) Nice! http://codereview.chromium.org/8052016/diff/3001/chrome/test/data/perf/frame_rate/head.js#newcode234 chrome/test/data/perf/frame_rate/head.js:234: __init_raf(true); Init ...
9 years, 2 months ago (2011-10-10 23:11:19 UTC) #2
nduca
> chrome/test/data/perf/frame_rate/head.js:478: __start("init"); > Not that this is your fault, but since we're here, do ...
9 years, 2 months ago (2011-10-10 23:13:40 UTC) #3
Justin Novosad
On 2011/10/10 23:11:19, nduca wrote: > chrome/test/data/perf/frame_rate/head.js:335: var use_raf = true; > Did you consider ...
9 years, 2 months ago (2011-10-11 18:43:14 UTC) #4
Justin Novosad
http://codereview.chromium.org/8052016/diff/8001/chrome/test/perf/frame_rate/frame_rate_tests.cc File chrome/test/perf/frame_rate/frame_rate_tests.cc (right): http://codereview.chromium.org/8052016/diff/8001/chrome/test/perf/frame_rate/frame_rate_tests.cc#newcode28 chrome/test/perf/frame_rate/frame_rate_tests.cc:28: template<unsigned TestFlags> I chose to use a template arg ...
9 years, 2 months ago (2011-10-13 22:04:55 UTC) #5
nduca
http://codereview.chromium.org/8052016/diff/12001/chrome/test/data/perf/frame_rate/head.js File chrome/test/data/perf/frame_rate/head.js (left): http://codereview.chromium.org/8052016/diff/12001/chrome/test/data/perf/frame_rate/head.js#oldcode397 chrome/test/data/perf/frame_rate/head.js:397: } Did we file a bug to move the ...
9 years, 2 months ago (2011-10-14 21:01:46 UTC) #6
nduca
Also, in light of the fact that I've been raking you over the coals about ...
9 years, 2 months ago (2011-10-17 16:32:20 UTC) #7
nduca
http://codereview.chromium.org/8052016/diff/17001/chrome/test/perf/frame_rate/frame_rate_tests.cc File chrome/test/perf/frame_rate/frame_rate_tests.cc (right): http://codereview.chromium.org/8052016/diff/17001/chrome/test/perf/frame_rate/frame_rate_tests.cc#newcode27 chrome/test/perf/frame_rate/frame_rate_tests.cc:27: kReference = 1 << 3, kUseReferenceBuild http://codereview.chromium.org/8052016/diff/17001/chrome/test/perf/frame_rate/frame_rate_tests.cc#newcode31 chrome/test/perf/frame_rate/frame_rate_tests.cc:31: class ...
9 years, 2 months ago (2011-10-19 19:25:48 UTC) #8
Justin Novosad
On 2011/10/19 19:25:48, nduca wrote: > Would this be cleaner with FrameRateTestVariant having a bunch ...
9 years, 2 months ago (2011-10-19 19:33:25 UTC) #9
nduca
Yeah, fair point. Your call, from my point of view. The big bit was the ...
9 years, 2 months ago (2011-10-19 19:40:00 UTC) #10
Justin Novosad
http://codereview.chromium.org/8052016/diff/20001/chrome/test/perf/frame_rate/frame_rate_tests.cc File chrome/test/perf/frame_rate/frame_rate_tests.cc (right): http://codereview.chromium.org/8052016/diff/20001/chrome/test/perf/frame_rate/frame_rate_tests.cc#newcode62 chrome/test/perf/frame_rate/frame_rate_tests.cc:62: std::string ParamTestNameSuffix(FrameRateTestVariant param, int) { I know this unused ...
9 years, 2 months ago (2011-10-19 19:53:41 UTC) #11
Justin Novosad
Never mind comment #11. I reverted that bit in the latest Patch Set.
9 years, 2 months ago (2011-10-20 19:24:37 UTC) #12
nduca
LGTM with nits and a crbug.com request. http://codereview.chromium.org/8052016/diff/23001/chrome/test/perf/frame_rate/frame_rate_tests.cc File chrome/test/perf/frame_rate/frame_rate_tests.cc (right): http://codereview.chromium.org/8052016/diff/23001/chrome/test/perf/frame_rate/frame_rate_tests.cc#newcode39 chrome/test/perf/frame_rate/frame_rate_tests.cc:39: void PrintTo(const ...
9 years, 2 months ago (2011-10-20 20:09:27 UTC) #13
Justin Novosad
On 2011/10/20 20:09:27, nduca wrote: > Can we parameterize tests on the enum directly? NBD ...
9 years, 2 months ago (2011-10-20 21:51:45 UTC) #14
nduca
9 years, 2 months ago (2011-10-20 21:55:01 UTC) #15
> The problem is with how the gtest macros are designed. If I use the same test
> class name then the test instances in the INTANTIATE_TEST_CASE_P call will get
> merged together and applied to all test pages, which is not what we want. We
> will have to use a new class name ever ytime we want to use a new set of test
> variants.

I get it. I was just saying, never use the base type? E.g. for the FrameRateTest
that gets used for the compositing tests we make something like
FrameRateCompositingTest

Powered by Google App Engine
This is Rietveld 408576698