Skip to content

prabal01pathak/load_testing

Repository files navigation

Logo

Load test

Just run the application and measure the performance.

Authors

Running Tests

To run tests, run the following command

  pytest

Usage/Examples

python3 run_process.py 

or 

python3 run_process.py --help (to see the cli arguments)

Lessons Learned

Practice Makes Perfect

🛠 Skills

  • Python3
  • multiprocessing
  • threading
  • typer
  • bash
  • machine learning
  • object-detection
  • pytest
  • cli

Tech Stack

Programming Language - Python3

Framework - Typer

python Multiprocessing

python multithreading

Usage

start single process

  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)

Documentation

Documentation

Features

  • run object detections/don't run
  • build analytics
  • command line interface
  • Cross Platform

Installation

Install my-project with npm

  pip3 install poetry
  poetry shell
  poetry install

License

MIT

Run Locally

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)

About

Test load on the system by running heavy computations like object detection

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published