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

Unified Diff: run_a_bunch.sh

Issue 1393233002: Mac Energy Test Harness/Framework Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Snapshot of scripts for http://crbug.com/391646 Created 5 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 | « makeplots.sh ('k') | ui/views/cocoa/bridged_content_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: run_a_bunch.sh
diff --git a/run_a_bunch.sh b/run_a_bunch.sh
new file mode 100755
index 0000000000000000000000000000000000000000..9fed3b99c1a1fc29f0cc465036c7316a5f73cf96
--- /dev/null
+++ b/run_a_bunch.sh
@@ -0,0 +1,21 @@
+#!/bin/bash -x
+
+# Try to alternate views/cocoa as much as posible.
+
+TESTS="SingleThrobber Idle FlashingCursor"
+TESTS="SingleThrobber"
+PREFIX="../traces/"
+#SUFFIXES="views cocoa"
+SUFFIXES="views slowtab"
+ITERATIONS=33
+
+for iteration in `seq $ITERATIONS` ; do
+ for test in $TESTS ; do
+ for suffix in $SUFFIXES ; do
+ ./out/Release/ui_perf_tests.${suffix} --single_process --trace-to-file-name="${PREFIX}${suffix}.txt" --gtest_filter="EnergyTest.${test}"
+ for sample in ${PREFIX}*-{idle,cursor,throbber}.txt ; do
+ mv "${sample}" "${sample/%.txt/-${iteration}.txt}"
+ done
+ done
+ done
+done
« no previous file with comments | « makeplots.sh ('k') | ui/views/cocoa/bridged_content_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698