[EMAIL PROTECTED] wrote:
>
> Could you please explain the differences between
> CGI Raw and CGI.pm? I'm using oo method of
> CGI.
>
> Thanks
>
> On Mon, Dec 11, 2000 at 07:56:03PM -0800, Joshua Chamas wrote:
> > Hey,
> >
> > Updated results from the other day with the Template Toolkit
> > benchmark properly optimized, thanks Perrin!
> >
> > The reference for these numbers is at: http://www.chamas.com/bench
> > If you would like the hello test suite, please email me separately.
> >
See http://www.chamas.com/bench/#perlcgi
The Raw CGI test makes no use of CGI.pm, just issues raw print
statements that sets up the right CGI headers. Please note that the
number that I reported showed a difference of .00065 seconds of system
time per request between CGI.pm & Raw CGI HelloWorld, so I wouldn't much
worry about the environment overhead.
If you are using CGI.pm object methods, I would worry about calling
all those methods to build your HTML and if you are performance
minded, I would use them frugally.
--Josh