Skip to main content

A lightweight and elegant decorator to profile Python function execution time.

Project description

⚡ Speed Tester Pro

PyPI version License: MIT Python versions

A highly lightweight, zero-dependency Python decorator to monitor and profile the execution time of your functions instantly. Developed for engineers who need quick performance insights without heavy setups.

🚀 Installation

Install the package directly via pip:

pip install speed-tester-pro
💻 Quick Start
Simply import the decorator and place it above any function you want to profile.

Python
from speed_tester_pro import check_speed
import time

@check_speed
def fetch_database_records():
    # Simulating a heavy database query
    print("Fetching records...")
    time.sleep(1.2)
    return "Records loaded!"

# Call your function as usual
fetch_database_records()
Console Output:

Plaintext
Fetching records...
⏱️ [Speed Test] 'fetch_database_records' executed in 1.2001 seconds.
✨ Features
Zero Dependencies: Built entirely with Python's standard library.

Plug & Play: Requires only a single line of code (@check_speed).

Non-Intrusive: Returns your function's original output without modifying its behavior.

📄 License
This project is MIT licensed. Copyright (c) 2026 Muhammad Mohsin.

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

speed_tester_pro-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

speed_tester_pro-1.0.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file speed_tester_pro-1.0.0.tar.gz.

File metadata

  • Download URL: speed_tester_pro-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for speed_tester_pro-1.0.0.tar.gz
Algorithm Hash digest
SHA256 89e4e481ddd36272f93d44efa7f338437f2541cabe16bf5d3582c543905cca79
MD5 d1c4e6149aa2d49a848dfd4f72ce2f48
BLAKE2b-256 f975029630ce6c7e30d4ccc8b223433b4dcef60fd47ed03a3f3a7e4a59a1fc79

See more details on using hashes here.

File details

Details for the file speed_tester_pro-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for speed_tester_pro-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 884d69bcfdcc9ef373f6e643770a1cb64d66b475eb45bda47680c3ccd879086a
MD5 f3813f6622f59a862c0d59e80865dfc9
BLAKE2b-256 2ea0e90e10156888a85e2a9741be31e0fce618fd089fc38de84a601bec5eb708

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page