in reply to Re: Running nytprof in classic asp
in thread Running nytprof in classic asp

This supposed to be a proof of concept for monitoring an existing asp-perl application that has become too slow. I would like to see which part of the application is taking too much time and start the investigation from there. Is there a way I can profile those script out of IIS? Thanks.

Replies are listed 'Best First'.
Re^3: Running nytprof in classic asp
by Anonymous Monk on Mar 27, 2014 at 09:14 UTC

    Is there a way I can profile those script out of IIS?

    Theoretically , yes

    Practically, maybe -- NYTProf says it doesn't support it; maybe you can try one of the other/simpler profilers ....

    The PerlScript faq mentions nothing

    There are really only two things that can slow down scripts, and profiling isn't required to find them

    1) using too much memory and forcing memory swapping (look for and eliminate leaks in your program, buy more hardware/ram for your machine ... shorten restart interval ...

    2) network or database slowdown (nothing you can do about it from perl)

    I would recommend performing a code review looking at how your application manages memory and communication with network/database...