much more quickly. A script can be made to to run persistently by changing the interpreter line at the top of the script from: #!/usr/bin/perl to #!/usr/bin/speedy After the script is initially run, instead of exiting, the perl interpreter is kept running. During subsequent runs, this interpreter is used to handle new executions instead of starting a new perl interpreter each time. A very fast frontend program, written in C, is executed for each request. This fast frontend then contacts the persistent Perl process, which is usually already running, to do the work and return the results.
18 lines
491 B
Makefile
18 lines
491 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2004/04/15 22:05:16 adrian_p Exp $
|
|
|
|
DISTNAME= CGI-SpeedyCGI-2.22
|
|
PKGNAME= SpeedyCGI-2.22
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://daemoninc.com/SpeedyCGI/
|
|
|
|
MAINTAINER= adrianp@stindustries.net
|
|
HOMEPAGE= http://daemoninc.com/speedycgi/
|
|
COMMENT= Speed up perl scripts by running them persistently
|
|
|
|
USE_PERL5= YES
|
|
|
|
USE_BUILDLINK3= YES
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/SpeedyCGI/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|