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.

Files for pref_timer, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size pref_timer-0.1.6.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page