in reply to Timing concerns on PerlEX/Mod_Perl
Try putting a
at the beginning, and an analogoususe Time::HiRes; warn "Begin: " . Time::HiRes::time;
at the end of the called portions of your script (if there are blocks that are called each time before and after execution, those would be ideal locations - not knowing what they are, if they exist, I cannot say) will at least give you a feel of how much the perl side is contributing to the delay.warn "End: " . Time::HiRes::time;
There are quite a few points where things other than the Perl script contributes to the delay. Look at the time spent in Apache/IIS, the OS TCP/IP stack, and the client side of things as well. All things work together for the delay of those who write code.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Timing concerns on PerlEX/Mod_Perl
by Anonymous Monk on Jul 25, 2008 at 18:51 UTC | |
|
Re^2: Timing concerns on PerlEX/Mod_Perl
by shmem (Chancellor) on Jul 27, 2008 at 00:49 UTC |