Archives March 2011

Yay, fairly usable meliae loading

Unscheduled day off work today... which means... RunSnakeRun (and SquareMap) got quite a few performance improvements when handling Meliae dumps.  It still takes 3-4 minutes to load a 16MB capture (that is, an dump that captured 16MB of objects) but once loaded it is reasonably close to interactive.  I haven't got time to work ...

Continue reading

Meliae support lands, but not satisfied

I've released (on PyPI) versions of RunSnakeRun and SquareMap that support Meliae dumps... but I'm not really satisfied with the functionality.  Basically the dumps seem to have 2-3MB of un-accounted-for objects in them.  In my trivial test that's about 10x more memory than can be reached from module references.  This small dump ...

Continue reading

Memory exploration pretty much working

Got Meliae exploration working in RunSnakeRun this evening.  A few enhancements to the SquareMap control as well.  The data-sets are a bit too large on real-world memory-captures so performance becomes a serious issue... will have to do some profiling :) .  Oh well, something for another day.

Meliae is neat, but scary...

Dave Malcolm's talk at PyCon 2011 mentioned Meliae, which is a memory-crawler that stores out a description of all of the objects in RAM when triggered.  It's Python-level, so not something you can use with Dave's gdb stuff, but it still sounds pretty useful.

Anway, while the summary stuff it produces is ...

Continue reading

Convert nosetests xml to html (hack)

Want to see the output of your nosetests run in a format that you can hand to someone non-technical (who doesn't mind it being ugly)?  Here's a little script to convert the result of nosetests --with-xunit to an ugly, but functional HTML file.  I can't say I really see this as a ...

Continue reading

PyPy hits 3x speed (or 1/12th, or 2.5x depending on the sign-post)

Another day playing with PyPy. First up was a pleasant surprise in that the 2x slowdown reduced with the currently nightly build[1], bringing performance up from 40,000cps to ~60,000cps.

After that, applied a micro-optimization that got me about a 6% speedup; I eliminated the use of a state "struct object" (object that ...

Continue reading

Daily archives

Previous month

February 2011

Next month

April 2011

Archives