Practical mod_perl / HTML Book /



previous page: 9.4. Apache::Status and Measuring Code Memory Usage
  
page up: HTML Version of the book
  
next page: 9.5.1. Profiling with Devel::DProf

9.5. Code Profiling Techniques


The profiling process helps you to determine which subroutines (or just snippets of code) take longest to execute and which subroutines are called most often. You will probably want to optimize these.

When do you need to profile your code? You do that when you suspect that some part of your code is called very often and maybe there is a need to optimize it, which could significantly improve the overall performance.

 

Continue to:

  • prev: 9.4. Apache::Status and Measuring Code Memory Usage
  • Table of Contents
  • next: 9.5.1. Profiling with Devel::DProf







TOP
previous page: 9.4. Apache::Status and Measuring Code Memory Usage
  
page up: HTML Version of the book
  
next page: 9.5.1. Profiling with Devel::DProf


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com