Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > How to Profile Perl Script (bugzilla performance issue)

Reply
Thread Tools

How to Profile Perl Script (bugzilla performance issue)

 
 
Paul
Guest
Posts: n/a
 
      05-20-2004
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
 
Reply With Quote
 
 
 
 
Tad McClellan
Guest
Posts: n/a
 
      05-20-2004
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Visual Studio 2008 asp.net web administration>profile: "The profile wasn't created"? Andy B ASP .Net 0 05-03-2008 05:15 PM
Want to profile monitor for Fuji Frontier ICC profile? Lynn Digital Photography 9 09-08-2005 12:17 PM
Java Web Start app icons keep going in user profile not All Users profile Brad Java 1 07-19-2005 02:10 AM
Perl Help - Windows Perl script accessing a Unix perl Script dpackwood Perl 3 09-30-2003 02:56 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57