Skip to content
Snippets Groups Projects
README 1.2 KiB
Newer Older
Run the pypy benchmark suite.

On the benchmarker machine, this is run via a buildbot in a xenial
chroot with pypy2.7-v7.3.17:
# Create a chroot env
sudo debootstrap --variant=buildd xenial /opt/xenial64
sudo mount -t proc /proc /opt/xenial64/proc
sudo mount --rbind /sys /opt/xenial64/sys
sudo mount --rbind /dev /opt/xenial64/dev
# Enter the env
LANG=C sudo chroot /opt/xenial64
# Set it up
adduser buildslave
sudo buildslave
wget --no-check-certificate https://downloads.python.org/pypy/pypy2.7-v7.3.17-linux64.tar.bz2
tar -xf pypy2.7*.tar.bz2
~/pypy2.7-v7.3.17-linux64/bin/pypy -m pip install --no-build-isolation pytest hypothesis==4.42 cffi mercurial==6.1 virtualenv pexpect automat==20.2 incremental==21.3.0
# Twisted has no wheel, to build it we need the dependencies above
~/pypy2.7-v7.3.17-linux64/bin/pypy -mpip install --no-build-isolation buildbot-slave
mkdir ~/build_dir
~/pypy2.7-v7.3.17-linux64/bin/buildslave create-slave /build_dir buildbot.pypy.org:10407 $SLAVENAME $PASSWORD
~/pypy2.7-v7.3.17-linux64/bin/buildslave start
```

To rerun CPython3.7 benchmarks:

command run: "python3.7 run_local.py python3.7 --output-filename result.json"
uploaded with "python savecpython.py result.json -b --revision 110"