All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: git@vger.kernel.org
Subject: Is cogito really this inefficient
Date: Wed, 13 Jul 2005 13:50:52 +0100	[thread overview]
Message-ID: <20050713135052.C6791@flint.arm.linux.org.uk> (raw)

This says it all.  1min 22secs to generate a patch from a locally
modified but uncommitted file.

cp, edit, diff would be several orders of magnitude faster.  What's
going on?

$ /usr/bin/time cg-diff drivers/serial/8250.c > o
Command exited with non-zero status 1
14.40user 17.47system 1:22.96elapsed 38%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (180major+14692minor)pagefaults 0swaps

diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2333,6 +2333,7 @@ static int __devinit serial8250_probe(st
 			dev_err(dev, "unable to register port at index %d "
 				"(IO%lx MEM%lx IRQ%d): %d\n", i,
 				p->iobase, p->mapbase, p->irq, ret);
+			printk(KERN_ERR "uartclk was %d\n", port.uartclk);
 		}
 	}
 	return 0;

-- 
Russell King

             reply	other threads:[~2005-07-13 12:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-13 12:50 Russell King [this message]
2005-07-13 16:51 ` Is cogito really this inefficient Matthias Urlichs
2005-07-14  7:38   ` Russell King
2005-07-13 20:28 ` Linus Torvalds
2005-07-14  7:37   ` Russell King
2005-07-14  9:08     ` Catalin Marinas
2005-07-14  9:59       ` Russell King
2005-07-14 15:51         ` Linus Torvalds
2005-07-15  0:29           ` Linus Torvalds
2005-07-15  2:10             ` Junio C Hamano
2005-07-15  9:48             ` Russell King
2005-07-14 15:26     ` Linus Torvalds
2005-07-19 23:54       ` Petr Baudis

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=20050713135052.C6791@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=git@vger.kernel.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.
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.