Up Prev Next
From: mpeppler at itf1 dot itf dot ch (Michael Peppler)
Subject: Re: Perl5 startup speed
Date: Mar 18 1996 6:56AM
> From: "Dave Cleary"
> We are trying to convert some of our old sybperl (4) cgi scripts
> to use Perl5. The good news is that most scripts work without
> modification (statements such as 'print "name@domain"' give an
> error about the un-escaped '@', which I can fix easily enough).
> The bad news is that the startup time for perl5 is significantly
> longer than perl4! Since the scripts are running in response to a web
> browser,adding 3-7 seconds to a 1 second script is quite noticable.
A couple of suggestions:
1. Don't use Sybase::CTlib.
As you've noticed, the startup time is terrible at the moment, and
is largely due to the number of shared libs that have to be brought
2. Use Sybase::DBlib - it's the fastest.
3. It may be possible to create a faster starting binary by
linking all the Sybase libs statically into a new perl binary.