From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Arbash Meinel Newsgroups: gmane.comp.version-control.bazaar-ng.general,gmane.emacs.devel Subject: Re: Emacs Bazaar Repository II Date: Wed, 22 Oct 2008 16:04:54 -0500 Message-ID: <48FF9576.8040401@arbash-meinel.com> References: <87skr26cba.fsf@workhorse.earlhome> <87d4htd2ll.fsf@yahoo.com> <20081022204613.51dbb54f@terra.solaris> <873aios6ap.fsf@notengoamigos.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1224709555 23070 80.91.229.12 (22 Oct 2008 21:05:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 21:05:55 +0000 (UTC) Cc: Christian Faulhammer , bazaar@lists.canonical.com, Daniel Clemente , emacs-devel@gnu.org To: Jason Earl Original-X-From: bazaar-bounces@lists.canonical.com Wed Oct 22 23:06:54 2008 connect(): Connection refused Return-path: Envelope-to: gcvbg-bazaar-ng@m.gmane.org Original-Received: from chlorine.canonical.com ([91.189.94.204]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kskud-0005X9-7h for gcvbg-bazaar-ng@m.gmane.org; Wed, 22 Oct 2008 23:06:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.60) (envelope-from ) id 1KsktT-0001W0-I7; Wed, 22 Oct 2008 22:05:27 +0100 Original-Received: from smtp118.sbc.mail.re3.yahoo.com ([66.196.96.91]) by chlorine.canonical.com with smtp (Exim 4.60) (envelope-from ) id 1KsktL-0001VI-Mq for bazaar@lists.canonical.com; Wed, 22 Oct 2008 22:05:19 +0100 Original-Received: (qmail 178 invoked from network); 22 Oct 2008 21:05:18 -0000 Original-Received: from unknown (HELO juju.arbash-meinel.com) (john@75.51.62.134 with login) by smtp118.sbc.mail.re3.yahoo.com with SMTP; 22 Oct 2008 21:05:18 -0000 X-YMail-OSG: W9OzdZ8VM1lMeKhScIqAdTT2mNEthx29FGg7FvhRNwMAJPNffFkB0xRb67UNnLKK0t_XSTausPw1_1naCBp9eoMMPL4Gs7j6ml2Dh8FbEINta423GdizpVEJ88X7zbimYvfWWv7GCQbwgP_kfeicUfCfh.s5wEKi7Hn7ZAtd63lqGgRfWWwvAgtCF5do X-Yahoo-Newman-Property: ymail-3 Original-Received: by juju.arbash-meinel.com (Postfix, from userid 505) id 333CB55FF9; Wed, 22 Oct 2008 16:05:17 -0500 (CDT) X-Spam-Score: -104.4 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on juju.arbash-meinel.com X-Spam-Level: X-Spam-Status: No, score=-104.4 required=4.5 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.1.7 Original-Received: from [192.168.2.14] (samus.arbash-meinel.com [192.168.2.14]) by juju.arbash-meinel.com (Postfix) with ESMTP id 3FA3F55FF9; Wed, 22 Oct 2008 16:05:09 -0500 (CDT) User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: <873aios6ap.fsf@notengoamigos.org> X-Enigmail-Version: 0.95.7 X-Topics: everythingelse X-BeenThere: bazaar@lists.canonical.com X-Mailman-Version: 2.1.8 Precedence: list List-Id: bazaar discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bazaar-bounces@lists.canonical.com Errors-To: bazaar-bounces@lists.canonical.com Xref: news.gmane.org gmane.comp.version-control.bazaar-ng.general:48448 gmane.emacs.devel:104860 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jason Earl wrote: > Christian Faulhammer writes: > >> Hi, >> >> Daniel Clemente : >> >>> The operation I use most is „log“: to see what's new, or if >>> something was included or not, or when, or who did what when, etc. I >>> have tested this second repository and also the first one. I used >>> today's bzr (rev. 3788) and did several successive tests until the >>> results stabilised. >> Which bzr version are you using? 1.8 improved log performance >> according to the release notes. >> >> V-Li > > I'm using bzr.dev and I get similar numbers for trunk on the emacs > repository. Of course, this is on an underpowered laptop, but I still > have a hard time waiting over a minute for log information. > > time bzr log > /dev/null > > real 2m7.347s > user 1m52.223s > sys 0m1.152s > > Even worse, just getting the last 10 revisions is also ridiculously > slow. > > time bzr log -r -10.. > /dev/null > > real 1m5.250s > user 0m59.520s > sys 0m0.320s > > I didn't want to pile on with this particular complaint, as I know that > it has been brought up before, but bzr log is really really slow on > repositories with as many revisions as Emacs has. > > I really like bzr's log output, as it makes the branch merging very > clear, but I really wish I knew of a sensible way to just get the last > few changes on a branch. > > Jason Earl > > Try "bzr log --short -r -10..-1 >/dev/null" It should be surprisingly faster. I've been working with Vincent a little bit to try and make our log layout and numbering not require reading the whole ancestry. Also, you might try using "--development2" format. At least if you want to see an interesting comparison. Specifically, --development2 changes the index format, which makes certain parts of "load-the-whole-ancestry" perform a lot better. Obviously the best fix is to get rid of the O(ancsetry) operation, but you can do some things to mitigate it in the short term. (With a recent bzr.dev or I believe bzr-1.8, you should be able to copy your existing repository and just "bzr upgrade --development2") If you are willing to do it, it would be interesting to see the result. John =:-> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkj/lXYACgkQJdeBCYSNAAO4igCfYOT9nBA/2yQjWpII+7LN/Z8m SZoAnjMlNZASBVBemVhbYOiwaxGouluQ =5sYA -----END PGP SIGNATURE-----