profilehooks
Let's learn about profilehooks and how it helps.
The last 3rd party package that we will look at in this chapter is
called profilehooks. It is a collection of decorators specifically
designed for profiling functions.
Let’s start with profilehooks
To install profilehooks, just do the
following:
Now that we have it installed, let’s re-use the example from the last lesson and modify it slightly to use profilehooks: