P is for Practical | |
PerlMonks |
More questions than observations on installmanby atcroft (Abbot) |
on Feb 23, 2011 at 07:46 UTC ( [id://889750]=perlquestion: print w/replies, xml ) | Need Help?? |
atcroft has asked for the wisdom of the Perl Monks concerning the following question: Recently I took a look through the TODO list with 5.12.1, to see if there was anything that I felt up to attempting, when I found the item 'profile installman'. perltodo says, "The installman script is slow. All it is doing text processing, which we're told is something Perl is good at. So it would be nice to know what it is doing that is taking so much CPU, and where possible address it." So I installed a few modules, watched a presentation or two about them, ran installman with Devel::NYTProf, and got the following results:
Now I am afraid I am a bit confused, or, at least, feeling outside my depth. Looking at the details on those calls, it seems as almost all of those top 15 were taking tenths of a second a most per run, but the sheer number of calls resulting in the lengthy processing time. Am I reading this right, or ignoring something obvious? (As always, the time and feedback are appreciated.) Update: 2011-02-23 Added "per run" to clarify my thought on the times the routines were taking per run. Update: 2011-02-23 The average run time for the functions above are as follows:
Update: 2011-02-25 Fixed typo in table.
Back to
Seekers of Perl Wisdom
|
|