Wednesday, October 10, 2007

CMD.EXE Is 32 Times Slower Than Gnome-Terminal!

Linux has an abundance of excellent terminal applications. Since I use the command line a lot, I want text output that is as fast as possible. Interestingly, I did not ever manage to find any decent comparison of their effectiveness in terms of speed, memory consumption and ease of use. And I was of the opinion that the ubiquitous xterm was a likely candidate for a terminal with less memory footprint. Well I couldn't have been further from the truth.

Martin Ankerl benchmarked a number of terminals available in Linux including xterm, gnome-terminal, KDE konsole, wterm, eterm and aterm. He even included MS Windows' CMD.EXE for comprehensive comparison. Well, his results surprised me a lot. The two most weird facts are:
  • CMD.EXE is almost 32 times slower than gnome-terminal! (OMG...)
  • Xterm which is probably the most widely used terminal, is also the slowest one
And his findings indicate gnome-terminal and konsole as the best choice of terminals for its speed. And by speed I mean the speed of execution of commands in it and not the program's startup time. But the down side is that these two terminals consume a significant amount of memory. For example, Gnome-terminal is found to consume around 45 MB.

Martin states that he found wterm as the best bet for a low memory footprint with just 6.5 MB consumption. And it is sufficiently fast in executing. xterm loses in this department too with each instance consuming around 16 MB.

Take a look at full benchmark details.

For the impatient here is the brief conclusion:
  • If you want speed, use gnome-terminal or konsole.
  • If you are low on memory, use wterm, rxvt, or Eterm.
  • xterm is slow.

AddThis Social Bookmark Button

6 comments:

pasqoo said...

thanks for info :)

Oleg Smetanin said...

You're welcome! ;)

Endingat said...

滤油机真空滤油机专业生产厂商-重庆市陆顺科技发展有限公司
如何创业阳关道
Lushun Scientific & Technological Development Co.,Ltd. is a high-tech enterprise for researching, designing, developing, and producing:
oil purifier
oil recycling machine
oil purification
oil regeneration machine
怎么创业最轻松?
怎样创业才能成功?

janewangleilei said...

You can have a look at it.
jordan shoes
jordan ajf shoes
There are cheap shoes to choose
jordan 6
jordan flight 45
Good quality with low price.
air jordan 2010
Air Jordan 2009
Enjoy it!
jumpman
jordan 28
Wow.
newest jordans
jordan 7
Wonderful!
air yeezy
jordan true flight
If you like,you can contact us.
jordan 3
jordan 4
We offer different styles.
jordan 1
jordan 2
Thanks.
jordan 5

aiya said...

Office 2010is powerful!Microsoft Office 2010is the best software in the world.Microsoft wordis so great!Office 2007makes life great!Many people likeMicrosoft Office.
Microsoft Office 2007is welcomed by the whole world. Office 2007 keyis available here.Office 2007 downloadis on sale now!
Office 2007 Professionalbring me so much convenience.Outlook 2010 make life wonderful!
Microsoft outlook is my love.Microsoft outlook 2010 is convenient!Windows 7 is convenient!

jimmychooshoes said...

Christian Louboutin black fold-over boots |Christian Louboutin black fold-over boots
Alexander McQueen Over-The-Knee Flat Boots |Alexander McQueen Over-The-Knee Flat Boots
Alexander McQueen Leather riding tall boots |Alexander McQueen Leather riding tall boots
Alexander McQueen Buckled leather ankle boots |Alexander McQueen Buckled leather ankle boots