Article View: comp.unix.shell
Article #4613Re: Gawk v24.7: Why Bother???
From: Christopher B. Browne
Date: Fri, 28 Apr 1995 00:00
Date: Fri, 28 Apr 1995 00:00
27 lines
2080 bytes
2080 bytes
In article <3noddg$378@usenet.ins.cwru.edu>, Gabriel N. Schaffer <gns2@po.CWRU.Edu> wrote: >In a previous article, tchrist@mox.perl.com (Tom Christiansen) says: > >>:finally come down on the side of fast string mangling. It would need >>:rapid startup -- faster than the existing Perl -- but could do without > >>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. > >Just running perl 100 times in a row seems rather meaningless, because >after the first time (and on your machine Tom, probably before that), the >perl image is already in memory and doesn't need to be loaded off disk (or >perhaps NFS) each time. However, it is this one-time startup delay which >causes perl to seem slow to startup. Actually the 100 times *is* fairly relevant. If there's lots of little Perl programs on one's system doing things on a regular basis, that image will continue to be in memory to service each of them. -- Christopher Browne - cbbrown@io.org Microsoft Office - What you use when you don't have access to good software.
Technical Details
Message-ID:
<3nrl36$ndh@ionews.io.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3n8qt8$shf@smurf.noris.de> <ABC3E1B396688C61A@fma0.demon.co.uk> <3nmj78$gc0@csnews.cs.colorado.edu> <3noddg$378@usenet.ins.cwru.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10259a,c6417ab4174dabc8 X-Google-Attributes: gid10259a,public X-Google-Thread: 1025b4,4df32fd703a6b724 X-Google-Attributes: gid1025b4,public X-Google-Thread: 1012a6,4df32fd703a6b724 X-Google-Attributes: gid1012a6,public From: cbbrown@io.org (Christopher B. Browne) Subject: Re: Gawk v24.7: Why Bother??? Date: 1995/04/28 Message-ID: <3nrl36$ndh@ionews.io.org> X-Deja-AN: 101743727 references: <3n8qt8$shf@smurf.noris.de> <ABC3E1B396688C61A@fma0.demon.co.uk> <3nmj78$gc0@csnews.cs.colorado.edu> <3noddg$378@usenet.ins.cwru.edu> organization: Internex Online (io.org) Data: 416-363-4151 Voice: 416-363-8676 newsgroups: comp.unix.shell,gnu.misc.discuss,comp.lang.perl