On Wed, 12 Jan 2000, Sean Chittenden wrote:
> Mind if I ask a nit-pick of a performance question? Currently
> speed and performance are of upmost importance (I'm currently involved in
> a mod_perl vs JServ development race). That being said, isn't pushing a
> handler onto the request stack slower than predefining a handler that the
> request falls through to? I could be wrong and haven't tested things
> otherwise, but, it would seem like pushing a custom handler (granted it's
> already compiled into byte-code) onto the stack at the time of the request
> would take slightly longer. I suppose I'd be who of me to test this
> assertion, but if you have any idea as to wether or not this case ahead of
> time, I'd be greatly interested in hearing about your past experience.
I don't think it would be a measurable difference. the only overhead
using push_handlers vs. .conf is:
-one Perl method call
-growing the Perl*Handler array by 1, if it's not big enough already