Skip to content

Files

Latest commit

 

History

History

benchmark

Continuous benchmarking using kurobako and GitHub Actions

Benchmark scripts are built on kurobako. See Introduction to Kurobako: A Benchmark Tool for Hyperparameter Optimization Algorithms for more details.

How to run benchmark scripts

GitHub Actions continuously run the benchmark scripts and comment on your pull request. If you want to run on your local machines, please execute following after installed kurobako.

$ ./benchmark/runner.sh -h
runner.sh is an entrypoint to run benchmarkers.

Usage:
    $ runner.sh <problem> <json-path>

Problem:
    rosenbrock     : https://www.sfu.ca/~ssurjano/rosen.html
    six-hump-camel : https://www.sfu.ca/~ssurjano/camel6.html
    himmelblau     : https://en.wikipedia.org/wiki/Himmelblau%27s_function
    ackley         : https://www.sfu.ca/~ssurjano/ackley.html
    rastrigin      : https://www.sfu.ca/~ssurjano/rastr.html

Options:
    --help, -h         print this

Example:
    $ runner.sh rosenbrock ./tmp/kurobako.json
    $ cat ./tmp/kurobako.json | kurobako plot curve --errorbar -o ./tmp

$ ./benchmark/runner.sh rosenbrock ./tmp/kurobako.json
$ cat ./tmp/kurobako.json | kurobako plot curve --errorbar -o ./tmp

kurobako plot curve requires gnuplot. If you want to run on Docker container, please execute following:

$ docker pull sile/kurobako
$ ./benchmark/runner.sh rosenbrock ./tmp/kurobako.json
$ cat ./tmp/kurobako.json | docker run -v $PWD/tmp/images/:/images/ --rm -i sile/kurobako plot curve