From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthieu Moy Newsgroups: gmane.comp.version-control.bazaar-ng.general,gmane.emacs.devel Subject: Re: Emacs Bazaar repository Date: Fri, 14 Mar 2008 13:24:14 +0100 Message-ID: References: <87skyvse7k.fsf@xmission.com> <86ejae96t4.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205497562 20758 80.91.229.12 (14 Mar 2008 12:26:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 12:26:02 +0000 (UTC) Cc: bazaar@lists.canonical.com, David Kastrup , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: bazaar-bounces@lists.canonical.com Fri Mar 14 13:26:27 2008 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 1Ja8zO-0001md-Je for gcvbg-bazaar-ng@m.gmane.org; Fri, 14 Mar 2008 13:26:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.60) (envelope-from ) id 1Ja8yn-0006r8-8R; Fri, 14 Mar 2008 12:25:45 +0000 Original-Received: from imag.imag.fr ([129.88.30.1]) by chlorine.canonical.com with esmtp (Exim 4.60) (envelope-from ) id 1Ja8yg-0006qg-2n for bazaar@lists.canonical.com; Fri, 14 Mar 2008 12:25:38 +0000 Original-Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by imag.imag.fr (8.13.8/8.13.8) with ESMTP id m2ECOFlL012265 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 14 Mar 2008 13:24:16 +0100 (CET) Original-Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Ja8xK-0006Ej-VR; Fri, 14 Mar 2008 13:24:14 +0100 Original-Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1Ja8xK-0001ZG-Sm; Fri, 14 Mar 2008 13:24:14 +0100 In-Reply-To: (Andreas Schwab's message of "Fri\, 14 Mar 2008 11\:42\:32 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (imag.imag.fr [129.88.30.1]); Fri, 14 Mar 2008 13:24:17 +0100 (CET) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr 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:38555 gmane.emacs.devel:92534 Archived-At: Andreas Schwab writes: > Matthieu Moy writes: > >> That said, the time for bzr log to start should clearly not be _that_ >> long. I suspect it's done on a light checkout (therefore needing >> network access), which git can't do at all for example. > > There is definitely no network access involved, it is almost 100% CPU > time. Yes, right. Just reproduced here (perhaps with a faster machine than yours) : $ time bzr log | head -1 ------------------------------------------------------------ bzr log 21.17s user 0.28s system 99% cpu 21.578 total head -1 0.00s user 0.00s system 0% cpu 21.523 total $ bzr --version Bazaar (bzr) 1.3.0.dev.0 [...] $ bzr info Standalone tree (format: pack-0.92) [...] While on the git repo for Emacs, $ time git log | head -1 commit 04eb7b6c65c8ec7550afb9cf317f51a1470f947c git log 0.00s user 0.00s system 64% cpu 0.012 total head -1 0.00s user 0.00s system 34% cpu 0.012 total Similarly, I tested a commit touching a single file (echo foo >> README), it takes 17 seconds with bzr, and 0.08 seconds with git.