I only know about one profiler that is provided by the python community itself, the memory profiler .
You can download it using either pip or easy_install,
$ easy_install -U memory_profiler
psutil is recommended to use the module with this profiler.
If you want to install it from the source,
$ python setup.py install
The latest sources can be found at https://github.com/fabianp/memory_profiler .
Documentation, samples, API help can be found at https://pypi.python.org/pypi/memory_profiler .
Hasit bhatt
source share