From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Abolishing ChangeLog files Date: Fri, 29 Mar 2013 01:04:35 +0400 Message-ID: <5154B063.2050904@yandex.ru> References: <87y5d9p5td.fsf@dex.adm.naquadah.org> <87vc8dtbcb.fsf@lifelogs.com> <871ub1gmdf.fsf@engster.org> <87d2ulovd0.fsf@dex.adm.naquadah.org> <85r4j0h1ww.fsf@member.fsf.org> <85li98h1qx.fsf@member.fsf.org> <87ehf0b3x2.fsf@uwakimon.sk.tsukuba.ac.jp> <87obe3gaem.fsf@engster.org> <87ip4bj1ay.fsf_-_@earth.home> <83wqsrwkim.fsf@gnu.org> <87a9pn5tlf.fsf@yandex.ru> <83txnvwhqw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364504700 21149 80.91.229.3 (28 Mar 2013 21:05:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Mar 2013 21:05:00 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 28 22:05:26 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ULK0e-0007DM-UO for ged-emacs-devel@m.gmane.org; Thu, 28 Mar 2013 22:05:21 +0100 Original-Received: from localhost ([::1]:59467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULK0G-0006Gs-Ns for ged-emacs-devel@m.gmane.org; Thu, 28 Mar 2013 17:04:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULK09-0006Gg-TB for emacs-devel@gnu.org; Thu, 28 Mar 2013 17:04:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULK05-00057O-AJ for emacs-devel@gnu.org; Thu, 28 Mar 2013 17:04:49 -0400 Original-Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:60163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULJzz-0004sz-8A; Thu, 28 Mar 2013 17:04:39 -0400 Original-Received: by mail-la0-f46.google.com with SMTP id fq12so18221715lab.5 for ; Thu, 28 Mar 2013 14:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding:x-antivirus:x-antivirus-status; bh=CCuBvjtzs2i95e1TCfB6LQ+ZfeNgdoZIbglNYRrUQ20=; b=oCgxTDqv9DS5u1NOh0BKtlhAwD+hIEcQDH1yoOMoJmuaKdnvVgObeTD5JfJYY9JGWC sHY5yDsOAOWc2wzR+S5n+Vjl/QN4clhYhFxIABV07BxNMN9oaCmCdo9d9x8SdbyJbDMP K+tWrb8bY4/IV03HlWLIanzVNqwKD813DEdMxDmUrDsfCR9XHL8eNUzaRGSaBjM1NDX/ 8k5mHGLRh0oiJvfQ8Qh/ftgApQp4KQxXkew/kA8r3ko4MZ2SL75quaa6L4aD5ukwFj8o nffdL5aQyeCvCehKcieYw8QMFZ83NV9FgZv/ONTMYI2NdcgJNMwORFZNFmdMDeWYjGVP gPTg== X-Received: by 10.152.28.3 with SMTP id x3mr37114lag.27.1364504678116; Thu, 28 Mar 2013 14:04:38 -0700 (PDT) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPS id iq6sm52178lab.10.2013.03.28.14.04.36 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Mar 2013 14:04:37 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <83txnvwhqw.fsf@gnu.org> X-Antivirus: avast! (VPS 130328-0, 28.03.2013), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158386 Archived-At: On 28.03.2013 21:34, Eli Zaretskii wrote: >> From: Dmitry Gutov >> Date: Thu, 28 Mar 2013 21:20:44 +0400 >> Cc: Stefan Monnier , emacs-devel@gnu.org >> >>> D:\gnu\bzr\emacs\trunk>timep bzr log --line -l5000 > nul >>> >>> real 00h00m00.921s >>> user 00h00m00.875s >>> sys 00h00m00.062s >>> >>> $ time git log --oneline -n5000 > /dev/null >>> >>> real 0m0.218s >>> user 0m0.015s >>> sys 0m0.015s >>> >>> I hope you at least won't claim that 900 msec is "much more quickly" >>> than 200 msec. (Not that anyone should ever need to look at 5000 >>> revisions.) >> >> Your conclusion here seems to be the reverse of what the command output >> shows (900ms for Bazaar and 200ms for Git). > > It was a typo. See my followup message. I saw it after I sent the reply. To answer your question, then, yes, 4.5 times faster indeed is "much more quickly". The difference here is not critical, but nice to have. >> In my experience, Bzr is especially slow when showing log for a subtree >> or a specific file. > > I could ask you to show numbers (because I have no such experience), > but I won't. No one in this thread wants any serious discussion, > anyway. I would send you the numbers if you pointed me at the mingw port of 'time' you're apparently using. But here's an example command: git log lisp\progmodes\ruby-mode.el | less It takes about 300ms on the first run and is instantaneous after that. If I call the respective command in a Bazaar repository, it takes about 4 seconds on every run, Bazaar doesn't seem to do any caching here. Note that I'm using version 2.5.1, it could be better in the latest beta. Anyway, the most important speedup I expect to see is the time it takes to do "git pull" vs "bzr update". I haven't done any real testing there yet, but the latter command takes entirely too long. Of course, most of that is due to the server being overloaded. Speaking of removing changelogs, I think the foremost challenge is keeping the format. We don't have anything similar to `add-change-log-entry' for the log-edit buffer, and I'm not sure how that would even work.