How to Profile Perl Script (bugzilla performance issue)

Discussion in 'Perl Misc' started by Paul, May 20, 2004.

  1. Paul

    Paul Guest

    Hi,

    When I try to add a new bug or update an exisiting bug's status, it
    takes *over 2 minutes* before the page is updated. Doing a 'ps' gives:

    USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
    root 516 98.8 9.0 8 11128 - A May 04 18644:41 wait
    nobody 17594 66.7 6.0 8240 8436 - A 13:30:05 0:02 perl -wT
    ../processmail -forceowner -forceqac
    nobody 16966 33.3 7.0 8488 8684 - A 13:30:02 0:02 perl -wT
    /opt/freeware/apache/share/htdocs/bugs/post_bug.cgi

    Does anyone have any idea why it might be taking so long? Is there a
    way I can profile the above 2 perl scripts to see why it's taking so
    long to run?

    Platform is:
    IBM RS/6000 Model 43P (7042/7043)
    CPU Type: PowerPC_604
    CPU Clock Speed: 199 MHz
    Memory Size: 128 MB
    OS: AIX 5.1

    Apache 1.3.27
    MySQL 3.23.47

    Thanks,

    Paul
     
    Paul, May 20, 2004
    #1
    1. Advertising

  2. Paul <> wrote:

    > Is there a
    > way I can profile the above 2 perl scripts to see why it's taking so
    > long to run?



    perldoc -q profile

    How do I profile my Perl programs?


    --
    Tad McClellan SGML consulting
    Perl programming
    Fort Worth, Texas
     
    Tad McClellan, May 20, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SMMT

    Bugzilla, Java and Tomcat

    SMMT, May 26, 2004, in forum: Java
    Replies:
    2
    Views:
    3,958
    Rajesh Tihari
    May 26, 2004
  2. Ng Pheng Siong

    [ANN] M2Crypto SVN and Bugzilla

    Ng Pheng Siong, Jul 31, 2004, in forum: Python
    Replies:
    0
    Views:
    294
    Ng Pheng Siong
    Jul 31, 2004
  3. Replies:
    2
    Views:
    343
  4. Yoxel.Com
    Replies:
    0
    Views:
    331
    Yoxel.Com
    Dec 10, 2005
  5. Replies:
    3
    Views:
    191
    Josef Moellers
    Nov 1, 2007
Loading...

Share This Page