On Tue, Sep 4, 2012 at 7:10 PM, Kazu Yamamoto <kazu@iij.ad.jp> wrote:
Anyway, I believe we should avoid gettimeofday as much as possible
to implement fast servers.

Sort of agree. It only costs about 17-44ns, depending on the system, so it's actually very cheap. For comparison, reading an uncontended IORef seems to cost about 0.6ns (!).