You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Pane <bp...@pacbell.net> on 2001/12/26 08:15:10 UTC

[PATCH] fix prep_walk_cache performance

This change may be controversial, so I'm soliciting
comments before committing...

The prep_walk_cache() function in server/request.c
is one of the slower parts of the core server.  About
60% of its run time is due to the apr_pool_userdata_*
functions.

The attached patch eliminates the use of the apr_pool_userdata_*
functions by adding hooks for the various walk caches to the
core_request_config structure (stored in r->request_config).

--Brian