https://github.com/pytest-with-eric/pytest-benchmark-example
How To Measure And Improve Code Efficiency with Pytest Benchmark (The Ultimate Guide)
https://github.com/pytest-with-eric/pytest-benchmark-example
benchmark benchmarking-framework pytest-benchmark python-benchmark
Last synced: 4 months ago
JSON representation
How To Measure And Improve Code Efficiency with Pytest Benchmark (The Ultimate Guide)
- Host: GitHub
- URL: https://github.com/pytest-with-eric/pytest-benchmark-example
- Owner: Pytest-with-Eric
- Created: 2023-08-15T07:29:54.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-25T03:41:53.000Z (over 2 years ago)
- Last Synced: 2025-01-29T12:30:06.783Z (11 months ago)
- Topics: benchmark, benchmarking-framework, pytest-benchmark, python-benchmark
- Language: Python
- Homepage: https://pytest-with-eric.com/pytest-best-practices/pytest-benchmark/
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pytest Benchmark Example
This repo contains the sample code for the article - [How To Measure And Improve Code Efficiency with Pytest Benchmark (The Ultimate Guide)](https://pytest-with-eric.com/pytest-best-practices/pytest-benchmark/)
# Requirements
* Python (3.11.4)
Please install the dependencies via the `requirements.txt` file using
```commandline
pip install -r requirements.txt
```
If you don't have Pip installed please follow instructions online on how to do it.
# How To Run the Unit Tests
To run the Unit Tests, from the root of the repo run
```commandline
pytest -v -s
```
If you have any questions about the project please raise an Issue on GitHub.