PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Bass, John" <John dot Bass at Fidelity dot Co dot UK>
Subject: Syperl startup performance.
Date: Feb 8 1996 8:55AM

Hello,
     I have a performance problem with Sybperl 2.0.3, as 
follows....................


     1)   If I run a perl script which just has following line in it

               print "Hello World\n";

          The script will take just under 1second to execute.

     2)   But if I add the following line before the print line

               use Sybperl::CTlib;

          The script  takes about 4-5 seconds to run. I am aware CTlib has
          a large overhead when starting up, but this still seems too long.

     3)   If I replace the CTlib line with the following

               use Sybperl::DBlib;

          The script takes between 2-3 seconds to run.

     Why is there such an overhead in starting Sybperl, be it CT or DB lib?

     Is there a way of speeding up the startup times?

     Versions:

          Perl =    5.001m
          Sybperl   =    2.0.3
          OS   =    Solaris 2.4
          Sybase    =    10.0.2
          Machine   =    SS20

     Thanks John