On Wed, 7 Jun 2000, Stas Bekman wrote:

> Ok, you'd get surprised on this one. I cannot make benchmark show me
> unbuffered output worse than buffered. Anyone can tell me why? there is
> ap_flash call after each print in the unbuffered case, how comes the
> results are the same?

maybe because both are buffered.
 
> package UnBuffered;
> use Apache::Constants qw(:common);
--> local $|=1;
> sub handler{
--> should be inside here

i don't think your benchmark (lwp requesting script on the same box or
even same network) is going to produce worthwhile results.  not a flame,
but i think there are hardware and network configurations to consider here
that make it difficult to benchmark.

Reply via email to