Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.05 KB

File metadata and controls

40 lines (31 loc) · 1.05 KB

Benchmark-system setup

This project includes Python scripts in the tests/ directory for benchmarking analysis and plotting results. To run these scripts, you need Python 3.x and several libraries.

Setting up the Python Environment

It is recommended to use a virtual environment to manage Python dependencies.

  1. Navigate to the project root directory:

    cd bmp-conv
    
  2. Create a virtual environment (e.g., named venv_py):

    python3 -m venv venv_py
    
  3. Activate the virtual environment: Linux/macOS:

    source venv_py/bin/activate
    
  4. Install the required Python packages:

    pip install -r requirements-dev.txt
    

Optional:

  1. If you are using convert for file generation - set the upper limit of the disk usage:
    <policy domain="resource" name="disk" value="8GiB"/>
    
    and
    <policy domain="resource" name="width" value="128KP"/>
    <policy domain="resource" name="height" value="128KP"/>