Le samedi 11 avril 2009 à 07:18 +1000, Paul Szabo a écrit :
> p...@asi:~$ dpkg -l gnome-terminal
> ii  gnome-terminal 2.22.1-0ubuntu The GNOME 2 terminal emulator application
> p...@asi:~$ ps --no-headers -p $PPID
>  5637 pts/1    00:00:04 gnome-terminal
> p...@asi:~$ time perl -e '$|=0; foreach $x (1..500) { print "x" 
> foreach(1..$x); print " $x\n" }'
> real  0m0.932s
> p...@asi:~$ time perl -e '$|=1; foreach $x (1..500) { print "x" 
> foreach(1..$x); print " $x\n" }'
> real  0m1.184s
> 
> Please comment on why does flushed output take so long in the X server,
> and why is gnome-terminal so inefficient. Actually improving them would
> be appreciated.

I have just made the test with gnome-terminal 2.24, and it is noticeably
faster than rxvt on my desktop. (500ms compared to 700ms).

-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to