From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Earl Newsgroups: gmane.comp.version-control.bazaar-ng.general,gmane.emacs.devel Subject: Re: Emacs Bazaar Repository II Date: Wed, 22 Oct 2008 15:40:14 -0600 Message-ID: <87y70gqpfl.fsf@notengoamigos.org> References: <87skr26cba.fsf@workhorse.earlhome> <87d4htd2ll.fsf@yahoo.com> <20081022204613.51dbb54f@terra.solaris> <873aios6ap.fsf@notengoamigos.org> <48FF9576.8040401@arbash-meinel.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224711642 29851 80.91.229.12 (22 Oct 2008 21:40:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 21:40:42 +0000 (UTC) Cc: Christian Faulhammer , bazaar@lists.canonical.com, Daniel Clemente , emacs-devel@gnu.org To: John Arbash Meinel Original-X-From: bazaar-bounces@lists.canonical.com Wed Oct 22 23:41:41 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 1KslSQ-0001qv-Pb for gcvbg-bazaar-ng@m.gmane.org; Wed, 22 Oct 2008 23:41:34 +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 1KslRH-0005gH-Cr; Wed, 22 Oct 2008 22:40:23 +0100 Original-Received: from out02.mta.xmission.com ([166.70.13.232]) by chlorine.canonical.com with esmtp (Exim 4.60) (envelope-from ) id 1KslRF-0005g0-8Q for bazaar@lists.canonical.com; Wed, 22 Oct 2008 22:40:21 +0100 Original-Received: from mx04.mta.xmission.com ([166.70.13.214]) by out02.mta.xmission.com with esmtp (Exim 4.62) (envelope-from ) id 1KslRs-00017N-DL; Wed, 22 Oct 2008 15:41:00 -0600 Original-Received: from jearl.fttp.xmission.com ([166.70.233.10] helo=workhorse.earlhome) by mx04.mta.xmission.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KslZk-0007Fi-IG; Wed, 22 Oct 2008 15:49:09 -0600 Original-Received: from nat.visiongrp.com ([65.162.166.20] helo=jearl-laptop) by workhorse.earlhome with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KslRC-0004Q2-AL; Wed, 22 Oct 2008 15:40:18 -0600 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwEAAAAAAi+XoYAAAACXBIWXMAABKbAAASmwHgklkM AAAACXZwQWcAAAAwAAAAMADO7oxXAAABn0lEQVRYw7VY0bECMQikBftvwG+bsBu/LMC5iTEEFpYb zsmM+kLCXhbY8E4e79fz9Xy8j2/8ucac9dZ4r4wN0ZgO47+z3ccQtmTaD9e3+xgLhu8uAiznC6QI wI6I3U+IiyhC7msApSDj599j0aKoA1CiKAdgDLQB2hT1AChFs+j/lkVxod3uy9qkCBOlrc0sstHQ zLezaCUiXmetGvoHMINl1d2OfRbfFX5GGEHshP68eq6cRfwB9iQ4AVCDx1VyIk3PV8mEuICiSEpG mEs3Wg4fa1WxDhhI5H6coU1RBnAJRUzOLzhBFuQ2RRlEMYtqUpEUWq+SNZR3X6CIi91+N0Cxw203 lm/U1kdC/Wvf7SWhf0ftuu659/32ApL9uL4ZQVcmToFht5CC9VwremaPrCrIeMHK47EUC0E5TaNa rBRSqZJzRWetI5HriIDpoA2QORhLWPtO5JorOjtBA6Afg2+a5kHOsoyniMR5vooeu9CCEtuF1WL+ jzgWa1DJ/lWBFbvd7uU6sot9kvx1B3sZ4u1idX618vstgFp8f3f4PR9Y+Ouu/IUoxgAAAEV6VFh0 Y29tbWVudAAAeNpT8MxNTE9VSE/NSy1KLElNUUiqVHD3C1Vwz8gvLilOLsosKFHQSEkty0xOtS3I yy1KLNfkAgDinBJPLRajJgAAABp6VFh0anBlZzpjb2xvcnNwYWNlAAB42jMEAAAyADIppJqJAAAA IXpUWHRqcGVnOnNhbXBsaW5nLWZhY3RvcgAAeNozrDAEAAG3ANuDL4RgAAAAAElFTkSuQmCC In-Reply-To: <48FF9576.8040401@arbash-meinel.com> (John Arbash Meinel's message of "Wed, 22 Oct 2008 16:04:54 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-XM-SPF: eid=; ; ; mid=; ; ; hst=mx04.mta.xmission.com; ; ; ip=166.70.233.10; ; ; frm=jearl@notengoamigos.org; ; ; spf=none X-XM-DomainKey: sender_domain=notengoamigos.org; ; ; sender=jearl@notengoamigos.org; ; ; status=no signature X-SA-Exim-Connect-IP: 166.70.233.10 X-SA-Exim-Rcpt-To: emacs-devel@gnu.org, dcl441-bugs@yahoo.com, bazaar@lists.canonical.com, opfer@gentoo.org, john@arbash-meinel.com X-SA-Exim-Mail-From: jearl@notengoamigos.org X-Spam-DCC: XMission; sa04 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa04.xmission.com X-Spam-Level: X-Spam-Status: No, score=-1.3 required=8.0 tests=ALL_TRUSTED,BAYES_20, DCC_CHECK_NEGATIVE,SARE_LWSHORTT,T_TM2_M_HEADER_IN_MSG,XM_SPF_Neutral autolearn=disabled version=3.2.5 X-Spam-Combo: ;John Arbash Meinel X-Spam-Relay-Country: X-Spam-Report: * -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP * 1.2 SARE_LWSHORTT BODY: SARE_LWSHORTT * 0.0 T_TM2_M_HEADER_IN_MSG BODY: T_TM2_M_HEADER_IN_MSG * -0.7 BAYES_20 BODY: Bayesian spam probability is 5 to 20% * [score: 0.1897] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa04 1397; Body=1 Fuz1=1 Fuz2=1] * 0.0 XM_SPF_Neutral SPF-Neutral X-SA-Exim-Version: 4.2.1 (built Thu, 07 Dec 2006 04:40:56 +0000) X-SA-Exim-Scanned: Yes (on mx04.mta.xmission.com) 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:48451 gmane.emacs.devel:104869 Archived-At: John Arbash Meinel writes: > Jason Earl wrote: >> Christian Faulhammer writes: >>=20 >>> Hi, >>> >>> Daniel Clemente : >>> >>>> The operation I use most is =E2=80=9Elog=E2=80=9C: 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 >>=20 >> 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. >>=20 >> time bzr log > /dev/null >>=20 >> real 2m7.347s >> user 1m52.223s >> sys 0m1.152s >>=20 >> Even worse, just getting the last 10 revisions is also ridiculously >> slow. >>=20 >> time bzr log -r -10.. > /dev/null=20 >>=20 >> real 1m5.250s >> user 0m59.520s >> sys 0m0.320s >>=20 >> 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. >>=20 >> 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. >>=20 >> Jason Earl >>=20 >>=20 > > Try "bzr log --short -r -10..-1 >/dev/null" Oh yeah, that's the stuff. That finished in less than a second. More importantly (to me anyway) straight bzr log --short starts spitting out information to the console immediately. Now I can do bzr log --short | less And see the most recent changes instantly. I think that it is time for me to create an alias. The command still takes a while to finish (1m28s on my crappy laptop), but I don't care, because the bits I want appear immediately. > 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. --short is a lot better. I miss the fancier layout a little, but not enough to want to go back to waiting 2 minutes. > 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. Actually, the repository I am testing is already in development2 format. jearl@jearl-laptop:~/projects/emacs/trunk$ bzr info Repository branch (format: development2) Location: shared repository: /home/jearl/projects/emacs repository branch: . Related branches: parent branch: bzr://bzr.notengoamigos.org/emacs/trunk/ I probably should have mentioned that when I forwarded my "benchmarks", but to be honest, I forgot that I had upgraded :). > (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") I updated my bzr to the most recent bzr.dev before testing. I'd forgotten that I had already updated the repository format, but I've been using bzr long enough to know that a lot of progress has been made in a ridiculously short time. If your version of bzr is even a month old then you are basically using a relic :). > If you are willing to do it, it would be interesting to see the > result. Unfortunately, I'm pretty sure my original benchmarks included your improvements. The normal log command is painfully slow on the emacs repository. Even worse, it doesn't even start spitting out text forever. When using the --short flag it still takes over a minute, but since there is output immediately it doesn't seem bad at all. Jason Earl