[web-devel] new fast-logger and date-cache
Bryan O'Sullivan
bos at serpentine.com
Wed Sep 5 20:25:53 CEST 2012
On Tue, Sep 4, 2012 at 7:10 PM, Kazu Yamamoto <kazu at 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 (!).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20120905/35b66cd2/attachment.htm>
More information about the web-devel
mailing list