git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is cogito really this inefficient
@ 2005-07-13 12:50 Russell King
  2005-07-13 16:51 ` Matthias Urlichs
  2005-07-13 20:28 ` Linus Torvalds
  0 siblings, 2 replies; 13+ messages in thread
From: Russell King @ 2005-07-13 12:50 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-07-19 23:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13 12:50 Is cogito really this inefficient Russell King
2005-07-13 16:51 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).