[MERGE][RFC] further add performance improvements

Martin Pool mbp at canonical.com
Tue May 23 08:06:09 BST 2006


On 22 May 2006, Robert Collins <robertc at robertcollins.net> wrote:

> > I would be curious to see if switching to RIO would gain us more of a
> > speed improvement than using XML. Though I'm not confident, since we are
> > using a compiled XML parser, versus a potential python parser (for RIO).
> 
> Martin indicated to me that RIO was up to twice as fast as celementree.

That was the case when I benchmarked writing inventories a while ago.
I had wondered if building the tree and then writing it through
cElementTree was slowing things down and it's interesting to hear that
it's not.

I might update that and put it into subclasses of the new benchmark
suite.

-- 
Martin Pool




More information about the bazaar mailing list