apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject RE: [PATCH] speed up network timeout processing
Date Wed, 03 Jul 2002 16:58:42 GMT

> Have either of you benchmarked with apr_poll() or are you assuming that
> the problem exists?
> Ryan

Sorry didn't answer you here... There definitely are extra instructions and
function calls involved with using apr_poll() in this case. I don't know the
exact number but I could find out. The affects of a few dozen extra
instructions would be insignificant in overall server performance, but you
can say that about any place in the server. Adding function call overhead
adds up. In this case, is easy to just avoid the extra calls altogether with
no significant loss in code readability.


View raw message