On Friday 22 January 2010 15:38:30 Ivory wrote:
> I've manage to setup a PerlFixupHandler, and it works perfectly well for
> adding / deleting headers and args.
> 
> But it seems like this process is pretty time-consuming... Any known issue
> about that?
> 
If "pretty time-consuming" means a few microseconds then yes, it may be 
modperl.

If more, it's your code.

To figure out how much mod_perl costs try fetching a small static file with 
and without this lines:

-------------------------------------------
<Perl>
sub My::Handler::handler {0}
</Perl>

PerlFixupHandler My::Handler
-------------------------------------------

Use "ab -n 10000 -c 1 http://..."; and compare the results.

Then add your fixup code and try again.

Torsten

Reply via email to