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?

Reply via email to