My team has a problem. We have a fairly large code base, and we've been having problems getting the various profilers to work on it. In some cases, the profilers crash and burn. In other cases, we get numbers that we just don't trust.

We're embarking on an effort to fix one or more (but probably only one) of the existing profilers, with the intent of contributing any general fixes back to CPAN. To gear up, we're looking around for current information about what kinds of things (eg., Perl constructs, specific modules, etc.) confuse the current generation of profilers. (We do a few marginally legal things with typeglobs, for example.) We're reading up on existing bug reports, but field reports are useful, too.

If you've run into difficulties getting Perl code to profile, especially if you've worked around those problems, please post what details you can. Even "I suspect the problem may have been _____" might help. The info we gather will help us craft experiments and test cases, so that we can make the best of our limited time and budget.

Thanks.

Edited by planetscape - moved to Seekers of Perl Wisdom


In reply to Gathering data on Profiling woes by dws

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.