Mantis - Quercus
Viewing Issue Advanced Details
3200 minor always 12-28-08 20:54 12-28-08 20:56
ferg  
ferg  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003200: Add profiling to quercus
(rep by koreth)

Add the capability for prof/gprof-style profiling to quercus.

Notes
(0003678)
ferg   
12-28-08 20:56   
The QuercusServlet can be configured with a probability of triggering a profile. Currently, the profiles are saved internally and are displayed in /resin-admin. See the Quercus tab in /resin-admin for information and results.

The configuration looks like:

<web-app xmlns="http://caucho.com/ns/resin"> [^]

  <servlet-mapping url-pattern="*.php"
              servlet-class="com.caucho.quercus.servlet.QuercusServlet">
     <init profile-probability="0.001"/>
  </servlet-mapping>
</web-app>