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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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