Comment 1 for bug 137449

Revision history for this message
John A Meinel (jameinel) wrote : Re: status performance regression compared to 0.17

I'm very curious what is going on here.

I did some personal testing and my times are:

~/dev/bzr/releases/bzr.0.17/bzr --no-plugins status 4.56s user 1.00s system 99% cpu 5.566 total
~/dev/bzr/releases/bzr.0.18/bzr --no-plugins status 4.56s user 1.08s system 99% cpu 5.644 total
~/dev/bzr/releases/bzr.0.90/bzr --no-plugins status 3.98s user 1.01s system 99% cpu 5.023 total
~/dev/bzr/bzr.dev/bzr --no-plugins status 3.91s user 1.04s system 99% cpu 4.983 total

Which shows bzr.dev to be about 10% faster than 0.17, not 3x slower.

As near as I can tell, that 10% comes from the pyrex implementation of the dirstate parser. (Since that landed in 0.90 and it nicely coincides with that release).

So we should certainly figure out why it seems that on some machines it is performing significantly worse rather than better.