All articles

  1. Quick memory usage benchmarking in IPython

    Sat 30 June 2012
    By vene

    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 ...