The docs/2018_TTC_Live.pdf
file contains the case description.
- 64-bit operating system
- Python 3.3 or higher
- R
The graph models are stored in the models
directory. For sizes larger than 512, the files are zipped so make sure you unzip the required sizes first. For example, run:
cd models
unzip 1024.zip
cd ..
- AOF, ATL: Requires Java 8 for build (can run with Java 11).
- Hawk: Requires Java (both 8 and 11 have tested and work).
- JastAdd: Requires Java 8 for running (already built).
- Naiad: Requires .NET Framework 4.5.1 (only works on Windows).
- NMF: You need to install .NET Core 3.1
- SQL: Requires PostgreSQL 11 or later.
- YAMTL: Requires Java 11 for running (already built).
- Differential: Requires Rust and Cargo.
Add your prerequisites here!
The scripts
directory contains the run.py
script.
At a first glance, invoke it without any arguments so that the solution will be built, benchmarked, running times visualized and the results compared to the reference solution's.
One might fine tune the script for the following purposes:
run.py -b
-- builds the projectsrun.py -b -s
-- builds the projects without testingrun.py -m
-- run the benchmark without buildingrun.py -v
-- visualizes the results of the latest benchmarkrun.py -c
-- check results by comparing them to the reference output. The benchmark shall already been executed using-m
.run.py -t
-- build the project and run tests (usually unit tests as defined for the given solution)run.py -d
-- runs the process in debug mode, i.e. with theDebug
environment variable set totrue
The config
directory contains the configuration for the scripts:
config.json
-- configuration for the model generation and the benchmark- Note: the timeout as set in the benchmark configuration (default: 6000 seconds) applies to the gross cumulative runtime of the tool for a given changeset and update sequences. This also includes e.g. Initialization time which is not required by the benchmark framework to be measured.
Timeout is only applied to the solutions' run phase (see
-m
forrun.py
), so it is not applied to e.g. the build phase (see-b
forrun.py
).
- Note: the timeout as set in the benchmark configuration (default: 6000 seconds) applies to the gross cumulative runtime of the tool for a given changeset and update sequences. This also includes e.g. Initialization time which is not required by the benchmark framework to be measured.
Timeout is only applied to the solutions' run phase (see
reporting.json
-- configuration for the visualization
By default, Java tools run with a heap size - both minimum (Xms
) and maximum (Xmx
) - of 6GB.
This can be replaced with the following script (using ag
).
ag Xms6G -l | xargs sed -i 's/Xms6G/Xms200G/g'
ag Xmx6G -l | xargs sed -i 's/Xmx6G/Xmx200G/g'
The script runs the benchmark for the given number of runs, for the specified tools and change sequences.
The benchmark results are stored in a CSV file. The header for the CSV file is stored in the output/header.csv
file.
Make sure you read the README.md
file in the reporting
directory and install all the requirements for R.
To implement a tool, you need to create a new directory in the solutions directory and give it a suitable name.