• Vlad Niculae
  • Research
  • Blog
  • Teaching
  • Students
  • Quick memory usage benchmarking in IPython

    Sat, 30 Jun 2012Category: 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 …

    [ all posts ] [ categories ] [ tags ] [ pages: 1  ]

    Powered by Pelican. Privacy policy.