Skip to main content

Used to find the function execution time

Project description

pyPerformanceTimer
==================
Functionality Performance Timer

Introduction
------------
The pyPerformanceTimer is used to find the function execution time. So it will use which function takes more time when execute and helps to find out the performance issue. So this is beginning and the more updated coming soon.

Installation
------------
It's very simple install and use, I will show two types of installation manual and PIP installation.

Manual Installation
===================
First you need to clone the package or download the latest release.


https://github.com/PraveenJP/pyPerformanceTimer.git
cd 'path to the package'
python setup.py install


PIP Installation
================

pip install pref_timer

Usage
-----
It's very easy to use, Please follow the setps.

from pref_timer.timer import timer

@timer
def main():
for i in range(50000):
print ("Execution:", i)

if __name__ == '__main__':
main()

Finally run the python file.

Result
------
The Result of the above simple loop method

Execution: 19998
Execution: 19999
main Taken: 0.3 Seconds


It shows the functionality name and time which is taken.

If any suggestion or doubts please let me know via below email.
---------------------------------------------------------------

Email: praveen.josephmasilamani@outlook.com

Happy Coding. :)

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

pref_timer-0.1.6.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file pref_timer-0.1.6.tar.gz.

File metadata

  • Download URL: pref_timer-0.1.6.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pref_timer-0.1.6.tar.gz
Algorithm Hash digest
SHA256 126294b172eabd5183e81a1260a3b9ad0df26302eef3db836bda92de11eda6df
MD5 fe2828b65f6e33d457b45577f7589d4f
BLAKE2b-256 24d7f19e38a4e16c065010e46c922b2cc94c8080ec4048dde73dbb6766675cee

See more details on using hashes here.

Supported by

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