Created
October 12, 2016 22:00
-
-
Save mambocab/918850a53e4ad348c250c412ec8a07b7 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env sh | |
set -x | |
set -e | |
for branch in instrument-master instrument-asyncore-coalescing ; do | |
virtualenv $branch | |
git checkout $branch | |
set +x | |
. ./$branch/bin/activate | |
set -x | |
pip install -r ./requirements.txt | |
pip install -r ./test-requirements.txt | |
pip install . | |
ccm create ${branch}-benchmark -n 1 -v git:trunk ; ccm start --wait-for-binary-proto | |
for i in `seq 4` ; do | |
python ./benchmarks/future_demo_coalescing.py --asyncore-only --num-ops 500000 | |
done | |
deactivate | |
rm -r $branch | |
ccm remove | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment