httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <brian.p...@cnet.com>
Subject PHP profiling results under 2.0.37 Re: Performance of Apache 2.0 Filter
Date Fri, 07 Jun 2002 07:05:31 GMT
Brian Pane wrote:
.

> I can do some profiling--probably this weekend--if someone can describe
> a good test case. 


Here's the first problem I found:
PHP-generated pages appear to be doing writes in very small chunks
(at least in php-4.2.1 running within httpd-2.0.37).

I just profiled the delivery of a .php file consisting of
10KB of static text, and it took 25 writev calls of 400 bytes
each.

The function php_apache_sapi_ub_write() is inserting a flush bucket
after each bucket of data that it adds to the output brigade.

--Brian



Mime
View raw message