status performance regression compared to 0.17?
Bug #137449 reported by
Martin Pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Critical
|
Martin Pool |
Bug Description
http://
shows that status in 0.91dev and 0.18 is approximately 3x slowerthan it was in 0.17:
2.99 30.466 30.289 10.202 script_
Changed in bzr: | |
importance: | Undecided → Critical |
status: | New → Triaged |
To post a comment you must log in.
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 releases/ bzr.0.18/ bzr --no-plugins status 4.56s user 1.08s system 99% cpu 5.644 total releases/ bzr.0.90/ bzr --no-plugins status 3.98s user 1.01s system 99% cpu 5.023 total bzr.dev/ bzr --no-plugins status 3.91s user 1.04s system 99% cpu 4.983 total
~/dev/bzr/
~/dev/bzr/
~/dev/bzr/
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.