Archives 2011
Meliae support lands, buy more RAM
Written by
on
in
Snaking.
I've just released the latest version of RunSnakeRun. Only real change is to better handle meliae dumps in the sense of giving more reasonable data. The views are now reasonably useful, but they are extremely slow for any real-world application.
Meliae support lands, but not satisfied
Written by
on
in
Snaking.
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 of ~13,000 objects ...
Memory exploration pretty much working
Written by
on
in
Snaking.
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...
Written by
on
in
Snaking.
Anway, while the summary stuff it produces is okay, but ...
Convert nosetests xml to html (hack)
Written by
on
in
Snaking.
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 long-term solution, as ...
PyPy hits 3x speed (or 1/12th, or 2.5x depending on the sign-post)
Written by
on
in
Snaking.
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 just used regular ...
First tempting micro-successes with PyPy
Written by
on
in
Snaking.
I spent much of Tuesday working on getting PyPy running SimpleParse. I have to be honest, I was kinda hoping I'd install PyPy and "pow" I'd have a 20x faster parser engine. It didn't quite work out that way, it was actually 2x slower, with no real explanation of why. My poor laptop hasn't been ...
Forgot how big SimpleParse is...
Written by
on
in
Snaking.
At this point I have almost all of SimpleParse converted to pure-python operation. It is still using the Python call-stack for its state storage, just for convenience in coding. That makes it approximately equivalent to the version using "stock" mxTextTools wrt blowing up on recursive grammars (the TextTools fork SimpleParse bundles doesn't blow up on ...
Bellorussian Py3D.py
Written by
on
in
Snaking.
Paul Bukhovko has translated the Python 3D Software page into Bellorussian, so if you're a 3D Pythonista who prefers your summaries in Bellorussian, head on over.
A small enough task to explore PyPy without getting lost
Written by
on
in
Snaking.
Those who have spoken with me on the topic will recall that I'm rather enthused about PyPy's potential. But every time I've sat down to play with it I've run into a bit of a "small steps" issue... i.e. what small project do I have where I don't need Numpy (which excludes most of my ...
Monthly archives
- February 2011
- March 2011
- April 2011
- May 2011
- June 2011
- July 2011
- August 2011
- September 2011
- October 2011
- November 2011
- December 2011