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

Side by Side Diff: chrome/test/page_cycler/page_cycler_test.cc

Issue 3915004: Convert LOG(INFO) to VLOG(1) - chrome/test/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 } 141 }
142 if (should_skip) 142 if (should_skip)
143 continue; 143 continue;
144 144
145 // Read the file fully to get it into the cache. 145 // Read the file fully to get it into the cache.
146 // We don't care what the contents are. 146 // We don't care what the contents are.
147 if (file_util::ReadFileToString(path, NULL)) 147 if (file_util::ReadFileToString(path, NULL))
148 ++loaded; 148 ++loaded;
149 } 149 }
150 } 150 }
151 LOG(INFO) << "Buffer cache should be primed with " << loaded << " files."; 151 VLOG(1) << "Buffer cache should be primed with " << loaded << " files.";
152 } 152 }
153 153
154 class PageCyclerTest : public UIPerfTest { 154 class PageCyclerTest : public UIPerfTest {
155 protected: 155 protected:
156 bool print_times_only_; 156 bool print_times_only_;
157 int num_test_iterations_; 157 int num_test_iterations_;
158 #if defined(OS_MACOSX) 158 #if defined(OS_MACOSX)
159 rlim_t fd_limit_; 159 rlim_t fd_limit_;
160 #endif 160 #endif
161 public: 161 public:
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 InsertTransactions); 503 InsertTransactions);
504 PAGE_CYCLER_DATABASE_TESTS("update-transactions", 504 PAGE_CYCLER_DATABASE_TESTS("update-transactions",
505 UpdateTransactions); 505 UpdateTransactions);
506 PAGE_CYCLER_DATABASE_TESTS("delete-transactions", 506 PAGE_CYCLER_DATABASE_TESTS("delete-transactions",
507 DeleteTransactions); 507 DeleteTransactions);
508 PAGE_CYCLER_DATABASE_TESTS("pseudo-random-transactions", 508 PAGE_CYCLER_DATABASE_TESTS("pseudo-random-transactions",
509 PseudoRandomTransactions); 509 PseudoRandomTransactions);
510 #endif 510 #endif
511 511
512 } // namespace 512 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/mini_installer_test/mini_installer_test_util.cc ('k') | chrome/test/plugin/plugin_test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698