The CAF benchmark suite consits of a set of microbenchmarks implemented for various platforms and shell scripts to generate the results. Please note that the shell scripts are only tested under Linux.
You may run all benchmarks as root using script/caf_run_benchmarks.
Implementations of all benchmark programs can be found under src/$PLATOFRM. Utility scripts required to run the benchmark suite can be found in scripts. Note that some scripts are generated from src/scripts and are only available after the CMake setup.
scripts/activate_coresactivates a given number of CPU coresscript/runstarts a single benchmark programscript/caf_run_benchmarksruns the benchmark suite
The benchmark suite also contains two C++ tool applications.
tools/caf_run_bench.cppmeasure runtime and memory consumption for a single benchmark programtools/to_dat.cppconverts the raw output fromcaf_run_benchinto CSV files that can be plottet
Add implementations for a new platform to src/$PLATOFRM, add the building steps to CMake, and adjust run by adding a section under case "$impl" ... for your benchmarks.