umarell is a lightweight decorator that can be seamlessly integrated in all your Python projects to log the performance of your functions.
Its usage is straightforward. You just need to:
from umarell import umarell
@umarell
def my_function():
...
Each time a function gets called, umarell logs its execution time leveraging the built-in logging
module. Try to run example.py
to get a gist of it.
Umarell (Italian pronunciation: [umarl]; modern rivisitation of the Bolognese dialect word umarl [umarl]) is a term popular in Bologna referring specifically to men of retirement age who pass the time watching construction sites, especially roadworks stereotypically with hands clasped behind their back and offering unwanted advice.
Source: Wikipedia
A wild umarell in Bologna, Italy