Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 8794

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Introduction</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.xhprof.html">Xhprof</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="xhprof.setup.html">Installing/Configuring</a></div>
 <div class="up"><a href="book.xhprof.html">Xhprof</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intro.xhprof" class="preface">
  <h1 class="title">Introduction</h1>
  <p class="para">
   XHProf is a light-weight hierarchical and instrumentation based profiler. 
   During the data collection phase, it keeps track of call counts and inclusive
   metrics for arcs in the dynamic callgraph of a program. It computes exclusive
   metrics in the reporting/post processing phase, such as wall (elapsed) time,
   CPU time and memory usage. A functions profile can be broken down by callers 
   or callees. XHProf handles recursive functions by detecting cycles in the
   callgraph at data collection time itself and avoiding the cycles by giving unique
   depth qualified names for the recursive invocations.
  </p>
  <p class="para">
   XHProf includes a simple HTML based user interface (written in PHP). The browser based
   UI for viewing profiler results makes it easy to view results or to share results
   with peers. A callgraph image view is also supported.
  </p>
  <p class="para">
   XHProf reports can often be helpful in understanding the structure of the code
   being executed. The hierarchical nature of the reports can be used to determine,
   for example, what chain of calls led to a particular function getting called.
  </p>
  <p class="para">
   XHProf supports ability to compare two runs (a.k.a. &quot;diff&quot; reports) or aggregate
   data from multiple runs. Diff and aggregate reports, much like single run reports,
   offer &quot;flat&quot; as well as &quot;hierarchical&quot; views of the profile.
  </p>
  <p class="para">
   Additional documentation can be found via the
   <a href="http://web.archive.org/web/20110514095512/http://mirror.facebook.net/facebook/xhprof/doc.html" class="link external">&raquo;&nbsp;facebook xhprof</a> website.
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.xhprof.html">Xhprof</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="xhprof.setup.html">Installing/Configuring</a></div>
 <div class="up"><a href="book.xhprof.html">Xhprof</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>