Skip to main content

PerformanceFuzzer

Project description

PerformanceFuzzer

PerformanceFuzzer

https://pypi.org/project/PerformanceFuzzer/

Getting Started

$ git clone https://github.com/KKimj/PerformanceFuzzer
$ pip install PerformanceFuzzer

Prerequisites

$ sudo apt update && sudo apt upgrade
$ sudo apt-get install libgmp3-dev
$ pip3 install pytest
$ pip3 install pytest-benchmark
$ pip3 install pygal

Using virtualenv

$ pip3 install virtualenv
$ virtualenv venv
$ python3 -m virtualenv venv
$ source venv/bin/activate

$ pip3 install pytest
$ pip3 install pytest-benchmark
$ pip3 install pygal

$ deactivate

Running the tests

$ sudo python3 main.py cpubench cpubench --round=8 --warmup=2 --cpubench=50000
# same as
$ sudo python3 main.py cpubench cpubench -r 8 -w 2 -cpu 50000

$ python3 -m pytest main.py --benchmark-histogram
$ ./run.sh cpubench
$ sudo ./tests/cpubench 50000 --singlethreaded --printdigits

Examples

Alt text

Alt text

Acknowledgments

https://github.com/theblixguy/CPUBench

https://pypi.org/project/pytest-benchmark/

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

PerformanceFuzzer-0.0.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

PerformanceFuzzer-0.0.3-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file PerformanceFuzzer-0.0.3.tar.gz.

File metadata

  • Download URL: PerformanceFuzzer-0.0.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for PerformanceFuzzer-0.0.3.tar.gz
Algorithm Hash digest
SHA256 48d9f89963b06bfa17cc1e9c77da4745749ac529709db00de4d935f07956e501
MD5 f3903b0ec96db4785282b2aeb73285e5
BLAKE2b-256 b7965b8cfbf69b662b301a8c737999f2bf786af95d7256d74997249a63738267

See more details on using hashes here.

File details

Details for the file PerformanceFuzzer-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: PerformanceFuzzer-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for PerformanceFuzzer-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 07fea3fddb814ef3ae4ad0b3e22b2fde7a8ae38e6f9be4df970b4a735d56e92c
MD5 e1a9f7cb4d6c4f8b5b9353d6d9ea5b4b
BLAKE2b-256 8cd15ee5e1382e5142d440e0875137c81e06e2b623b5e496252d3c50dde37c9c

See more details on using hashes here.

Supported by

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