why are there some function calls being performed on some OSes but not on others? Or are some irrelevant enough that they are simply not being listed?

It's the latter. By default dprofpp will list only the top 15 function calls.

I normally wouldn't expect profiling results to be exactly the same across architectures for several reasons.

  1. Profiling results can vary from run to run as it is.
  2. The timings are based on user+system time. User time is the time spent in your code and system time is the time spent in the OS serving your code. When you open and read a file, for instance, the OS is doing that work, and the time it spends doing that counts as system time. Each OS might spend different amounts of time on the same calls based on differences between them.
  3. Each OS may have its own limits on how well it can measure time at all (i.e., precision, granularity). Compounded measurement errors could be skewing results.
  4. Without seeing the code, I don't know, but it's possible that there is some branching according to OS. I don't know why that would be the case for you, but it's certainly possible in general.

In reply to Re: DProf output of named functions. by kyle
in thread DProf output of named functions. by regexes

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.