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

Unified Diff: chrome/test/base/browser_perf_tests_main.cc

Issue 47023009: GTTF: always run perf tests serially (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/browser_perf_tests_main.cc
diff --git a/chrome/test/base/browser_tests_main.cc b/chrome/test/base/browser_perf_tests_main.cc
similarity index 59%
copy from chrome/test/base/browser_tests_main.cc
copy to chrome/test/base/browser_perf_tests_main.cc
index cb2accea5bd21abf25ecf2bda087e9228421f46c..e9aafbf7b368c8572f9befeef2965168a46432c6 100644
--- a/chrome/test/base/browser_tests_main.cc
+++ b/chrome/test/base/browser_perf_tests_main.cc
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/sys_info.h"
#include "chrome/test/base/chrome_test_launcher.h"
int main(int argc, char** argv) {
- int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
- return LaunchChromeTests(default_jobs, argc, argv);
+ // Always run browser perf tests serially - parallel running would be less
+ // deterministic and distort perf measurements.
+ return LaunchChromeTests(1, argc, argv);
}
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698