diff --git a/devel/Makefile b/devel/Makefile index 3d7be7d37af4..2cfe0f4d8ea8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1224,6 +1224,7 @@ SUBDIR += p5-Devel-LexAlias SUBDIR += p5-Devel-Messenger SUBDIR += p5-Devel-Modlist + SUBDIR += p5-Devel-NYTProf SUBDIR += p5-Devel-ObjectTracker SUBDIR += p5-Devel-PPPort SUBDIR += p5-Devel-Pointer diff --git a/devel/p5-Devel-NYTProf/Makefile b/devel/p5-Devel-NYTProf/Makefile new file mode 100644 index 000000000000..e27ce8255f98 --- /dev/null +++ b/devel/p5-Devel-NYTProf/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: p5-Devel-NYTProf +# Date created: 2008-10-21 +# Whom: Vladimir Timofeev +# +# $FreeBSD$ +# + +PORTNAME= Devel-NYTProf +PORTVERSION= 2.05 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= vovkasm@gmail.com +COMMENT= Powerful feature-rich perl source code profiler + +USE_PERL5= 5.8.1+ + +PERL_CONFIGURE= yes + +MAN1= nytprofhtml.1 \ + nytprofcsv.1 + +MAN3= Devel::NYTProf.3 \ + Devel::NYTProf::Apache.3 \ + Devel::NYTProf::Core.3 \ + Devel::NYTProf::Data.3 \ + Devel::NYTProf::Reader.3 \ + Devel::NYTProf::Util.3 + +.include diff --git a/devel/p5-Devel-NYTProf/distinfo b/devel/p5-Devel-NYTProf/distinfo new file mode 100644 index 000000000000..591d74ba42aa --- /dev/null +++ b/devel/p5-Devel-NYTProf/distinfo @@ -0,0 +1,3 @@ +MD5 (Devel-NYTProf-2.05.tar.gz) = 775f131c132e5f8cbd864ee3dd3090b3 +SHA256 (Devel-NYTProf-2.05.tar.gz) = ea5425206ba4660125aa6faf5f16e2b5d17106cd2b62589b85f9af1069955d9d +SIZE (Devel-NYTProf-2.05.tar.gz) = 152195 diff --git a/devel/p5-Devel-NYTProf/pkg-descr b/devel/p5-Devel-NYTProf/pkg-descr new file mode 100644 index 000000000000..06561c3603c9 --- /dev/null +++ b/devel/p5-Devel-NYTProf/pkg-descr @@ -0,0 +1,21 @@ +Devel::NYTProf is a powerful feature-rich perl source code profiler. + + * Performs per-line statement profiling for fine detail + * Performs per-subroutine statement profiling for overview + * Performs per-block statement profiling (the first profiler to do so) + * Accounts correctly for time spent after calls return + * Performs inclusive and exclusive timing of subroutines + * Subroutine times are per calling location (a powerful feature) + * Can profile compile-time activity, just run-time, or just END time + * Uses novel techniques for efficient profiling + * Sub-microsecond (100ns) resolution on systems with clock_gettime() + * Very fast - the fastest statement and subroutine profilers for perl + * Handles applications that fork, with no performance cost + * Immune from noise caused by profiling overheads and I/O + * Program being profiled can stop/start the profiler + * Generates richly annotated and cross-linked html reports + * Trivial to use with mod_perl - add one line to httpd.conf + * Includes an extensive test suite + * Tested on very large codebases + +WWW: http://search.cpan.org/dist/Devel-NYTProf/ diff --git a/devel/p5-Devel-NYTProf/pkg-plist b/devel/p5-Devel-NYTProf/pkg-plist new file mode 100644 index 000000000000..6938b96f2f75 --- /dev/null +++ b/devel/p5-Devel-NYTProf/pkg-plist @@ -0,0 +1,23 @@ +bin/nytprofcsv +bin/nytprofhtml +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/auto/Devel/NYTProf/NYTProf.so +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/benchmark.pl +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf/Apache.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf/Core.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf/Data.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf/Reader.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf/Util.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf/js/jquery.tablesorter.min.js +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf/js/jquery.min.js +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/NYTProf/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/NYTProf/NYTProf.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/NYTProf/NYTProf.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/NYTProf +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Devel/auto/Devel/NYTProf +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel/auto/Devel +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel/auto +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf/js +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Devel/NYTProf +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel