Re: Compile-time vs. run-time checks

2004-02-24 Thread Scott Lamb
On Feb 23, 2004, at 1:43 PM, Greg Stein wrote: On Mon, Feb 23, 2004 at 01:33:31PM -0600, Scott Lamb wrote: I'm putting together a patch to use SO_(RCV|SND)TIMEO for apr_socket_timeout where available; I expect I'll find it has better performance on some platforms, as it would no longer require

Re: Compile-time vs. run-time checks

2004-02-24 Thread Cliff Woolley
On Mon, 23 Feb 2004, Scott Lamb wrote: significant difference between them. In transferring either big or small files with httpd-2.0 HEAD and ab over loopback on Darwin (keepalive on). Which I'd think would be the ideal situation for seeing an improvement... Neither ab nor loopback make for

apr_socket_timeout speed (was Re: Compile-time vs. run-time checks)

2004-02-24 Thread Scott Lamb
On Feb 23, 2004, at 11:11 PM, Cliff Woolley wrote: On Mon, 23 Feb 2004, Scott Lamb wrote: significant difference between them. In transferring either big or small files with httpd-2.0 HEAD and ab over loopback on Darwin (keepalive on). Which I'd think would be the ideal situation for seeing an

Re: Compile-time vs. run-time checks

2004-02-23 Thread Greg Stein
On Mon, Feb 23, 2004 at 01:33:31PM -0600, Scott Lamb wrote: I'm putting together a patch to use SO_(RCV|SND)TIMEO for apr_socket_timeout where available; I expect I'll find it has better performance on some platforms, as it would no longer require using non-blocking IO and preceding every