RunSnakeRun gets a basic source-code-view

There was a request from one of the RedHat guys to add a source-code view to RunSnakeRun so that users can just flip over to see the code which is running slow when they are exploring a profile.  wx.py makes that pretty easy, so bzr head now supports it.

Want to maybe add a call-tree view.  A memory-profiling view would be nice too, but I don't have a recommended memory profiler at which to point people.  Without that it's a bit of a toss-up as to what memory-profile format to support.

Comments

  1. Marius Gedminas

    Marius Gedminas on 03/01/2010 5:49 p.m. #

    Release early, release often!

    (Incidentally, when I easy_install RunSnakeRun 2.0.0b4, I'm unable to start it: RunSnakeRun-2.0.0b4-py2.6.egg/runsnakerun/runsnake.py fails with ImportError: No module named squaremap)

  2. Mike Fletcher

    Mike Fletcher on 03/01/2010 5:59 p.m. #

    Yup, the SquareMap package is a dependency. easy_install SquareMap should pull it in. wxPython is also a dependency, btw.

  3. Marius Gedminas

    Marius Gedminas on 03/01/2010 6:14 p.m. #

    Oh, you're not using setuptools/distribute? I got so used to packages explicitly listing their dependencies in their setup.py that it's surprising to find one that doesn't.

  4. Dave Malcolm

    Dave Malcolm on 03/01/2010 6:57 p.m. #

    Thanks! That was me.

  5. Mike C. Fletcher

    Mike C. Fletcher on 03/01/2010 9:40 p.m. #

    Actually I *do* use setuptools for RSR. I just haven't yet got out of the Python 2.3 habit of avoiding "extra" arguments to distutils, which is currently a fallback if you don't have setuptools when you go to install RSR. Since wxPython isn't easy_installable (last I checked) I didn't bother to declare the other dependency. I've added SquareMap now, so in the future it should easy_install everything but wx python.

  6. Marius Gedminas

    Marius Gedminas on 03/02/2010 7:56 a.m. #

    Thanks!

Comments are closed.

Pingbacks

Pingbacks are closed.