CINXE.COM

dprofpp - display perl profile data - metacpan.org

<!DOCTYPE html> <html lang="en-US"> <head> <title>dprofpp - display perl profile data - metacpan.org</title> <link rel="preload" as="fetch" href="/account/login_status" crossorigin="anonymous" /> <link href="/assets/style-XFEQ536G.css" rel="stylesheet" type="text/css"> <script src="/assets/main-WXBSEDQJ.js" type="module"></script> <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of Devel-DProf - MetaCPAN" href="/dist/Devel-DProf/releases.rss" /> <link rel="canonical" href="https://metacpan.org/dist/Devel-DProf/view/bin/dprofpp" /> <meta name="description" content="display perl profile data" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"> <link rel="shortcut icon" href="/static/icons/favicon.ico"> <link rel="apple-touch-icon" sizes="152x152" href="/static/icons/apple-touch-icon.png"> <link rel="search" href="/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN"> <script async src="https://perl-ads.perlhacks.com/perl-ads.js"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-E82Q2V8LVD"></script> <meta property="og:site_name" content="MetaCPAN" /> <meta name="twitter:site" content="@metacpan" /> <meta property="og:type" content="article" /> <meta name="twitter:card" content="summary" /> <meta property="og:url" content="https://metacpan.org/dist/Devel-DProf/view/bin/dprofpp" /> <meta property="og:title" content="dprofpp" /> <meta property="og:description" content="display perl profile data" /> <meta property="og:image" content="https://metacpan.org/static/images/dots.png" /> </head> <body> <nav class="navbar navbar-default" role="navigation"> <div class="header-logo-large hidden-xs"> <a href="/" tabindex="0"> <svg class="logo" aria-label="MetaCPAN"> <use class="logo" href="/static/images/metacpan-logo.svg#logo" /> </svg> </a> </div> <div class="header-logo-icon visible-xs"> <a href="/"> <svg class="logo" aria-label="MetaCPAN"> <use class="logo" href="/static/images/metacpan-logo.svg#dots" /> </svg> </a> </div> <ul class="nav navbar-nav menu-items hidden-xs hidden-sm"> <li><a href="/about">About</a></li> <li><a href="/about/sponsors">Sponsor</a></li> <li><a href="https://grep.metacpan.org/">grep::cpan</a></li> <li><a href="/recent">Recent</a></li> <li><a href="/about/faq">FAQ</a></li> <li><a href="/tools">Tools</a></li> <li><a href="https://fastapi.metacpan.org/">API</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <button type="button" class="searchbar-btn visible-xs visible-sm"> <i class="fa fa-search button-fa-icon"></i> </button> <form action="/search" class="searchbar-form visible-md visible-lg search-form form-horizontal"> <input type="hidden" name="size" id="metacpan_search-size" value="20"> <div class="form-group"> <div class="search-group"> <i class="fa fa-search"></i> <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value=""> </div> </div> </form> <li class="icon-slidepanel visible-xs visible-sm"> <button data-toggle="slidepanel" data-target=".slidepanel"> <span class="button-fa-icon"> <i class="fa fa-bars slidepanel-open"></i> <i class="fa fa-times slidepanel-close"></i> </span> </button> </li> <li class="dropdown login-dropdown show-logged-in"> <button type="button" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i> <i class="fas fa-chevron-down"></i> </button> <ul class="dropdown-menu"> <li><a href="/account/identities">Identities</a></li> <li><a href="/account/profile">Profile</a></li> <li><a href="/account/favorite/list">Favorites</a></li> <li> <a href="#" type="button" class="logout-button"> Logout </a> </li> </ul> </li> <li class="dropdown login-dropdown show-logged-out"> <button type="button" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user button-fa-icon avatar-placeholder" aria-hidden="true"></i> <i class="fas fa-chevron-down"></i> </button> <ul class="dropdown-menu"> <li> <a href="/login/github"> <i class="fab fa-github fa-fw"></i> GitHub </a> </li> <li> <a href="/login/twitter"> <i class="fab fa-twitter fa-fw"></i> Twitter </a> </li> <li> <a href="/login/google"> <i class="fab fa-google fa-fw"></i> Google </a> </li> </ul> </li> <li class="dropdown login-dropdown hide-logged-in hide-logged-out"> <button> <i class="fa fa-user button-fa-icon" aria-hidden="true"></i> </button> </li> </ul> </nav> <div class="page-content "> <div id="perl-ad-target" class="top-notify-banner perl-ad-target"> </div> <nav class="sidebar"> <div class="slidepanel"> <ul class="nav-list "> <li class="nav-header no-margin-top"> <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of Devel-DProf was released."> <span class="relatize">02 Aug 2011 13:30:00 UTC</span> </div> </li> <li> Distribution: <a href="/dist/Devel-DProf">Devel-DProf</a> </li> <li> <a data-keyboard-shortcut="g s" href="/dist/Devel-DProf/source/bin/dprofpp">Source</a> (<a href="/dist/Devel-DProf/source/bin/dprofpp?raw=1">raw</a>) </li> <li> <a data-keyboard-shortcut="g b" href="/dist/Devel-DProf/source/bin">Browse</a> (<a href="/dist/Devel-DProf/source/bin?raw=1">raw</a>) </li> <li> <a data-keyboard-shortcut="g c" href="/dist/Devel-DProf/changes">Changes</a> </li> <li> <a rel="noopener nofollow" class="nopopup" href="http://search.cpan.org/dist/Devel-DProf">Homepage</a> </li> <li> <a class="nopopup" href="/dist/Devel-DProf/contribute">How to Contribute</a> </li> <li> <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/rafl/devel-dprof">Repository</a> </li> <li> <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-DProf">Issues</a> (8) </li> <li> <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=Devel-DProf+20110802.00" title="Matrix">Testers</a> <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/D/Devel-DProf.html?oncpan=1&amp;distmat=1&amp;version=20110802.00&amp;grade=2" style="color: #090">0</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/D/Devel-DProf.html?oncpan=1&amp;distmat=1&amp;version=20110802.00&amp;grade=3" style="color: #900">1</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/D/Devel-DProf.html?oncpan=1&amp;distmat=1&amp;version=20110802.00&amp;grade=4">0</a>)</span> </li> <li> <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/FLORA/Devel-DProf-20110802.00">Kwalitee</a> </li> <li> <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on Devel-DProf who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)"> Bus factor: 3 </div> </li> <li> <a rel="noopener nofollow" href="http://cpancover.com/latest/Devel-DProf-20110802.00/index.html">% Coverage </a> </li> <li> License: perl_5 </li> <li class="nav-header">Activity</li> <li> <div class="activity-graph"> <img src="/dist/Devel-DProf/activity.svg?res=month" /> <div class="comment">24 month</div> </div> </li> <li class="nav-header">Tools</li> <li> <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/F/FL/FLORA/Devel-DProf-20110802.00.tar.gz"> Download (<span itemprop="fileSize">30.84KB</span>)</a> </li> <li> <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FFLORA%2FDevel-DProf-20110802.00%2Fbin%2Fdprofpp"> MetaCPAN Explorer </a> </li> <li> <a href="/dist/Devel-DProf/permissions"> Permissions </a> </li> <li> <a href="/dist/Devel-DProf/releases.rss"> Subscribe to distribution </a> </li> <li> <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog"> Install Instructions </button> </li> <li> <form action="/search"> <input type="hidden" name="q" value="dist:Devel-DProf"> <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form"> <input type="submit" style="display: none"> </form> </li> <li> <form action="https://grep.metacpan.org/search"> <input type="hidden" name="qd" value="Devel-DProf"> <input type="hidden" name="source" value="metacpan"> <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form"> <input type="submit" style="display: none"> </form> </li> <li class="version-jump"> <select class="select-navigator form-control tool-bar-form"> <option disabled selected>Jump to version</option> <option disabled value="/release/FLORA/Devel-DProf-20110802.00/view/bin/dprofpp" >20110802.00 (FLORA on 2011-08-02)</option> <option value="/release/FLORA/Devel-DProf-20110228.00/view/bin/dprofpp" >20110228.00 (FLORA on 2011-02-28)</option> <option value="/release/FLORA/Devel-DProf-20110225.01/view/bin/dprofpp" >20110225.01 (FLORA on 2011-02-25)</option> <option value="/release/FLORA/Devel-DProf-20110225.00/view/bin/dprofpp" >20110225.00 (FLORA on 2011-02-25)</option> <option value="/release/JAW/Devel-DProf-20080628_01/view/bin/dprofpp" >20080628_01 (JAW on 2008-10-19)</option> </select> </li> <li class="version-diff"> <select class="select-navigator form-control tool-bar-form"> <option disabled selected>Diff with version</option> <option disabled value="/release/FLORA/Devel-DProf-20110802.00/diff/FLORA/Devel-DProf-20110802.00/bin/dprofpp" >20110802.00 (FLORA on 2011-08-02)</option> <option value="/release/FLORA/Devel-DProf-20110802.00/diff/FLORA/Devel-DProf-20110228.00/bin/dprofpp" >20110228.00 (FLORA on 2011-02-28)</option> <option value="/release/FLORA/Devel-DProf-20110802.00/diff/FLORA/Devel-DProf-20110225.01/bin/dprofpp" >20110225.01 (FLORA on 2011-02-25)</option> <option value="/release/FLORA/Devel-DProf-20110802.00/diff/FLORA/Devel-DProf-20110225.00/bin/dprofpp" >20110225.00 (FLORA on 2011-02-25)</option> <option value="/release/FLORA/Devel-DProf-20110802.00/diff/JAW/Devel-DProf-20080628_01/bin/dprofpp" >20080628_01 (JAW on 2008-10-19)</option> </select> </li> <li> <ul class="dependencies"> <li class="nav-header">Dependencies</li> <li><a href="/pod/XSLoader" title="XSLoader" class="ellipsis">XSLoader</a></li> <li> <hr> </li> <li> <a href="/module/dprofpp/requires">Reverse dependencies</a> </li> <li> <a href="http://deps.cpantesters.org/?module=dprofpp">CPAN Testers List</a> </li> <li> <a href="https://cpandeps.grinnz.com/?dist=Devel-DProf">Dependency graph</a> </li> </ul> </li> <li class="nav-header">Permalinks</li> <li> <a href="/release/FLORA/Devel-DProf-20110802.00/view/bin/dprofpp">This version</a> </li> <li> <a href="/dist/Devel-DProf/view/bin/dprofpp">Latest version</a> </li> <li> </li> <li> <div> <button class="contributors-show-button btn-link">and 1 contributors</button> <div id="metacpan_contributors" class="slide-out slide-out-hidden"> <div> <ul> <li class="contributor" > The Perl 5 Porters </li> </ul> </div> </div> </div> </li> </ul> </div> </nav> <div class="content-navigation"> <div class="breadcrumbs"> <span> <a data-keyboard-shortcut="g a" rel="author" href="/author/FLORA" class="author-name">Florian Ragwitz</a> </span> <span>&nbsp;/&nbsp;</span> <div class="release dist-release status-latest maturity-released"> <span class="dropdown"><b class="caret"></b></span> <select class="select-navigator "> <option selected value="/release/FLORA/Devel-DProf-20110802.00/view/bin/dprofpp" >20110802.00 (FLORA on 2011-08-02)</option> <option value="/release/FLORA/Devel-DProf-20110228.00/view/bin/dprofpp" >20110228.00 (FLORA on 2011-02-28)</option> <option value="/release/FLORA/Devel-DProf-20110225.01/view/bin/dprofpp" >20110225.01 (FLORA on 2011-02-25)</option> <option value="/release/FLORA/Devel-DProf-20110225.00/view/bin/dprofpp" >20110225.00 (FLORA on 2011-02-25)</option> <option value="/release/JAW/Devel-DProf-20080628_01/view/bin/dprofpp" >20080628_01 (JAW on 2008-10-19)</option> </select> <a data-keyboard-shortcut="g d" class="release-name" href="/dist/Devel-DProf">Devel-DProf-20110802.00</a> </div> <span class="river-gauge-gauge"> <svg width="24px" height="15px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g> <title> River stage one &#10; • 2 direct dependents &#10; • 2 total dependents </title> <rect x="0" y="0" width="4" height="15" fill="#7ea3f2" /> <rect x="5" y="0" width="4" height="15" fill="#e4e2e2" /> <rect x="10" y="0" width="4" height="15" fill="#e4e2e2" /> <rect x="15" y="0" width="4" height="15" fill="#e4e2e2" /> <rect x="20" y="0" width="4" height="15" fill="#e4e2e2" /> </g> </svg> </span> <div id="Devel-DProf-fav" class="show-logged-in"> <form action="/account/favorite/add" style="display: inline" method="POST"> <input type="hidden" name="remove" value="0"> <input type="hidden" name="release" value="Devel-DProf-20110802.00"> <input type="hidden" name="author" value="FLORA"> <input type="hidden" name="distribution" value="Devel-DProf"> <button type="submit" class="favorite"><span></span> ++</button> </form> </div> <div class="show-logged-out"> <button class="fav-not-logged-in favorite"><span></span> ++</button> </div> / <span>dprofpp</span> </div> </div> <main class="content"> <input id="DEPRECATED" type="checkbox" class="notification-toggle-checkbox" /> <div id="metacpan_notification" class="well collapsed notify-DEPRECATED"> <label class="remove-notification" for="DEPRECATED" > <i class="fa fa-fw fa-times black"></i> </label> <div id="metacpan_notification-container"> <h2>Deprecated.</h2> <div> The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use. </div> </div> </div> <nav class="toc"> <div class="toc-header"><strong>Contents</strong></div> <ul> <li><a href="#NAME">NAME</a></li> <li><a href="#SYNOPSIS">SYNOPSIS</a></li> <li><a href="#DESCRIPTION">DESCRIPTION</a></li> <li><a href="#OUTPUT">OUTPUT</a></li> <li><a href="#OPTIONS">OPTIONS</a></li> <li><a href="#ENVIRONMENT">ENVIRONMENT</a></li> <li><a href="#BUGS">BUGS</a></li> <li><a href="#FILES">FILES</a></li> <li><a href="#SEE-ALSO">SEE ALSO</a></li> </ul></nav> <div class="pod anchors"> <h1 id="NAME">NAME</h1> <p>dprofpp - display perl profile data</p> <h1 id="SYNOPSIS">SYNOPSIS</h1> <p>dprofpp [<b>-a</b>|<b>-z</b>|<b>-l</b>|<b>-v</b>|<b>-U</b>] [<b>-d</b>] [<b>-s</b>|<b>-r</b>|<b>-u</b>] [<b>-q</b>] [<b>-F</b>] [<b>-I|-E</b>] [<b>-O cnt</b>] [<b>-A</b>] [<b>-R</b>] [<b>-S</b>] [<b>-g subroutine</b>] [<b>-G</b> &lt;regexp&gt; [<b>-P</b>]] [<b>-f</b> &lt;regexp&gt;] [profile]</p> <p>dprofpp <b>-T</b> [<b>-F</b>] [<b>-g subroutine</b>] [profile]</p> <p>dprofpp <b>-t</b> [<b>-F</b>] [<b>-g subroutine</b>] [profile]</p> <p>dprofpp <b>-G</b> &lt;regexp&gt; [<b>-P</b>] [profile]</p> <p>dprofpp <b>-p script</b> [<b>-Q</b>] [other opts]</p> <p>dprofpp <b>-V</b> [profile]</p> <h1 id="DESCRIPTION">DESCRIPTION</h1> <p>The <i>dprofpp</i> command interprets profile data produced by a profiler, such as the Devel::DProf profiler. Dprofpp will read the file <i>tmon.out</i> and display the 15 subroutines which are using the most time. By default the times for each subroutine are given exclusive of the times of their child subroutines.</p> <p>To profile a Perl script run the perl interpreter with the <b>-d</b> switch. So to profile script <i>test.pl</i> with Devel::DProf use the following:</p> <pre><code>$ perl5 -d:DProf test.pl</code></pre> <p>Then run dprofpp to analyze the profile. The output of dprofpp depends on the flags to the program and the version of Perl you&#39;re using.</p> <pre><code>$ dprofpp -u Total Elapsed Time = 1.67 Seconds User Time = 0.61 Seconds Exclusive Times %Time Seconds #Calls sec/call Name 52.4 0.320 2 0.1600 main::foo 45.9 0.280 200 0.0014 main::bar 0.00 0.000 1 0.0000 DynaLoader::import 0.00 0.000 1 0.0000 main::baz</code></pre> <p>The dprofpp tool can also run the profiler before analyzing the profile data. The above two commands can be executed with one dprofpp command.</p> <pre><code>$ dprofpp -u -p test.pl</code></pre> <p>Consult <a href="/pod/Devel::DProf#PROFILE-FORMAT">&quot;PROFILE FORMAT&quot; in Devel::DProf</a> for a description of the raw profile.</p> <h1 id="OUTPUT">OUTPUT</h1> <p>Columns are:</p> <dl> <dt id="%Time"><a id="Time"></a>%Time</dt> <dd> <p>Percentage of time spent in this routine.</p> </dd> <dt id="#Calls"><a id="Calls"></a>#Calls</dt> <dd> <p>Number of calls to this routine.</p> </dd> <dt id="sec/call"><a id="sec"></a><a id="sec-call"></a>sec/call</dt> <dd> <p>Average number of seconds per call to this routine.</p> </dd> <dt id="Name">Name</dt> <dd> <p>Name of routine.</p> </dd> <dt id="CumulS">CumulS</dt> <dd> <p>Time (in seconds) spent in this routine and routines called from it.</p> </dd> <dt id="ExclSec">ExclSec</dt> <dd> <p>Time (in seconds) spent in this routine (not including those called from it).</p> </dd> <dt id="Csec/c"><a id="Csec"></a><a id="Csec-c"></a>Csec/c</dt> <dd> <p>Average time (in seconds) spent in each call of this routine (including those called from it).</p> </dd> </dl> <h1 id="OPTIONS">OPTIONS</h1> <dl> <dt id="-a"><a id="a"></a><b>-a</b></dt> <dd> <p>Sort alphabetically by subroutine names.</p> </dd> <dt id="-d"><a id="d"></a><b>-d</b></dt> <dd> <p>Reverse whatever sort is used</p> </dd> <dt id="-A"><a id="A"></a><b>-A</b></dt> <dd> <p>Count timing for autoloaded subroutine as timing for <code>*::AUTOLOAD</code>. Otherwise the time to autoload it is counted as time of the subroutine itself (there is no way to separate autoload time from run time).</p> <p>This is going to be irrelevant with newer Perls. They will inform <code>Devel::DProf</code> <i>when</i> the <code>AUTOLOAD</code> switches to actual subroutine, so a separate statistics for <code>AUTOLOAD</code> will be collected no matter whether this option is set.</p> </dd> <dt id="-R"><a id="R"></a><b>-R</b></dt> <dd> <p>Count anonymous subroutines defined in the same package separately.</p> </dd> <dt id="-E"><a id="E"></a><b>-E</b></dt> <dd> <p>(default) Display all subroutine times exclusive of child subroutine times.</p> </dd> <dt id="-F"><a id="F"></a><b>-F</b></dt> <dd> <p>Force the generation of fake exit timestamps if dprofpp reports that the profile is garbled. This is only useful if dprofpp determines that the profile is garbled due to missing exit timestamps. You&#39;re on your own if you do this. Consult the BUGS section.</p> </dd> <dt id="-I"><a id="I"></a><b>-I</b></dt> <dd> <p>Display all subroutine times inclusive of child subroutine times.</p> </dd> <dt id="-l"><a id="l"></a><b>-l</b></dt> <dd> <p>Sort by number of calls to the subroutines. This may help identify candidates for inlining.</p> </dd> <dt id="-O-cnt"><a id="O-cnt"></a><b>-O cnt</b></dt> <dd> <p>Show only <i>cnt</i> subroutines. The default is 15.</p> </dd> <dt id="-p-script"><a id="p-script"></a><b>-p script</b></dt> <dd> <p>Tells dprofpp that it should profile the given script and then interpret its profile data. See <b>-Q</b>.</p> </dd> <dt id="-Q"><a id="Q"></a><b>-Q</b></dt> <dd> <p>Used with <b>-p</b> to tell dprofpp to quit after profiling the script, without interpreting the data.</p> </dd> <dt id="-q"><a id="q"></a><b>-q</b></dt> <dd> <p>Do not display column headers.</p> </dd> <dt id="-r"><a id="r"></a><b>-r</b></dt> <dd> <p>Display elapsed real times rather than user+system times.</p> </dd> <dt id="-s"><a id="s"></a><b>-s</b></dt> <dd> <p>Display system times rather than user+system times.</p> </dd> <dt id="-T"><a id="T"></a><b>-T</b></dt> <dd> <p>Display subroutine call tree to stdout. Subroutine statistics are not displayed.</p> </dd> <dt id="-t"><a id="t"></a><b>-t</b></dt> <dd> <p>Display subroutine call tree to stdout. Subroutine statistics are not displayed. When a function is called multiple consecutive times at the same calling level then it is displayed once with a repeat count.</p> </dd> <dt id="-S"><a id="S"></a><b>-S</b></dt> <dd> <p>Display <i>merged</i> subroutine call tree to stdout. Statistics are displayed for each branch of the tree.</p> <p>When a function is called multiple (<i>not necessarily consecutive</i>) times in the same branch then all these calls go into one branch of the next level. A repeat count is output together with combined inclusive, exclusive and kids time.</p> <p>Branches are sorted with regard to inclusive time.</p> </dd> <dt id="-U"><a id="U"></a><b>-U</b></dt> <dd> <p>Do not sort. Display in the order found in the raw profile.</p> </dd> <dt id="-u"><a id="u"></a><b>-u</b></dt> <dd> <p>Display user times rather than user+system times.</p> </dd> <dt id="-V"><a id="V"></a><b>-V</b></dt> <dd> <p>Print dprofpp&#39;s version number and exit. If a raw profile is found then its XS_VERSION variable will be displayed, too.</p> </dd> <dt id="-v"><a id="v"></a><b>-v</b></dt> <dd> <p>Sort by average time spent in subroutines during each call. This may help identify candidates for inlining.</p> </dd> <dt id="-z"><a id="z"></a><b>-z</b></dt> <dd> <p>(default) Sort by amount of user+system time used. The first few lines should show you which subroutines are using the most time.</p> </dd> <dt id="-g-subroutine"><a id="g-subroutine"></a><b>-g</b> <code>subroutine</code></dt> <dd> <p>Ignore subroutines except <code>subroutine</code> and whatever is called from it.</p> </dd> <dt id="-G-&lt;regexp&gt;"><a id="G-regexp"></a><b>-G</b> &lt;regexp&gt;</dt> <dd> <p>Aggregate &quot;Group&quot; all calls matching the pattern together. For example this can be used to group all calls of a set of packages</p> <pre><code>-G &quot;(package1::)|(package2::)|(package3::)&quot;</code></pre> <p>or to group subroutines by name:</p> <pre><code>-G &quot;getNum&quot;</code></pre> </dd> <dt id="-P"><a id="P"></a><b>-P</b></dt> <dd> <p>Used with -G to aggregate &quot;Pull&quot; together all calls that did not match -G.</p> </dd> <dt id="-f-&lt;regexp&gt;"><a id="f-regexp"></a><b>-f</b> &lt;regexp&gt;</dt> <dd> <p>Filter all calls matching the pattern.</p> </dd> <dt id="-h"><a id="h"></a><b>-h</b></dt> <dd> <p>Display brief help and exit.</p> </dd> <dt id="-H"><a id="H"></a><b>-H</b></dt> <dd> <p>Display long help and exit.</p> </dd> </dl> <h1 id="ENVIRONMENT">ENVIRONMENT</h1> <p>The environment variable <b>DPROFPP_OPTS</b> can be set to a string containing options for dprofpp. You might use this if you prefer <b>-I</b> over <b>-E</b> or if you want <b>-F</b> on all the time.</p> <p>This was added fairly lazily, so there are some undesirable side effects. Options on the commandline should override options in DPROFPP_OPTS--but don&#39;t count on that in this version.</p> <h1 id="BUGS">BUGS</h1> <p>Applications which call _exit() or exec() from within a subroutine will leave an incomplete profile. See the <b>-F</b> option.</p> <p>Any bugs in Devel::DProf, or any profiler generating the profile data, could be visible here. See <a href="/pod/Devel::DProf#BUGS">&quot;BUGS&quot; in Devel::DProf</a>.</p> <p>Mail bug reports and feature requests to the perl5-porters mailing list at <i>&lt;perl5-porters@perl.org&gt;</i>. Bug reports should include the output of the <b>-V</b> option.</p> <h1 id="FILES">FILES</h1> <pre><code>dprofpp - profile processor tmon.out - raw profile</code></pre> <h1 id="SEE-ALSO"><a id="SEE"></a>SEE ALSO</h1> <p><a href="/pod/perl">perl</a>, <a href="/pod/Devel::DProf">Devel::DProf</a>, times(2)</p></div> <div id="metacpan_install-instructions-dialog" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title">Module Install Instructions</h4> </div> <div class="modal-body"> <p>To install Devel::DProf, copy and paste the appropriate command in to your terminal.</p> <p><a href="/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p> <pre><code>cpanm Devel::DProf</code></pre> <p><a href="/pod/CPAN">CPAN shell</a></p> <pre><code>perl -MCPAN -e shell install Devel::DProf</code></pre> <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p> </div> <div class="modal-footer"> <a href="#" data-dismiss="modal" class="btn">Close</a> </div> </div> </div> </div> </main> <div class="content-pagination"> </div> </div> <footer class="footer"> <div class="footer-container"> <div class="footer-social"> <div class="footer-link footer-logo"> <a href="/"> <img src="/static/images/metacpan-logo.svg" alt="MetaCPAN" /> </a> </div> <a class="footer-social-link" href="https://github.com/metacpan"> <i class="fab fa-github-square"></i> </a> <a class="footer-social-link" href="https://fosstodon.org/@metacpan"> <i class="fab fa-mastodon"></i> </a> </div> <div class="footer-links"> <div class="footer-link"> <a href="/about">About</a> </div> <div class="footer-link"> <a href="/about/sponsors">Sponsor</a> </div> <div class="footer-link"> <a href="https://grep.metacpan.org">grep::cpan</a> </div> <div class="footer-link"> <a href="/recent">Recent</a> </div> <div class="footer-link"> <a href="/about/faq">FAQ</a> </div> <div class="footer-link"> <a href="/tools">Tools</a> </div> <div class="footer-link"> <a href="https://fastapi.metacpan.org/">API</a> </div> <div class="footer-link"> <a href="https://www.perl.org/">Perl.org</a> </div> </div> <div class="footer-sponsors"> <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener"> <img class="footer-sponsor-bytemark" src="/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener"> <img class="footer-sponsor-liquidweb" src="/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener"> <img class="footer-sponsor-deriv" src="/static/images/sponsors/deriv.svg" alt="Deriv logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener"> <img class="footer-sponsor-geocode" src="/static/images/sponsors/geocodelogo.svg" alt="Geocode logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener"> <img class="footer-sponsor-fastly" src="/static/images/sponsors/fastly_logo.svg" alt="Fastly logo"> </a> <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener"> <img class="footer-sponsor-opencage" src="/static/images/sponsors/open-cage.svg" alt="OpenCage logo"> </a> <!-- Added 2024-07-22 --> <a class="footer-sponsor-link" target="_blank" href="https://www.elastic.co/" rel="noopener"> <img class="footer-sponsor-elastic" src="/static/images/sponsors/elastic.svg" alt="Elastic logo"> </a> <!-- Added 2024-07-22 --> <a class="footer-sponsor-link" target="_blank" href="https://route4me.com/" rel="noopener"> <img class="footer-sponsor-route4me" src="/static/images/sponsors/route4me.png" alt="Route4Me logo"> </a> </div> </div> </footer> <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Keyboard Shortcuts</h4> </div> <div class="modal-body row"> <div class="col-md-6"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>Global</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>s</kbd> </td> <td>Focus search bar</td> </tr> <tr> <td class="keys"> <kbd>?</kbd> </td> <td>Bring up this help dialog</td> </tr> </tbody> </table> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>GitHub</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>g</kbd> <kbd>p</kbd> </td> <td>Go to pull requests</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>i</kbd> </td> <td>go to github issues (only if github is preferred repository)</td> </tr> </tbody> </table> </div> <div class="col-md-6"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>POD</th> </tr> </thead> <tbody> <tr> <td class="keys"> <kbd>g</kbd> <kbd>a</kbd> </td> <td>Go to author</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>c</kbd> </td> <td>Go to changes</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>i</kbd> </td> <td>Go to issues</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>d</kbd> </td> <td>Go to dist</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>r</kbd> </td> <td>Go to repository/SCM</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>s</kbd> </td> <td>Go to source</td> </tr> <tr> <td class="keys"> <kbd>g</kbd> <kbd>b</kbd> </td> <td>Go to file browse</td> </tr> </tbody> </table> </div> <div class="col-md-12"> <table class="table keyboard-shortcuts"> <thead> <tr> <th></th> <th>Search terms</th> </tr> </thead> <tbody> <tr> <td><em>module:</em> (e.g. <a href="/search?q=module%3APlugin">module:Plugin</a>)</td> </tr> <tr> <td><em>distribution:</em> (e.g. <a href="/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td> </tr> <tr> <td><em>author:</em> (e.g. <a href="/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td> </tr> <tr> <td><em>version:</em> (e.g. <a href="/search?q=version%3A1.00">version:1.00</a>)</td> </tr> </tbody> </table> </div> </div> <div class="modal-footer"></div> </div> </div> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10