all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mathias Megyei <mathias@mnet-mail.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: bazaar@lists.canonical.com,
	Daniel Clemente <dcl441-bugs@yahoo.com>,
	emacs-devel@gnu.org
Subject: Re: Emacs Bazaar Repository II
Date: Sun, 26 Oct 2008 21:08:37 +0100	[thread overview]
Message-ID: <1225051717.6593.12.camel@surlej> (raw)
In-Reply-To: <uabcrxi3x.fsf@gnu.org>

On Sun, 2008-10-26 at 21:37 +0200, Eli Zaretskii wrote:
> > From: Daniel Clemente <dcl441-bugs@yahoo.com>
> > Date: Sun, 26 Oct 2008 18:33:23 +0100
> > Cc: bazaar@lists.canonical.com
> > 
> > Comparison of „time bzr log >/dev/null“ of emacs-merges:
> > 
> > With repository format: pack-0.92
> > log: 4m 20s
> > log --short: 3m 17s
> > 
> > With repository format: development2
> > log: 3m 4s
> > log --short: 2m 10s
> > 
> > git: 0m 7s
> 
> It is meaningless to time a command whose main output is redirected to
> the null device, because a clever program could simply do nothing in
> that case.  (I have no idea whether git does that.)
> 
> The `log' command exists to produce output, so please either time it
> when it outputs to the screen or redirect to a real file, because
> that's the practical use-case that should be of interest.

Git instantly displays the first page with the most recent
(and most interesting) commits:

 time git log -5
commit 606f8f94cc6288532d7fee9349ac4da98a9ac34b
Author: Juanma Barranquero <lekktu@gmail.com>
Date:   Thu Oct 23 13:46:17 2008 +0000

    Update.

.....

real	0m0.346s
user	0m0.000s
sys	0m0.020s

(Measured with "cold" cache on a Laptop 
 with Intel Core2duo U7500  @ 1.06GHz)

So in case of Git the first page is shown in practical use-cases in
less than 1s.
I have no idea whether Bzr is able to show the first commits while
computing the others in background.

Best Regards,

Mathias





  reply	other threads:[~2008-10-26 20:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-11 21:39 Emacs Bazaar Repository II Jason Earl
2008-10-19 23:56 ` Martin Pool
2008-10-21 22:07   ` Daniel Clemente
2008-10-22 18:46     ` Christian Faulhammer
2008-10-22 20:50       ` Jason Earl
2008-10-22 21:04         ` John Arbash Meinel
2008-10-22 21:40           ` Jason Earl
2008-10-22 22:16             ` Aaron Bentley
2008-10-26 17:33           ` Daniel Clemente
2008-10-26 19:37             ` Eli Zaretskii
2008-10-26 20:08               ` Mathias Megyei [this message]
2008-10-26 21:59             ` Robert Collins
2008-10-26 23:34               ` Andreas Schwab
2008-10-22 21:22       ` Daniel Clemente
2008-10-23 14:25         ` John Arbash Meinel

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=1225051717.6593.12.camel@surlej \
    --to=mathias@mnet-mail.de \
    --cc=bazaar@lists.canonical.com \
    --cc=dcl441-bugs@yahoo.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.