Re: Performance question with a string concat



Ala Qumsieh wrote:

If your app is slow and you want to speed it up, then use the Benchmark module and try to figure out which section of your code takes the most time

I think you might mean Devel::DProf here, although both it and Benchmark are useful to the overall process.


After using Devel::DProf to find out which subroutine takes the most time, you can then use Benchmark to compare alternative implementations of that subroutine against one another.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
.



Relevant Pages

  • =?iso-8859-1?q?Re:_Einer_Subroutine_2_Hashes_=FCbergeben?=
    ... Aber wenn ich eine Subroutine schreibe, ... glücklicherweise jeder post FORTRAN Programmierer "call by ... "You may still declare a sub just as you did in Perl 5, ...
    (de.comp.lang.perl.misc)
  • Re: Perl Multithreading and use of Perl Modules
    ... >> I'm trying to create a multithreaded program in Perl 5.8 on Linux. ... The tracker() subroutine needs to be able to check the shared variables ...
    (comp.lang.perl.misc)
  • Re: Einer Subroutine 2 Hashes =?ISO-8859-1?Q?=FCbergeben?=
    ... > die Zuweisung im Funktionsaufruf völlig" dieselbe Semantik? ... > einen Ausdruck) an eine Subroutine übergibst, ... Die "Referenz" kann ja auch weitergereicht werden. ... Die von Perl gebotene Möglichkeit, ...
    (de.comp.lang.perl.misc)
  • RE: Perl / Apache on RH9.0 not working.
    ... script perl usually tells you there are returns but this time it didn't. ... > PerlInitHandler - Subroutine name ...
    (RedHat)
  • Re: What is going on?
    ... Problem is i do not know Perl. ... $#ARGV is the array index of the last variable entered. ... $epc variable plus a '/' character. ... Save the return value of the $response->content subroutine. ...
    (comp.lang.perl.misc)