Skip to main content

Process Benchmarking Tool

Project description

ProcBench

Process Benchmarking Tool.

Setup

As a Tool

Get ready:

  • Python 3.12+

then:

pip install procbench

NOTE: For the Usage below, just replace uv run -m procbench ... with procbench ....

For Development

Get ready:

  • Python 3.12+
  • uv, the Python package manager.

then:

cd <project_root>
uv venv
uv sync

Usage

Prepare your Test Cases

Make a copy of sample-test-case.json, e.g. tc01.json. Change the parameters as needed.

You can make several test cases, e.g. tc02.json, tc03.json. Suppose we have those three test cases.

Run the Test Cases

Suppose you want to dump the output to result.json, run:

uv run -m procbench -o result.json tc01.json tc02.json tc03.json

For verbose debug output, add -v flag:

uv run -m procbench -v -o result.json tc01.json tc02.json tc03.json

The results JSON file will contain detailed benchmarking results and is machine-parseable. See sample-results.json for a grasp of the structure.

Export HTML Report

uv run -m procbench export html result.json report.html

HTML report 1

HTML report 2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

procbench-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

procbench-0.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file procbench-0.1.0.tar.gz.

File metadata

  • Download URL: procbench-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for procbench-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7a51e32d5e5394288f76e82d217a94c59f84d15939efea66f8f4a5ec6eefe44a
MD5 88f46a4f8d048d6397d5894efe2c413a
BLAKE2b-256 d09f6dae743677feda8cca6034f99176e7020c26fb67bd8279357f88ba238978

See more details on using hashes here.

File details

Details for the file procbench-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: procbench-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for procbench-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0af72da1ba3aa15439847e01749744b3af34ea057bb819d9699d950edbbd6263
MD5 6bf869b4bac5400178035de44c3194a4
BLAKE2b-256 9d837a957c9bee04413f55fa86770c34e30312608234532bd6c0bafcb7d3fa6d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page