On Thu, Apr 10, 2008 at 07:27:15AM -0400, Jim Jagielski wrote:
>
> On Apr 9, 2008, at 5:09 PM, Basant Kukreja wrote:
>>> just that, too.  Any performance comparisons with its competitors?
>> Some quick performance comparison results between mod_sed, mod_line_edit 
>> and
>> mod_substitute.
>>
>> Search/Replace string : s/hello/hi/
>> test0.html : No matches, so no substitute.
>> test.html  :  1 comparision/substitute
>> test2.html : 500 comparision/substitute
>>
>> Performance data was generated with 200 clients for 100000 requests (for 
>> worker
>> mpm).
>> $ ab -c 200 -n 100000 <http-uri>
>>
>> Requests Per Second (RPS) as measured by ab for s/hello/hi/ substitution.
>>                 mod_sed              mod_line_edit           
>> mod_substitute
>> test0.html        3263                   3206                   3129
>> test.html         3229                   3213                   3197
>> test2.html        1278                   404                    1130
>>
>> Note that mod_sed performs better than either mod_line_edit or 
>> mod_substitute.
>
> Interesting... What versions of each did you test?
OS : solaris 64 bit x86 nevada snv_79
Apache : httpd 2.2.6 64 bit worker mpm. 
mod_substitute.c : From httpd-2.2.8.
mod_line_edit --> Version 1.0
Network connection : Dedicated 1 GB e1000g card.
Server : X4100

Regards,
Basant.

Reply via email to