summaryrefslogtreecommitdiffstats
path: root/chrome/test/page_cycler
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 01:54:22 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 01:54:22 +0000
commit45a50a9165965ed284bb49559bb27fa4b31e56fd (patch)
tree1bb8d7741e12c4f467a5472a69be599bf124b1be /chrome/test/page_cycler
parent75e0513eb4adf3b2f12923eff4898c4f0eadcb53 (diff)
downloadchromium_src-45a50a9165965ed284bb49559bb27fa4b31e56fd.zip
chromium_src-45a50a9165965ed284bb49559bb27fa4b31e56fd.tar.gz
chromium_src-45a50a9165965ed284bb49559bb27fa4b31e56fd.tar.bz2
Initial version of a chrome memory test. This is not yet done; as it still
causes intermittent chrome crashes. But, checking in an intermediate step so that others can play with it too. Basic concept is to have a pre-loaded replay cache with interesting data. This test then drives chrome through automation, simulating a sequence of pages in each tab in a way that a user might also do so; this allows us to get per-tab caching of data similar to what the user would see. Includes a logged in gmail session, a few pages that exercise some javascript, several languages, and pages from many mainstream sites. Lots more can be done with this test going forward; for now the goal is to just measure and track memory. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@361 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/page_cycler')
-rw-r--r--chrome/test/page_cycler/page_cycler_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/page_cycler/page_cycler_test.cc b/chrome/test/page_cycler/page_cycler_test.cc
index b9a77bd..39b10b5 100644
--- a/chrome/test/page_cycler/page_cycler_test.cc
+++ b/chrome/test/page_cycler/page_cycler_test.cc
@@ -115,7 +115,7 @@ class PageCyclerTest : public UITest {
void PrintIOPerfInfo(const wchar_t* test_name) {
printf("\n");
- BrowserProcessFilter chrome_filter;
+ BrowserProcessFilter chrome_filter(L"");
process_util::NamedProcessIterator
chrome_process_itr(chrome::kBrowserProcessExecutableName,
&chrome_filter);
@@ -162,7 +162,7 @@ class PageCyclerTest : public UITest {
void PrintMemoryUsageInfo(const wchar_t* test_name) {
printf("\n");
- BrowserProcessFilter chrome_filter;
+ BrowserProcessFilter chrome_filter(L"");
process_util::NamedProcessIterator
chrome_process_itr(chrome::kBrowserProcessExecutableName,
&chrome_filter);