[RFC] Faster commit - more progress and call for input
Goffredo Baroncelli
kreijack at tiscalinet.it
Thu May 31 23:18:30 BST 2007
On Thursday 31 May 2007, Ian Clatworthy wrote:
[...]
> It now seems that
> gnome-terminal is at least as guilty. Here are some times for checking
> in a Mozilla tree of 55k files:
>
> Progressive writes to stdout: 25m52s
> Progressive writes to stdout > /dev/null: 15m33s
> All writes to stdout but at the end: 16m41s
> All writes to stdout but at the end > /dev/null: 16m24s
>
For what matters:
ghigo at venice:~$ gnome-terminal -e "time -po /tmp/log python -c 'print
(\"x\"*40+\"\n\")*1000000;'";
ghigo at venice:~$ cat /tmp/log
real 109.87
user 0.08
sys 0.57
ghigo at venice:~$ xterm -e sh -c "time -po /tmp/log python -c 'print
(\"x\"*40+\"\n\")*1000000;'";
ghigo at venice:~$ cat /tmp/log
real 117.11
user 0.10
sys 1.21
ghigo at venice:~$ konsole -e sh -c "time -po /tmp/log python -c 'print
(\"x\"*40+\"\n\")*1000000;'";
kdecore (KProcess): WARNING: _attachPty() 11
ghigo at venice:~$ cat /tmp/log
real 26.55
user 0.08
sys 1.11
ghigo at venice:~$ aterm -e sh -c "time -po /tmp/log python -c 'print
(\"x\"*40+\"\n\")*1000000;'";
ghigo at venice:~$ cat /tmp/log
real 4.06
user 0.09
sys 1.24
ghigo at venice:~$ rxvt -e sh -c "time -po /tmp/log python -c 'print
(\"x\"*40+\"\n\")*1000000;'";
ghigo at venice:~$ cat /tmp/log
real 4.53
user 0.09
sys 1.54
Conclusion: gnome-terminal is 4 time slower than konsole; rxvt is 6 times
faster than konsole; xterm is slow as gnome-terminal. aterm is fast as
rxvt...
[$ cat /etc/issue
Ubuntu 7.04 \n \l
$ uname -a
Linux venice 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64
GNU/Linux]
Goffredo
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack at inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
More information about the bazaar
mailing list