• Vlad Niculae
  • Research
  • Blog
  • Teaching
  • Students
  • Memory benchmarking with vbench

    Thu, 05 Jul 2012Category: benchmarking
    #memit #memory #vbench #python #scikit-learn

    The scikit-learn-speed project now has memory usage benchmarking!

    This was accomplished by building on what I described in my recent posts, specifically the extensions to Fabian’s [memory_profiler][] that you can find in my fork, but they will be merged upstream soon. The key element is the %magic_memit function whose …

    More on memory benchmarking

    Mon, 02 Jul 2012Category: benchmarking
    #IPython #magic #memit #memory #memory_profiler #mprun #benchmarking #python

    Following up on my task to make it easier to benchmark memory usage in Python, I updated Fabian’s [memory_profiler][] to include a couple of useful IPython magics. While in my last post, I used the new IPython 0.13 syntax for defining magics, this time I used the backwards-compatible …

    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.