ray/python/README-benchmarks.rst
2018-06-20 10:43:44 -07:00

29 lines
745 B
ReStructuredText

Running the benchmarks
======================
You can run the benchmark suite by doing the following:
1. Install https://github.com/ray-project/asv: ``cd asv; pip install -e .``
2. Run ``asv dev`` in this directory.
To run ASV inside docker, you can use the following command:
``docker run --rm --shm-size=10G --memory=10G $DOCKER_SHA bash -c '/ray/test/jenkins_tests/run_asv.sh'``
Visualizing Benchmarks
======================
To visualize benchmarks, you must copy the S3 bucket down to `$RAY_DIR/python`. Assuming asv is installed,
.. code-block::
cd $RAY_DIR/python
aws s3 sync s3://$BUCKET/ASV/ .
Then, you can run:
.. code-block::
asv publish --no-pull
asv preview
This creates the directory and then launches a server.