How to Profile Perl Script (bugzilla performance issue)

P

Paul

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 (e-mail address removed) -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
 
T

Tad McClellan

Paul said:
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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top