Yes, D:S is slow. On the other hand, how often does a program need to be profiled? If D:S makes the program run an order of magnitude slower, that shouldn't be a problem for most situations. I can see it being a problem if it's doing some compute-intensive work, and needing months instead of weeks to finish, but then, it wouldn't be written in Perl, would it?

Curiosity: Is the output of Devel::FastProf the same as Devel::SmallProf? I wonder if my script will work on both?

<Off Topic Rant>
Unfortunately, I'm in a mostly Windoze shop. It's only a Windoze shop because it's convenient, not out of some necessity. But I have a few users, and everything has to be portable to *nix too. The *nix stuff is not administered properly, and depending on which workstation my user is on, s/he may only have Perl 4 available, and other crud like that. Weirdly enough, it's easier to standardize on Windoze here, because they'd rather sling money around than administer *nix machines properly.

So everyone has XP Pro SP2 on a recent laptop. If we really need some compute power or storage, we have to jump through paperwork hoops, and entertain arguments about whose desk it goes on, etc. (It's usually "I don't want it on my desk, I just want access to it".)
</Off Topic Rant>

-QM
--
Quantum Mechanics: The dreams stuff is made of


In reply to Re^3: Errors when using DProf to profile by QM
in thread Errors when using DProf to profile by bowei_99

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.