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

Side by Side Diff: bin/ac

Issue 874643002: run clean branch baseline only once (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | bin/c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 set -e 3 set -e
4 4
5 BRANCH=$(git branch | grep \* | cut -d" " -f 2) 5 BRANCH=$(git branch | grep \* | cut -d" " -f 2)
6 CLEAN=${CLEAN-clean} 6 CLEAN=${CLEAN-clean}
7 SAMPLES=100 7 SAMPLES=100
8 8
9 if [ $BRANCH == $CLEAN ]; then 9 if [ $BRANCH == $CLEAN ]; then
10 echo "Comparing $BRANCH to itself." 10 echo "Comparing $BRANCH to itself."
11 exit 1 11 exit 1
12 fi 12 fi
13 13
14 git checkout $CLEAN 14 if [ ! -f $CLEAN.log ]; then
15 ./gyp_skia >/dev/null 15 git checkout $CLEAN
16 platform_tools/android/bin/android_ninja -t Release nanobench 16 ./gyp_skia >/dev/null
17 platform_tools/android/bin/android_run_skia -t Release nanobench $@ --skps /data /local/tmp/skps -i /data/local/tmp/resources --samples $SAMPLES -v > $CLEAN.log 17 platform_tools/android/bin/android_ninja -t Release nanobench
18 platform_tools/android/bin/android_run_skia -t Release nanobench $@ --skps / data/local/tmp/skps -i /data/local/tmp/resources --samples $SAMPLES -v > $CLEAN. log
19 fi
18 20
19 git checkout $BRANCH 21 git checkout $BRANCH
20 ./gyp_skia >/dev/null 22 ./gyp_skia >/dev/null
21 platform_tools/android/bin/android_ninja -t Release nanobench 23 platform_tools/android/bin/android_ninja -t Release nanobench
22 platform_tools/android/bin/android_run_skia -t Release nanobench $@ --skps /data /local/tmp/skps -i /data/local/tmp/resources --samples $SAMPLES -v > $BRANCH.log 24 platform_tools/android/bin/android_run_skia -t Release nanobench $@ --skps /data /local/tmp/skps -i /data/local/tmp/resources --samples $SAMPLES -v > $BRANCH.log
23 25
24 compare $CLEAN.log $BRANCH.log 26 compare $CLEAN.log $BRANCH.log
OLDNEW
« no previous file with comments | « no previous file | bin/c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698