I ran a piece of code with -d:DProf. I then ran 'dprofpp' to produce this output:

Total Elapsed Time = 19.44016 Seconds User+System Time = 0.230160 Seconds Exclusive Times %Time ExclSec CumulS #Calls sec/call Csec/c Name 17.3 0.040 0.069 16 0.0025 0.0043 Alerts_Common::BEGIN 13.0 0.030 0.204 4 0.0074 0.0511 main::BEGIN 11.3 0.026 0.086 22 0.0012 0.0039 Switch::filter_blocks 9.99 0.023 0.037 746 0.0000 0.0000 Text::Balanced::_match_va +riable 7.39 0.017 0.017 1532 0.0000 0.0000 Text::Balanced::_failmsg 4.34 0.010 0.010 2 0.0050 0.0050 DynaLoader::BEGIN 4.34 0.010 0.010 12 0.0008 0.0008 Exporter::as_heavy 4.34 0.010 0.020 1 0.0100 0.0198 DBI::install_driver 4.34 0.010 0.010 16 0.0006 0.0006 DBD::mysql::db::_login 4.34 0.010 0.010 18 0.0006 0.0006 DBI::st::finish 4.34 0.010 0.010 21 0.0005 0.0005 vars::import 4.34 0.010 0.010 6 0.0017 0.0016 Mail::Sendmail::BEGIN 4.34 0.010 0.010 17 0.0006 0.0006 DBI::db::prepare 4.34 0.010 0.010 36 0.0003 0.0003 Exporter::import 4.34 0.010 0.010 9 0.0011 0.0011 Switch::BEGIN


Question: the calls to "BEGIN" - these are the constructors?

In reply to dprofpp - understanding the output by ethrbunny

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.