<?xml version="1.0" encoding="windows-1252"?>
<node id="145690" title="Re: Re: Re: Re: RFC CGI.pm refactoring" created="2002-02-15 10:12:59" updated="2005-08-07 20:22:05">
<type id="11">
note</type>
<author id="31011">
little</author>
<data>
<field name="doctext">
Would you please benchmark this again?&lt;br /&gt;
&lt;code&gt;
use Benchmark;
use CGI qw/:cgi /;
use CGI::Simple;
$ENV{'QUERY_STRING'} = 'foo=bar&amp;baz=boo';
$q = new CGI;
$s = new CGI::Simple;
timethese(250000, {'CGI' =&gt;'$q-&gt;param("baz")', 'Simple' =&gt; '$s-&gt;param(
+"baz")'});
&lt;/code&gt;
Sorry, but comparing fully blown CGI while forcing it to load all is quitely unfair in this case while CGI.pm has an option to run in a different manner.&lt;br /&gt;
&lt;br /&gt;Have a nice day&lt;br /&gt;
&lt;i&gt;All decision is left to your taste&lt;/i&gt;</field>
<field name="root_node">
145432</field>
<field name="parent_node">
145686</field>
</data>
</node>
