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

Side by Side Diff: bin/c

Issue 703713002: Add nanobench stats scripts to Skia repo. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: ac Created 6 years, 1 month 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 | « bin/ac ('k') | bin/compare » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 set -e
4
5 BRANCH=$(git branch | grep \* | cut -d" " -f 2)
6 CLEAN=${CLEAN-clean}
7 SAMPLES=100
8
9 if [ $BRANCH == $CLEAN ]; then
10 echo "Comparing $BRANCH to itself."
11 exit 1
12 fi
13
14 git checkout $CLEAN
15 ./gyp_skia >/dev/null
16 ninja -C out/Release nanobench
17 out/Release/nanobench $@ --samples $SAMPLES -v 2> $CLEAN.log
18
19 git checkout $BRANCH
20 ./gyp_skia >/dev/null
21 ninja -C out/Release nanobench
22 out/Release/nanobench $@ --samples $SAMPLES -v 2> $BRANCH.log
23
24 compare $CLEAN.log $BRANCH.log
OLDNEW
« no previous file with comments | « bin/ac ('k') | bin/compare » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698