Just run the application and measure the performance.
To run tests, run the following command
pytest
python3 run_process.py
or
python3 run_process.py --help (to see the cli arguments)
Practice Makes Perfect
- Python3
- multiprocessing
- threading
- typer
- bash
- machine learning
- object-detection
- pytest
- cli
Programming Language - Python3
Framework - Typer
python Multiprocessing
python multithreading
python3 run_process.py
Parameter | Type | Description |
---|---|---|
--process_count | int |
optional |
--thread_count | int |
optional |
--run_time | int |
optional (in seconds) |
--create-log | int |
optional(--no-run-detections to do it false) |
--run-detections | int |
optional(--no-run-detections to do it false) |
- run object detections/don't run
- build analytics
- command line interface
- Cross Platform
Install my-project with npm
pip3 install poetry
poetry shell
poetry install
Clone the project
git clone https://github.com/prabal01pathak/load_testing.git
Go to the project directory
cd load_testing
Install dependencies
poetry install
start the combinations of process and threads
python3 run_combinations.py
or
python3 run_combinations.py --help (for mode details)