Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Apache::SmallProf(3)  User Contributed Perl Documentation Apache::SmallProf(3)

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

SYNOPSIS
	<IfDefine PERLSMALLPROF>

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

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

DESCRIPTION
       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(@_);
		...

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

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

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

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

perl v5.32.0			  2019-05-26		  Apache::SmallProf(3)

NAME | SYNOPSIS | DESCRIPTION | LICENSE | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Apache::SmallProf&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help