Re: Benchmarking a script that can't be executed form the command line
From: James Willmore (jwillmore_at_remove.adelphia.net)
Date: 12/31/03
- Next message: Jay Tilton: "Re: problem with hash & sort array"
- Previous message: James Willmore: "Re: Monitoring File Changes"
- In reply to: Erik Tank: "Benchmarking a script that can't be executed form the command line"
- Next in thread: pkent: "Re: Benchmarking a script that can't be executed form the command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Dec 2003 04:24:10 GMT
On Tue, 30 Dec 2003 22:07:53 GMT
Erik Tank <jundy@jundy.com> wrote:
> I have written a web based help desk/billing/anything else my
> employeer wants it to be system using Perl. It's been in production
> over 1 year now and working well but some things are beginning to
> slow down. I am trying to figure out where the slow down is occure.
>
> With other scripts I have always used DProf/SmallProf or something
> like that but the problem here is there are several security
> precautions that make it (so far) unexecutable from the command
> line. To clarify I can execute it but I simply get a redirect to the
> login script.
>
> Any thoughts/suggestions?
There are several logging module that could aid you in trying to find
out what's going on. One of them is Log::TraceMessages. Put this
together with Time::HiRes, and you could see what's going on.
Another option is to re-think your code to allow it to be run from the
command line - you may run into this type of situation again.
HTH
-- Jim Copyright notice: all code written by the author in this post is released under the GPL. http://www.gnu.org/licenses/gpl.txt for more information. a fortune quote ... A "No" uttered from deepest conviction is better and greater than a "Yes" merely uttered to please, or what is worse, to avoid trouble. -- Mahatma Ghandi
- Next message: Jay Tilton: "Re: problem with hash & sort array"
- Previous message: James Willmore: "Re: Monitoring File Changes"
- In reply to: Erik Tank: "Benchmarking a script that can't be executed form the command line"
- Next in thread: pkent: "Re: Benchmarking a script that can't be executed form the command line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|