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

Unified Diff: gpu/perftests/run_all_tests.cc

Issue 962863002: Add gpu_perftests to perfbots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a comment on the tests run serially. Rebase on master. Created 5 years, 10 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 | « build/all.gyp ('k') | testing/buildbot/chromium.perf.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/perftests/run_all_tests.cc
diff --git a/gpu/perftests/run_all_tests.cc b/gpu/perftests/run_all_tests.cc
index ed0df882f742d085b18999e96af5ee50ea3a95bc..60a6b03af219f66f4640940664a25f9ae88ca98e 100644
--- a/gpu/perftests/run_all_tests.cc
+++ b/gpu/perftests/run_all_tests.cc
@@ -9,7 +9,10 @@
int main(int argc, char** argv) {
base::TestSuite test_suite(argc, argv);
+ // Always run the perf tests serially, to avoid distorting
+ // perf measurements with randomness resulting from running
+ // in parallel.
const auto& run_test_suite =
base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite));
- return base::LaunchUnitTests(argc, argv, run_test_suite);
+ return base::LaunchUnitTestsSerially(argc, argv, run_test_suite);
}
« no previous file with comments | « build/all.gyp ('k') | testing/buildbot/chromium.perf.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698