Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 8681

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.memtrack.html">Memtrack</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="memtrack.setup.html">Installing/Configuring</a></div>
 <div class="up"><a href="book.memtrack.html">Memtrack</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intro.memtrack" class="preface">
  <h1 class="title">Introduction</h1>
  <p class="para">
   The purpose of this extension is to detect the most memory hungry scripts
   and functions.
  </p>
  <p class="para">
   memtrack tracks memory consumption in PHP scripts and produces reports 
   (warnings) when the consumption reaches certain levels set by the user.
   This is achieved by replacing default executor function by a special 
   function which compares memory usage before and after running the 
   original executor - this way we can tell how much the memory usage 
   has changed during the execution of the current part of the code.
  </p>
  <p class="para">
   Zend Engine runs its executor for each opcode array (op_array), 
   which usually means function, plain script and such, so memtrack doesn&#039;t
   have any noticeable effect on performance.
  </p>
  <p class="para">
   memtrack doesn&#039;t provide any functions, there are only INI directives which
   allow you to configure the way it should work.
  </p>
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This extension is
<em class="emphasis">EXPERIMENTAL</em>. The behaviour of this extension including
the names of its functions and any other documentation surrounding this
extension may change without notice in a future release of PHP.
This extension should be used at your own risk.</p></div>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.memtrack.html">Memtrack</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="memtrack.setup.html">Installing/Configuring</a></div>
 <div class="up"><a href="book.memtrack.html">Memtrack</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>