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

Unified Diff: chrome/test/perf/frame_rate/frame_rate_tests.cc

Issue 8536008: Use only the steady gesture in frame rate tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/perf/frame_rate/frame_rate_tests.cc
diff --git a/chrome/test/perf/frame_rate/frame_rate_tests.cc b/chrome/test/perf/frame_rate/frame_rate_tests.cc
index f44c0020ba5fe160a4e66f482d36c59f86003185..4f109208d56e561d623f93062ea702f635543e7d 100644
--- a/chrome/test/perf/frame_rate/frame_rate_tests.cc
+++ b/chrome/test/perf/frame_rate/frame_rate_tests.cc
@@ -84,6 +84,9 @@ class FrameRateTest
if (HasFlag(kUseReferenceBuild))
UseReferenceBuild();
+ // Turn on chrome.Interval to get higher-resolution timestamps on frames.
+ launch_arguments_.AppendSwitch(switches::kEnableBenchmarking);
+
// UI tests boot up render views starting from about:blank. This causes
// the renderer to start up thinking it cannot use the GPU. To work
// around that, and allow the frame rate test to use the GPU, we must
« chrome/test/data/perf/frame_rate/head.js ('K') | « chrome/test/data/perf/frame_rate/head.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698