After setting up the project, you can launch benchmarks. Commands to launch have the following pattern:
cd setbench/microbench
LD_PRELOAD=../lib/libjemalloc.so ./bin/<data_structure_name>.debra <bench_args>Example:
LD_PRELOAD=../lib/libjemalloc.so ./bin/aksenov_splaylist_64.debra -json-file json_example.txt -result-file result_example.txt -json-file <file_name>— file with launch options in the json format (BenchParameters, example)-result-file <file_name>— file to output the results in the json format (optional)
If something breaks after the launch, or there is such a problem:
PAPI ERROR: thread 0 unable to add event PAPI_L2_DCM: Permission level does not permit operationthen the following can help:
sudo sysctl kernel.perf_event_paranoid=1