🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4587

Re: Gawk v24.7: Why Bother???

#4587
From: Bela Lubkin
Date: Sun, 30 Apr 1995 00:00
30 lines
2013 bytes
Gert Doering wrote:

> Tom Christiansen <tchrist@mox.perl.com> writes:
> 
> >Oh my! But perl really is very slow to start up: on my abysmally slow
> >and overloaded sparc classic, it takes 4.58 user seconds and 14.22
> >systems seconds to run an empty perl program -- ONE HUNDRED TIMES.
> >That's a whopping 0.0458 user seconds and 0.1422 system seconds per
> >run.  Obviously this is too much overhead for a small program.
> 
> Ummm... on my SCO Unix machine (486dx2-66, 40 Mb RAM), it takes about 5-10
> seconds to start up *per invocation*... now *that* is what I'd call slow
> startup :(

Wow, something is seriously wrong with your machine!  On my housemate's
SCO system (3.2v4.2, 486/66DX2, 32MB RAM), starting perl 5.000 100 times
takes 1.68s user time, 2.99s sys time.  That's over 4x as fast as Tom's
SPARC Classic.  Over 100x faster than your system.  Uh, is that realtime
or CPU time?  Run `timex perl </dev/null`.  Maybe it's a DNS problem
causing perl to pause during startup?

Maybe we'd better define our benchmarks; an "empty perl program" could
have several meanings.  I ran:

  timex ksh -c 'i=0; while [ $i -lt 100 ]; do let i=i+1; perl; done' </dev/null

The quoted times are the average of four runs (there was little variance
between the runs).

>Bela<
Technical Details
Message-ID: <1995Apr30.124039.20269@sco.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3n8qt8$shf@smurf.noris.de> <ABC3E1B396688C61A@fma0.demon.co.uk> <3nmj78$gc0@csnews.cs.colorado.edu> <D7oxtF.Kw@greenie.muc.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1012a6,4df32fd703a6b724
X-Google-Attributes: gid1012a6,public
X-Google-Thread: 10259a,c6417ab4174dabc8
X-Google-Attributes: gid10259a,public
X-Google-Thread: 1025b4,4df32fd703a6b724
X-Google-Attributes: gid1025b4,public
From: belal@sco.com (Bela Lubkin)
Subject: Re: Gawk v24.7: Why Bother???
Date: 1995/04/30
Message-ID: <1995Apr30.124039.20269@sco.com>
X-Deja-AN: 101743630
sender: news@sco.com (News admin)
references: <3n8qt8$shf@smurf.noris.de> <ABC3E1B396688C61A@fma0.demon.co.uk> <3nmj78$gc0@csnews.cs.colorado.edu> <D7oxtF.Kw@greenie.muc.de>
organization: SCO, Inc.
newsgroups: comp.unix.shell,gnu.misc.discuss,comp.lang.perl