If you are running the benchmark on a server, use tmux
or screen
so that you will not lose the terminal session if you disconnect from the server.
./gradlew clean shadowjar
Edit the trainbenchmark-scripts/GeneratorScripts.groovy
file. The most important settings are.
- The
ec
execution configuration defining the minimum and the maximum heap memory. - The
minSize
andmaxSize
of the models. Models are generated between these two extremes, with each model twice as large as the previous one. - The
scenarios
which you'd generate models for. - The
formats
which you'd like to generate.
If you set the GeneratorScript
, run the following command.
./gradlew generate
Edit the trainbenchmark-scripts/BenchmarkScript.groovy
file. The most important settings are:
- The
minSize
andmaxSize
of the models for benchmarking.
./gradlew benchmark
Install the required R packages (scripts/install-R-packages.sh
).
./gradlew plot
You can run a web page by issuing the following command.
./gradlew page
To run the whole workflow with a single command.
./gradlew clean shadowjar generate benchmark plot page