Skip to content

d702e20/benchmark-model-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bench-solver

Ad-hoc runtime benchmarking tool supporting model-checkers CGAAL and PRISM-games. Benchmark results for paper(pending publication) are found at results-model-checker.

Setup

  1. Install model-checkers as described by their instructions.
  2. For CGAAL, we use Rust 1.69.0 (MSRV is 1.65.0) and compile from 64624f6 with cargo build --release.
  3. For PRISM-games we compile from the 6dcd804 to include a required bugfix from the authors and follow the PRISM-games installation guide for compiling from source with PPL.
  4. Make a python3 virtual environment python3 -m venv venv and install requirements pip3 install -rrequirements.txt. Lastly source it source venv/bin/activate.
  5. Change variables in benchmark-suite.py such as which SUITE or SEARCH_STRATEGY to suit your needs.
  6. Run benchmarks by python3 benchmark-suite.py which will show the currently running benchmark, and will emit intermediate results when each test completes.
  7. When suite has been benchmarked, find resulting CSV by the following format results/$suitename-$search-strategy-$timestamp.csv.

Suites

The suites (set of tests the benchmark will run) are defined by a CSV file found in suites/ with the columns name,model,formula. Multiple suites exist for our purposes due to some benchmarks taking days to complete. The full benchmark suite for both model-checkers can be found in suites/cgaal-full.csv and suites/prism-full.csv, respectively.

Limitations

  • Measurement of memory by way of using ru_maxrss in previous tests are flawed and may be ignored. Would be nice to include this, although results upper bound on memory usage exists.
  • Very quick benchmarks (<100ms), may have noise in results. Preferably each test should be run for a minimum of some time, and the average of the completed runs be used as results.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages