bzr st on a working copy is slow

Bug #332169 reported by Kevin Fitch
8
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Undecided
Unassigned

Bug Description

bzr 1.12
bzr-svn 0.5.2
Ubuntu 8.04

I have a subversion working copy, if I do bzr st on it, it will pull down stuff from the repo .. very slick. Then in the future if I do bzr st on that directory it takes 15-30 seconds.

If instead I check out the subversion repo with bzr e.g.:
bzr co svn+https://....
bzr st

It responds immediately.

The subversion server is running svn 1.3.0 (I can't get them to upgrade :( )
I checked it out with svn 1.5 (I think ... whatever is in ubuntu 8.04)

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

bzr checkouts contain all history locally, svn (lightweight) checkouts do not and therefore contact with the server is required to retrieve some of that information.

I don't think there's much that bzr-svn could be doing differently here.

Revision history for this message
Matt Nordhoff (mnordhoff) wrote :

They do contain enough information for "svn st", don't they?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Yes, but the bzr API requires other stuff as well - the repository layout and file ids, for example.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

re-assigning this to bzr, as this is as slow on native bzr lightweight checkouts as on svn lightweight checkouts with the recent svn/bzr-foreign performance improvements.

charis:~/tmp/bzr-lw% time bzr st
bzr st 0.32s user 0.06s system 7% cpu 5.326 total

charis:~/tmp/svn-lw% time ~/bzr/foreign/bzr st
~/bzr/foreign/bzr st 1.43s user 0.34s system 37% cpu 4.722 total

Revision history for this message
John A Meinel (jameinel) wrote : Re: bzr-svn: bzr st on a svn working copy is very slow

Is this any more than just connecting to the remote machine? (establishing an ssh connection, for example)

At 'bzr st' time, we do make a connection to make sure the target branch exists, etc.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 332169] Re: bzr-svn: bzr st on a svn working copy is very slow

On Mon, Feb 23, 2009 at 05:17:13AM -0000, John A Meinel wrote:
> Is this any more than just connecting to the remote machine?
> (establishing an ssh connection, for example)

> At 'bzr st' time, we do make a connection to make sure the target branch
> exists, etc.
It is just connecting to the remote machine and checking for the
latest revid there.

Cheers,

Jelmer

Jelmer Vernooij (jelmer)
Changed in bzr:
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.