A Python decorator to get the time profile of a function

As a web developer I've being many times in need to profile a function or more in my application.

Here is a very usefull tool -  a Python Decorator - that can easilly get as the excecution time of the method that wraps

 

# Media settings MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media')

 

hjkhklj

Comments

======= >>>>>>> master

+30 211 790 2526

Find me

kabardi.cat@gmail.com