Skip to content

Instantly share code, notes, and snippets.

@ipmb
Last active September 2, 2015 20:22
Show Gist options
  • Save ipmb/e9435c8f2a9007e42710 to your computer and use it in GitHub Desktop.
Save ipmb/e9435c8f2a9007e42710 to your computer and use it in GitHub Desktop.
#!/bin/bash
PYPYVENV="~/db-pypy"
CPYVENV="~/db-cpy"
virtualenv --python=`which pypy` $PYPYVENV
virtualenv $CPYVENV
$PYPYVENV/bin/pip install -e git://github.com/django/djangobench.git#egg=djangobench
$CPYVENV/bin/pip install -e git://github.com/django/djangobench.git#egg=djangobench
git clone git://github.com/django/django.git
cd django
git checkout 1.8.4
$CPYVENV/bin/djangobench --vcs=none -t 2000 --control=. --experiment=. --control-python=$CPYVENV/bin/python --experiment-python=$PYPYVENV/bin/pypy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment