|
You are here |
martinheinz.dev | ||
| | | | |
www.integralist.co.uk
|
|
| | | | | Memory Management Types of Profiling Tools Matrix Analysis Steps Base Example Timer Built-in module: timeit Built-in module: profiler Line Profiler Basic Memory Profiler Tracemalloc PyFlame (Flame Graphs) Conclusion Memory Management Before we dive into the techniques and tools available for profiling Python applications, we should first understand a little bit about its memory model as this can help us to understand what it is we're seeing in relation to memory consumption. | |
| | | | |
gouthamanbalaraman.com
|
|
| | | | | Some notes on profiling python code in the Jupyter notebook environment | |
| | | | |
adamj.eu
|
|
| | | | | When trying to improve a slow function or module, it's always a good idea to profile it. Here's a snippet for quickly profiling a section of code with Python's cProfile module, in two flavours. It's adapted from the cProfile documentation's Profile example. I have used versions of this snippet over the years to narrow in on performance issues. | |
| | | | |
voiceofthedba.com
|
|
| | | I hosted the blog party this month, with the invite to write about notebooks. These are a neat technology, and I've written about them at SQLServerCentral. This post is a wrap-up of the various responses to my invitation. First, quite a few people give credit to either Aaron Nelson or Rob Sewell for their writings... | ||