summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/ui_perf_test.h
diff options
context:
space:
mode:
authorukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 07:14:38 +0000
committerukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 07:14:38 +0000
commit2e10cc2992953e0374aef83dd09299ee8c3827cc (patch)
tree91e666d5ccae70fc78680b047b785175979ae09d /chrome/test/ui/ui_perf_test.h
parent6523eb5cc93fadcad7bb9c0ce4f6327392a6fc43 (diff)
downloadchromium_src-2e10cc2992953e0374aef83dd09299ee8c3827cc.zip
chromium_src-2e10cc2992953e0374aef83dd09299ee8c3827cc.tar.gz
chromium_src-2e10cc2992953e0374aef83dd09299ee8c3827cc.tar.bz2
Revert 86577 - Revert 86572 - Revert 86568 - Add initial framework for performance tests that measure frame rate.
Add the "blank page" test, which just scrolls a page with a very large body. The actual frame rate measurement is based on the webkitRequestAnimationFrame callback. The framework records how frequently that API generates a callback. If it generates a callback at 60 FPS, then we know nothing is slowing us down. This of course assumes that webkitRequestAnimationFrame is well implemented. The advantage of this test framework over one that directly reads a framerate from Chromium is that this one works outside of the test harness. You can just navigate your browser to the test file and run the test manually. R=brettw,nduca Review URL: http://codereview.chromium.org/7038052 TBR=darin@chromium.org Review URL: http://codereview.chromium.org/7068005 Review URL: http://codereview.chromium.org/7031043 TBR=ukai@chromium.org Review URL: http://codereview.chromium.org/7008008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_perf_test.h')
-rw-r--r--chrome/test/ui/ui_perf_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/ui/ui_perf_test.h b/chrome/test/ui/ui_perf_test.h
index 8546dbe..cfc18df 100644
--- a/chrome/test/ui/ui_perf_test.h
+++ b/chrome/test/ui/ui_perf_test.h
@@ -45,7 +45,7 @@ class UIPerfTest : public UITest {
bool important);
// Like PrintResult(), but prints a (mean, standard deviation) result pair.
- // The |<values>| should be two comma-separated numbers, the mean and
+ // The |<values>| should be two comma-seaprated numbers, the mean and
// standard deviation (or other error metric) of the measurement.
void PrintResultMeanAndError(const std::string& measurement,
const std::string& modifier,