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); |
} |