29 Jul 2009

Faster bzr commits, and subunit.

I’ve just put up for a review two patches that when combined make ‘bzr commit FILENAME’ substantially faster. For hackers on launchpad (which I used as test data) the time drops from 1.2 seconds to 0.3 seconds. o/. One less blocker for 2.0 (this was a regression due to the changed characteristics of the 2a repository format).

This friday, at SLUG I’m giving a talk about subunit – a test streaming and activity protocol I’ve had kicking around for some years now. This allows all sorts of neat coupling and introspection that adhoc formats don’t. If you’re familiar with TAP, subunit has similarity, but is in my (biased opinion) substantially more powerful – in ways that matter. If you’re in sydney and run automated tests of [nearly] any sort, come along, I’m sure you’ll enjoy it.