slow bzr check

Adrian Buehlmann adrian at
Sun Jan 20 12:44:54 GMT 2008

Hi all

I'm new to using Bazaar (and to this list). First, let me thank all Bazaar 
contributors and supporters for providing this very interesting Software.

Yesterday, I started experimenting with Bazaar 1.1 on my Windows XP box.

As a test, I branched the trunk of Bazaar itself like this:

 > bzr branch
Branched 3193 revision(s).

which went fine (took 4 min 40 sec over my cable modem internet connection -- 
which sells at a nominal 3500/350 Kbit/s down-/upstream).

But then a

 > bzr check trunk
checked branch file:///C:/tmp/Bazaar/bzr/trunk/ format Bazaar Branch Format 6 
(bzr 0.15)
checked repository <bzrlib.transport.local.LocalTransport 
url=file:///C:/tmp/Bazaar/bzr/trunk/> format <Repositor
  16017 revisions
   1039 file-ids
  35766 unique file texts
6950529 repeated file texts
      0 unreferenced text versions
      2 ghost revisions
      2 revisions missing parents in ancestry

took more than *50* minutes, which is a very long time. Memory peaked up to some 
120 MB.

Is it just my (stupid newbie) setup or is "bzr check" really that slow?

As a comparison, a "hg verify" of the Mercurial main repository (cloned from by Mercurial (which I'm evaluating as well at the 
moment) was just 17 seconds:

 > hg verify --time
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
779 files, 5667 changesets, 10623 total revisions
Time: real 16.461 secs (user 1.844+0.000 sys 6.563+0.000)

Details of my setup:

Windows XP SP 2 on Pentium 4, 2.4 GHz, 1 GB RAM, ATA-HD

 > bzr version
Bazaar (bzr) 1.1.0
   Python interpreter: C:\Python25\python.exe
   Python standard library: C:\Python25\lib
   bzrlib: C:\Python25\lib\site-packages\bzrlib

 > bzr info -v trunk
Standalone tree (format: pack-0.92)
   branch root: trunk

Related branches:
   parent branch:

        control: Meta directory format 1
   working tree: Working tree format 4
         branch: Branch format 6
     repository: Packs containing knits without subtree support

In the working tree:
        819 unchanged
          0 modified
          0 added
          0 removed
          0 renamed
          0 unknown
          0 ignored
         62 versioned subdirectories

Branch history:
       3193 revisions
        118 committers
        936 days old
    first revision: Sun 2005-06-26 16:55:27 -0500
   latest revision: Fri 2008-01-18 05:52:24 +0000

      16017 revisions
      72341 KiB

More information about the bazaar mailing list