High-level mercurial performance testing
Setup with Docker
With docker, you only need to launch this command to get the results: docker-compose up --build
The runner will start, test a bunch of commits and you will see results at http://localhost:8080
Setup manually
You can follow the Dockerfile content which is basically:
- Install the dependencies with
pip install -r requirements.txt
- Prepare the repos, asv specifics file and launch the workers with:
./launch.sh
- Get the webserver running for showing the results with:
asv preview
For pull/push benchmark with ssh you have to setup a ssh-key without passphrase (or rely on ssh-agent).
mkdir ~/.ssh
ssh-keygen -P '' -f ~/.ssh/bighgperf
cat ~/.ssh/bighgperf.pub >> ~/.ssh/authorized_keys
ssh-keyscan -H localhost >> ~/.ssh/known_hosts