all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: 23 branch - can't push - lock
Date: Fri, 17 Jun 2011 09:57:43 -0400	[thread overview]
Message-ID: <2B735F1F-756A-461D-A4D0-562AAC9BE17A@gmail.com> (raw)
In-Reply-To: <83aadhy1vg.fsf@gnu.org>

On Jun 16, 2011, at 4:09 PM, Eli Zaretskii wrote:
>> First page only:  
>> real    0m3.594s  [faster when repeated,i.e., in cache]
> 
> What kind of machine is that?  On my 6-year-old Windows box with a
> single 3 GHz core, I get this:

Core i7, 2.6GHz, 4GB RAM. 

> And anyway, 3.5 sec is hardly significantly different from 0.8, for
> producing something that a human needs to _read_.

Actually, I disagree.  A modern interface should not make the user wait that long - I would estimate anything beyond 30ms is discernible, and anything beyond 1s may be seen as interrupting someone's workflow.
At some point, people (perhaps including you) did an awesome job making Emacs start up fast.   I have had many complaints from Aquamacs users because it didn't start up as fast (loading a few more libraries, etc) - and we're talking 3-4 seconds here.

Just getting the first pages of a log should happen instantly - this is an operation one does all the time.  I'd find the timing you get acceptable, but mine is just sluggish.
(And I agree, vc-annotate should also be reasonably fast, even though I'd accept a few seconds delay here).


>> The merge of a single revision (-c) also took a long time.
> 
> How long is "long" in this case?  (You can look it up in your
> ~/.bzr.log file, it logs the time and network throughput/speed of each
> command, something I've searched high and low in git and couldn't
> find.)

I started out with the wrong command, "bzr merge -c 104024", because I thought that the revision ID is unique (sorry, Git thinking).  It took 65 seconds to give me an error message!
And the wording of the error message wasn't even very user-level:

InvalidRevisionSpec: Requested revision: u'104024' does not exist in branch: BzrBranch7('file:///Users/dr/Projects/emacs/emacs-23/')

Then I did the right thing, and it took 112 seconds (see below).

> Thu 2011-06-16 11:07:41 -0400
> 0.070  bazaar version: 2.1.0
> 0.070  bzr arguments: [u'merge', u'-c', u'104024', u'../trunk']
> 0.084  looking for plugins in /Users/dr/.bazaar/plugins
> 0.138  looking for plugins in /Library/Python/2.6/site-packages/bzrlib/plugins
> 0.282  Returning RevisionSpec RevisionSpec_before for before:104024
> 0.283  encoding stdout as sys.stdout encoding 'us-ascii'
> 0.396  opening working tree '/Users/dr/Projects/emacs/emacs-23'
> [64363] 2011-06-16 11:09:25.819 INFO:  M  src/ChangeLog
> [64363] 2011-06-16 11:09:25.885 INFO:  M  src/nsmenu.m
> [64363] 2011-06-16 11:09:25.885 WARNING: Text conflict in src/ChangeLog
> [64363] 2011-06-16 11:09:25.885 WARNING: Text conflict in src/nsmenu.m
> [64363] 2011-06-16 11:09:31.749 INFO: 2 conflicts encountered.
> 112.112  Transferred: 0KiB (0.0K/s r:0K w:0K)
> 112.112  return code 1

I updated Bazaar after that to 2.3.1, and did the same merge a second time (this one may be much easier for Bzr now - I don't know).
It still took 20 seconds.    That's sluggish in my book.  
Is there a way to reset a branch to a previous commit, i.e., the equivalent of "git reset --hard"?  Then I could test this better.

With --no-plugins, the time is cut in half.  Better, but still sluggish.  I'll see if I can eliminate some plugins if they hurt performance so much.  Thanks for this hint.





  reply	other threads:[~2011-06-17 13:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 15:49 23 branch - can't push - lock David Reitter
2011-06-16 16:28 ` David Reitter
2011-06-16 21:44   ` Glenn Morris
2011-06-16 17:27 ` Eli Zaretskii
2011-06-16 17:44   ` David Reitter
2011-06-16 20:09     ` Eli Zaretskii
2011-06-17 13:57       ` David Reitter [this message]
2011-06-17 15:39         ` Eli Zaretskii
2011-06-17 19:19           ` UI / reaction time - was: " David Reitter
2011-06-17 21:59             ` chad
2011-06-19 13:42           ` Stephen J. Turnbull
2011-06-17 16:30         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2B735F1F-756A-461D-A4D0-562AAC9BE17A@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.