Rishi, I have used benchmark module that comes with ActiveStates perl interpreter.It gives the time required to execute for a module. I feel that will be of great use to you.
The functions are easy to use and help provided for the same is very good. The module is basically for performance testing of the application. Apart from that you can use the function 'now' to get the current time at the start of the code and then again the same code at the end. you can take the diff which is in seconds. With regards, Deep022in --- [EMAIL PROTECTED] wrote: > > HI, > > I am in urgent need of optimising the a perl script > which is able to > handle to 1000 request in one min and the > requirement is to handle 5000 > requests in one minute. > > I have that file with me. Could any one let me know > how can we find out > which portion of the code is taking much time, or > any idea how should I > start on this issue. > > Any help/idea is welcome. > > Thanks > Rishi > > > > The information contained in this electronic message > and any attachments to this message are intended for > the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged > information. If you are not the intended recipient, > you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and > destroy all copies of this message and any > attachments. > > WARNING: Computer viruses can be transmitted via > email. The recipient should check this email and any > attachments for the presence of viruses. The company > accepts no liability for any damage caused by any > virus transmitted by this email. > > www.wipro.com> _______________________________________________ > ActivePerl mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
