From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Basic Bazaar guide for Emacs hackers. Date: Wed, 02 Dec 2009 19:29:08 +0100 Message-ID: <87zl612psb.fsf@telefonica.net> References: <87skbzblp5.fsf@telefonica.net> <87y6log42q.fsf@red-bean.com> <87y6lo8zgi.fsf@telefonica.net> <87638sy5ab.fsf@uwakimon.sk.tsukuba.ac.jp> <87tywc8u7t.fsf@telefonica.net> <87k4x76wpp.fsf@telefonica.net> <8e0e71cb0911302252v6a7c9f80j532308eb0a842816@mail.gmail.com> <4B14D4FC.8070509@gnu.org> <8e0e71cb0912010726k56f90cbbm8d96b5e0dd3a6b6f@mail.gmail.com> <837ht6ms94.fsf@gnu.org> <873a3u8o45.fsf@notengoamigos.org> <83ws16la2q.fsf@gnu.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 1259784247 29800 80.91.229.12 (2 Dec 2009 20:04:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2009 20:04:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 02 21:04:01 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NFvQe-0002Dp-BA for ged-emacs-devel@m.gmane.org; Wed, 02 Dec 2009 21:04:00 +0100 Original-Received: from localhost ([127.0.0.1]:56982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFvQe-000128-4q for ged-emacs-devel@m.gmane.org; Wed, 02 Dec 2009 15:04:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFtxj-00081y-E7 for emacs-devel@gnu.org; Wed, 02 Dec 2009 13:30:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFtxe-0007vC-Ma for emacs-devel@gnu.org; Wed, 02 Dec 2009 13:30:03 -0500 Original-Received: from [199.232.76.173] (port=55292 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFtxe-0007us-Ip for emacs-devel@gnu.org; Wed, 02 Dec 2009 13:29:58 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:38012) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NFtxe-0005tJ-4e for emacs-devel@gnu.org; Wed, 02 Dec 2009 13:29:58 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NFtxT-00006U-Cs for emacs-devel@gnu.org; Wed, 02 Dec 2009 19:29:47 +0100 Original-Received: from 112.red-83-38-73.dynamicip.rima-tde.net ([83.38.73.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Dec 2009 19:29:47 +0100 Original-Received: from ofv by 112.red-83-38-73.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Dec 2009 19:29:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 112.red-83-38-73.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:BJiKrQvgCwK4Xtu4nUE2EmOV1s8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118151 Archived-At: Stefan Monnier writes: [snip] >> received. (With a local branch, "bzr annotate" takes about 30 >> seconds, not exactly the speed of light, either.) > > Yes, it's a fairly slow operation, sadly. I encourage you to complain > to the Bazaar developers about it, Operations that traverse history are intrinsically slow in Bazaar. Some improvements can be made (microoptimizations, mostly) but they will never be as fast as CVS (and I'm talking about bzr with local history vs remote CVS server). OTOH, `log' and `annotate' with local history are CPU-bound. A `log' in almost any Emacs source file takes 6.2 seconds on a 2.4 GHz workstation-class CPU and 22 seconds on a netbook. Worse, the `log' does not produce any output until the end, and it requires the same time even when you use the -l command line option for limiting the output at the first N revisions. After I complained about this on Bazaar's ml, a developer is attempting to change `log' for outputting stuff as soon as possible and stop when the required number of revisions is met, but so far he is disappointed seeing that his change makes the total time required by a plain `bzr log' even larger. Of course this is a wrong POV, but they give a lot of importance to raw performance numbers. -- Óscar