Execute a battery of benchmarks for PyCTBN 🐍📊⏱️
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
pyctbn-benchmarks/README.md

879 B

pyCTBN - Benchmarks

This benchmark is tailored to work with the "modernized" and polished version of pyCTBN.

Preparation

To clone with all submodules:

git clone --recursive git@git-service.tld:user/repo.git

If you cloned without --recursive, you probably want to initialize the submodules:

git submodule update --init --recursive

Create a virtual environment:

python3 -m venv .venv && source .venv/bin/activate

Install the dependencies:

pip3 install -r requirements.txt

Usage

Create a networks.d directory in this project workspace.

Move the json files of the networks in the just created networks.d directory.

Execute the shell script ./run.sh to run the tests contained in the networks.d directory:

./run.sh

To learn to use directly the benchmark program:

./benchmark.py --help