[Pkg-bazaar-maint] Bug#454503: bzr: Performance regression with pack format

Roland Mas lolando at debian.org
Wed Dec 5 19:27:47 UTC 2007


Package: bzr
Version: 1.0~rc1-2
Severity: normal

Trying to play around with the new pack storage format...  I came
across this 30% regression in performance for "bzr missing":

guest at mirexpress:~/repo$ for i in * ; do echo == $i == ; cd $i ; bzr info ; cd sid ; bzr missing --line ../trunk &> /dev/null ; bzr missing --line ../trunk &> /dev/null ; time bzr missing --line ../trunk ; cd ../../ ; done
== gforge-dirstate ==
Shared repository (format: dirstate-with-subtree)
Location:
  shared repository: .
Branches are up to date.                                                       

real    0m4.727s
user    0m4.596s
sys     0m0.056s
== gforge-pack ==
Shared repository (format: pack-0.92-subtree)
Location:
  shared repository: .
Branches are up to date.                                                       

real    0m6.370s
user    0m6.236s
sys     0m0.088s
== gforge-rich-root ==
Shared repository (format: rich-root)
Location:
  shared repository: .
Branches are up to date.                                                       

real    0m4.725s
user    0m4.596s
sys     0m0.056s
guest at mirexpress:~/repo$ 

All three repositories have been recently created (no trees), and the
sid and trunk branches cloned from my main (dirstate-with-subtree)
repo therefore have the same contents (about 5000 revisions, 5400
files, 52 MB).  Of course, running "bzr pull" instead of "bzr missing"
gives similar results here, since the branches are up-to-date.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bzr depends on:
ii  libc6                         2.7-3      GNU C Library: Shared libraries
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-celementtree           1.0.5-9    Light-weight toolkit for XML proce
ii  python-central                0.5.15     register and build utility for Pyt

Versions of packages bzr recommends:
ii  python-paramiko               1.6.4-1    make SSH2 connections with python
ii  python-pycurl                 7.16.4-1   Python bindings to libcurl

-- no debconf information





More information about the Pkg-bazaar-maint mailing list