[asv] Pushing to s3 (#2246)

This commit is contained in:
Richard Liaw
2018-06-20 10:43:44 -07:00
committed by GitHub
parent 30f7c08ca7
commit 418cd6804a
3 changed files with 36 additions and 5 deletions
+20 -1
View File
@@ -7,4 +7,23 @@ You can run the benchmark suite by doing the following:
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'`
``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.
+2 -2
View File
@@ -11,7 +11,7 @@
// The URL or local path of the source code repository for the
// project being benchmarked
"repo": ".",
"repo": "../",
// List of branches to benchmark. If not provided, defaults to "master"
// (for git) or "default" (for mercurial).
@@ -101,7 +101,7 @@
// The directory (relative to the current directory) that raw benchmark
// results are stored in. If not provided, defaults to "results".
// "results_dir": "results",
"results_dir": "ASV_RESULTS",
// The directory (relative to the current directory) that the html tree
// should be written to. If not provided, defaults to "html".