1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Plack::Middleware::MemoryUsage is middleware for measuring process

memory.

Enabling Plack::Middleware::MemoryUsage causes huge performance
penalty.  So I HIGHLY RECOMMEND to enable this middleware only on
development env or not processing every request on production using
Plack::Middleware::Conditional.

WWW: http://search.cpan.org/dist/Plack-Middleware-MemoryUsage/
This commit is contained in:
Jun Kuriyama 2013-01-21 22:30:55 +00:00
parent 6b5d6329ca
commit 838b61da71
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310785
5 changed files with 38 additions and 0 deletions

View File

@ -1124,6 +1124,7 @@
SUBDIR += p5-Plack-Middleware-Header
SUBDIR += p5-Plack-Middleware-IEnosniff
SUBDIR += p5-Plack-Middleware-JSConcat
SUBDIR += p5-Plack-Middleware-MemoryUsage
SUBDIR += p5-Plack-Middleware-Precompressed
SUBDIR += p5-Plack-Middleware-Reproxy
SUBDIR += p5-Plack-Middleware-ReverseProxy

View File

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= Plack-Middleware-MemoryUsage
PORTVERSION= 0.02
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension for measuring process memory
RUN_DEPENDS= \
p5-B-Size2>=2.01:${PORTSDIR}/devel/p5-B-Size2 \
p5-Devel-Symdump>0:${PORTSDIR}/devel/p5-Devel-Symdump \
p5-Plack>0:${PORTSDIR}/www/p5-Plack
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Plack::Middleware::MemoryUsage.3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Plack-Middleware-MemoryUsage-0.02.tar.gz) = 2db70bc11a234c019f8ed65e4ff3a6c43342cf8a46e3873b54206a0645d63079
SIZE (Plack-Middleware-MemoryUsage-0.02.tar.gz) = 27631

View File

@ -0,0 +1,9 @@
Plack::Middleware::MemoryUsage is middleware for measuring process
memory.
Enabling Plack::Middleware::MemoryUsage causes huge performance
penalty. So I HIGHLY RECOMMEND to enable this middleware only on
development env or not processing every request on production using
Plack::Middleware::Conditional.
WWW: http://search.cpan.org/dist/Plack-Middleware-MemoryUsage/

View File

@ -0,0 +1,4 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/MemoryUsage/.packlist
%%SITE_PERL%%/Plack/Middleware/MemoryUsage.pm
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/MemoryUsage
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware