in reply to Re: Performance penalties of in-Perl docn vs compiled CGIs.
in thread Performance penalties of in-Perl docn vs compiled CGIs.
The benefits are too small or non-existant. This whole .plc mechanism was invented back in the days when RAM was sparse and processors slow,hence the compilation phase was a considerable factor.°
Turning a Perl process into a persistent demon solves most, if not all use cases nowadays. That's because IO is now most limiting factor, and neither compile-phase nor IO needs to be redone.
I have trouble imagining a use case where pre-compilation would pay off, because this would still be hampered by IO.°
The only aspect where pre-compilation tends to be used is obfuscation to protect the code. But that's also mostly wishful thinking.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
°) RAM-Disk? Seriously?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Performance penalties of in-Perl docn vs compiled CGIs.
by bliako (Abbot) on Feb 02, 2021 at 15:56 UTC | |
by LanX (Saint) on Feb 02, 2021 at 16:08 UTC |