Created
October 25, 2012 12:25
-
-
Save LionsAd/3952295 to your computer and use it in GitHub Desktop.
Benchmark vs. Baseline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| base='' | |
| branch=master | |
| [ -n "$1" ] && branch=$1 | |
| shift | |
| basedir=$(dirname $0) | |
| run_data=$($basedir/benchmark-branch.sh "$branch") | |
| new_run=$(echo $run_data | cut -d'|' -f3) | |
| while [ $# -gt 0 ] | |
| do | |
| base_run=$1 | |
| base_branch=$2 | |
| shift | |
| shift | |
| php xhprof-check.php "$base_run" "$new_run" "$base_branch..$branch" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment