From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24377 invoked from network); 27 Apr 1998 15:58:42 -0000 Received: from mail.virginia.edu (128.143.2.9) by mail2.redhat.com with SMTP; 27 Apr 1998 15:58:42 -0000 Received: from ares.cs.virginia.edu by mail.virginia.edu id aa11286; 27 Apr 98 11:58 EDT Received: from adder.cs.Virginia.EDU (adder-fo.cs.Virginia.EDU [128.143.136.11]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id LAA00268 for ; Mon, 27 Apr 1998 11:58:37 -0400 (EDT) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.7.5/8.7.3) id LAA11438 for axp-list@redhat.com; Mon, 27 Apr 1998 11:58:36 -0400 (EDT) Date: Mon, 27 Apr 1998 11:58:36 -0400 (EDT) Message-Id: <199804271558.LAA11438@adder.cs.Virginia.EDU> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: axp-list@redhat.com Subject: Re: Real Bourne Shell for Linux? > For example, the "shell benchmark", "while date; do date; done | uniq > -c", run on my Alpha EB164 (300 MHz) gives 317 per second using DU 3.2C > (real Bourne shell), 88 per second using Redhat Linux 5.0 with Bash and > 91 with Ash. This isn't a problem for those of us who can only type 40 > WPM, but it is a problem when executing a shell script. This isn't a shell benchmark. This is a process creation benchmark. Real shell scripts may or may not have a process creation bottleneck. They often spend much of their time passing data down pipes and using utilities. The best way to make a shell script fast is often to rewrite it in Perl. -- g