From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: Real Bourne Shell for Linux?
Date: Mon, 27 Apr 1998 11:58:36 -0400 (EDT) [thread overview]
Message-ID: <199804271558.LAA11438@adder.cs.Virginia.EDU> (raw)
> 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
next reply other threads:[~1998-04-27 15:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-27 15:58 Greg Lindahl [this message]
1998-04-27 17:21 ` Real Bourne Shell for Linux? Sheer Panic
-- strict thread matches above, loose matches on Subject: below --
1998-04-27 15:51 brinkmann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox