DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40054>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40054 ------- Additional Comments From [EMAIL PROTECTED] 2006-07-17 09:58 ------- I re-ran my performance tests tonight, both with 2.0.55 and trunk, both with and with out compiling with -pg. I no longer see the performance benefits I saw when I did those changes. I'm not sure what's up at the moment. One simple change that buys 100 tps with -pg is not to completely destroy/create the pool, just clear it out: @@ -1129,8 +1129,9 @@ c->gotheader = 0; c->rwrite = 0; if (c->ctx) - apr_pool_destroy(c->ctx); - apr_pool_create(&c->ctx, cntxt); + apr_pool_clear(c->ctx); + else + apr_pool_create(&c->ctx, cntxt); if ((rv = apr_socket_create(&c->aprsock, destsa->family, -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
