From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: vc-print-log vs. bzr log Date: Sat, 15 Sep 2012 18:04:24 +0200 Message-ID: <871ui3clx3.fsf@rosalinde.fritz.box> References: <87ipbfcu4o.fsf@rosalinde.fritz.box> <878vcbcp1p.fsf@rosalinde.fritz.box> <83pq5ns32a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1347725075 22717 80.91.229.3 (15 Sep 2012 16:04:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2012 16:04:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 15 18:04:38 2012 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 1TCurD-00026J-6k for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2012 18:04:35 +0200 Original-Received: from localhost ([::1]:56373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCur9-0005lC-AE for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2012 12:04:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCur7-0005kZ-4K for emacs-devel@gnu.org; Sat, 15 Sep 2012 12:04:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCur6-0005y1-3S for emacs-devel@gnu.org; Sat, 15 Sep 2012 12:04:28 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:48386) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TCur5-0005xq-Pk for emacs-devel@gnu.org; Sat, 15 Sep 2012 12:04:28 -0400 Original-Received: (qmail invoked by alias); 15 Sep 2012 16:04:26 -0000 Original-Received: from i59F54D73.versanet.de (EHLO rosalinde.fritz.box) [89.245.77.115] by mail.gmx.net (mp069) with SMTP; 15 Sep 2012 18:04:26 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19rkc0q8ZlrLS+QzIn5SV5kJFFcoVL+bChRPE5ZjJ uKajo3dML/Zj6Z In-Reply-To: <83pq5ns32a.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Sep 2012 18:45:01 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 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:153328 Archived-At: On Sat, 15 Sep 2012 18:45:01 +0300 Eli Zaretskii wrote: >> From: Stephen Berman >> Date: Sat, 15 Sep 2012 16:56:50 +0200 >>=20 >> I understand that, but =C2=B119 seconds vs <1 second? Is that the best = VC >> can do? > > If you see very different times inside and outside Emacs, then indeed > something might be wrong with VC. But before you conclude that, I'd > suggest to look up the commands that Emacs ran in your ~/.bzr.log, and > then run them, verbatim, from the shell prompt. Here's a comparison between the shell command with M-!: Sat 2012-09-15 16:46:33 +0200 0.182 bazaar version: 2.5.1 0.182 bzr arguments: [u'log', u'-r-1', u'/data/steve/bzr/emacs/quickfixes/= lisp/gnus/gnus-group.el'] 0.186 looking for plugins in /home/steve/.bazaar/plugins 0.196 looking for plugins in /usr/lib64/python2.7/site-packages/bzrlib/plu= gins 0.226 looking for plugins in /usr/lib/python2.7/site-packages/bzrlib/plugi= ns 0.240 encoding stdout as osutils.get_user_encoding() 'utf-8' 0.309 opening working tree '/data/steve/bzr/emacs/quickfixes' 0.417 encoding stdout as osutils.get_user_encoding() 'utf-8' 0.480 return code 0 and `C-u C-x v l RET RET' on the same file: Sat 2012-09-15 17:56:19 +0200 0.167 bazaar version: 2.5.1 0.167 bzr arguments: [u'log', u'-l', u'1', u'gnus-group.el'] 0.171 looking for plugins in /home/steve/.bazaar/plugins 0.179 looking for plugins in /usr/lib64/python2.7/site-packages/bzrlib/plu= gins 0.203 looking for plugins in /usr/lib/python2.7/site-packages/bzrlib/plugi= ns 0.211 encoding stdout as osutils.get_user_encoding() 'utf-8' 0.277 opening working tree '/data/steve/bzr/emacs/quickfixes' 0.359 encoding stdout as osutils.get_user_encoding() 'utf-8' 18.561 return code 0 What is happening between the last two entries that takes 18 seconds? Steve Berman