www/SpeedyCGI 2.22nb20 NetBSD
Speed up perl scripts by running them persistently
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- Categories
- www
- Package size
- 55.5 KiB, 181.5 KiB installed
Description
SpeedyCGI is a way to run perl scripts persistently, which can make them run much more quickly. A script can be made to to run persistently by changing the interpreter line at the top of the script from:
\#!${PREFIX}/bin/perl
to
\#!${PREFIX}/lib/perl5/vendor\_perl/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.
Install
Binary package:
pkgin install SpeedyCGI
From pkgsrc:
cd /usr/pkgsrc/www/SpeedyCGI && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.22nb20 |
| NetBSD 10.1 aarch64 | 2.22nb20 |
| SmartOS / illumos x86_64 | 2.22nb20 |
| macOS 15 arm64 | 2.22nb20 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
No port depends on this one.