On Mon, Aug 31, 2009 at 03:31, Ajay Kumar<aku...@securities.com> wrote:
snip
> during parsing and writiting into excel script is taking to much cpu
> Resources as well as more than one( 1) hour time time to excute
>
> can anybody tell me how to resolve the cpu and time issues here
snip

There are many things that can be done to improve the performance of
code, but the only guidance we can give you without seeing the code in
question is:

* read [perldoc perlperf][1]
* profile your code: [Devel::NYTProf.pm][2]
* benchmark different algorithms: [Benchmark][3]
* rewrite critical sections in XS or use XS based modules ([perldoc
perlxstut][4], [perldoc perlxs][5], [perldoc perlguts][6])

[1] : http://perldoc.perl.org/perlperf.html
[2] : http://search.cpan.org/dist/Devel-NYTProf/lib/Devel/NYTProf.pm
[3] : http://perldoc.perl.org/Benchmark.html
[4] : http://perldoc.perl.org/perlxstut.html
[5] : http://perldoc.perl.org/perlxs.html
[6] : http://perldoc.perl.org/perlguts.html


-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to