GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Apache::SmallProf(3) User Contributed Perl Documentation Apache::SmallProf(3)

Apache::SmallProf - Hook Devel::SmallProf into mod_perl

 <IfDefine PERLSMALLPROF>

    <Perl>
     use Apache::DB ();
     Apache::DB->init;
    </Perl>

    <Location />
     PerlFixupHandler Apache::SmallProf
    </Location>
 </IfDefine>

Devel::SmallProf is a line-by-line code profiler. Apache::SmallProf provides this profiler in the mod_perl environment. Profiles are written to $ServerRoot/logs/smallprof and unlike Devel::SmallProf the profile is split into several files based on package name.

The Devel::SmallProf documentation explains how to analyize the profiles, e.g.:

 % sort -nrk 2  logs/smallprof/CGI.pm.prof | more
         1 0.104736       629:     eval "package $pack; $$auto";
         2 0.002831       647:       eval "package $pack; $code";
         5 0.002002       259:    return $self->all_parameters unless @p;
         5 0.000867       258:    my($self,@p) = self_or_default(@_);
         ...

This module is distributed under the same terms as Perl itself.

Devel::SmallProf(3), Apache::DB(3), Apache::DProf(3)

Devel::SmallProf - Ted Ashton Apache::SmallProf derived from Devel::SmallProf - Doug MacEachern

Currently maintained by Dirk Lindner <lze@cpan.org.org>

2019-05-26 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.