Quick memory usage benchmarking in IPython
Category: benchmarking
#benchmark #IPython #magic #memory #memory_profiler #profiling #benchmarking #python
Everybody loves %timeit
, there’s no doubt about it. So why not have
something like that, but for measuring how much memory your line takes?
Well, now you can; grab a hold of the script in the following gist and
run it like in the example.
[gist id=3022718]
Instead …