![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calling a perl script from a perl script | new2ss | Shell Programming and Scripting | 6 | 05-24-2009 06:03 PM |
| Include PERL script with in the unix shell script | ganapati | UNIX for Dummies Questions & Answers | 1 | 04-29-2008 01:18 PM |
| here document to automate perl script that call script | hogger84 | Shell Programming and Scripting | 3 | 10-22-2007 11:15 AM |
| Modify Perl script to work with txt - Permissions script | joangopan | Shell Programming and Scripting | 1 | 09-13-2007 12:38 AM |
| Perl: Run perl script in the current process | vino | Shell Programming and Scripting | 10 | 12-09-2005 10:45 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
optimising the a perl script
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 |
|
||||
|
If I had to guess, it'd be the "perl" part that is taking so much time. Perl is not noted for it's efficient use of time or memory. For little things, you'd never notice, but for larger things or things that need to do many jobs quickly, it adds up.
Try cutting down the number of imported modules. Don't bother with perlcc. If it works at all you'll end up with an executable multiple megabytes in size. |
|
||||
|
Start here:
http://www.perl.com/pub/a/2004/06/25/profiling.html http://www.perl.com/pub/a/2005/12/21...ely_start.html |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|