Instrumentation for automating benchmarks using benchexec in Docker.
- Start by cloning this repository
- Install
git-lfs
on your machine to access the model data- On MacOS, install Homebrew and run
brew install git-lfs
- On MacOS, install Homebrew and run
Once git-lfs
is installed, run:
$ git lfs install
$ git lfs fetch --all
$ export REPO_DIR=$(pwd)
$ MSYS_NO_PATHCONV=1 docker-compose build benchmark
$ MSYS_NO_PATHCONV=1 docker-compose run --rm benchmark
- Build the docker image locally:
$ MSYS_NO_PATHCONV=1 docker build -t ft-bench:benchexec .
- Spin up a container using the built image, optionally mounting the current directory to the
container internal folder
/mnt
:
$ MSYS_NO_PATHCONV=1 docker run --rm -it -v $(pwd):/mnt ft-bench:benchexec
TODO:
- Document steps to run the benchexec script on bare-metal.
- SCRAM:
benchexec tasks/scram.xml --read-only-dir /
- SAPHSOLVE:
benchexec tasks/saphsolve.xml --read-only-dir /
- XFTA:
benchexec tasks/xfta/xfta.xml --read-only-dir /
- FTREX:
benchexec scripts/ftrex/ftrex.xml --read-only-dir /