Metadata-Version: 2.1
Name: PerformanceFuzzer
Version: 0.0.2
Summary: PerformanceFuzzer
Home-page: https://github.com/KKimj/PerformanceFuzzer
Author: KKimj
Author-email: kkimj@hanyang.ac.kr
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: Korean
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: numpy

# PerformanceFuzzer
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](screenshots/screenshot7.PNG?raw=true "Title")

![Alt text](screenshots/screenshot8.PNG?raw=true "Title")




## Acknowledgments
https://github.com/theblixguy/CPUBench

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



