Hi All,

I've got two machines here which are pretty crappy but there seems to be
something seriously wrong somewhere.  One machine, a Pentium 200 MMX
with 80MB ram runs a very simple script taking 5 seconds.

t@data:~$ cat test.pl
use diagnostics;
use strict;

print "hi\n";
t@data:~$ time perl test.pl
hi

real    0m5.105s
user    0m4.990s
sys     0m0.100s

The same script without the use diagnostics and use strict provides a
much faster execution.

t@data:~$ time perl test.pl
hi

real    0m0.113s
user    0m0.060s
sys     0m0.050s
t@data:~$ cat test.pl
print "hi\n";

I'm actually trying to setup a CGI script and it appears very slow.  I
tracked the majority of the speed problems to those two statements.  Is
this normal or do I need to run these scripts on a faster computer?  I
would think that should not be necessisary.

Help!? :-)

Thanks,
Trevor.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to