[web-devel] Caching the System time

Greg Weber greg at gregweber.info
Mon Aug 8 16:16:53 CEST 2011


Kazu profiled his code and found that using the current haskell date/time
libraries was extremely expensive. He solved the issues by writing optimized
date code. It is unclear how much benefit there would be to caching after
switching to his optimized date code. He is planning to release his logging
code as a separate package.

Here is a draft of an article he is writing:
http://www.mew.org/~kazu/mighttpd.pdf

On Mon, Aug 8, 2011 at 7:04 AM, Aristid Breitkreuz
<aristidb at googlemail.com>wrote:

> Did you measure how long it takes to generate that datetime string?
> Shouldn't that be possible in a hundred nanoseconds or so?
> Am 08.08.2011 15:01 schrieb "Gregory Collins" <greg at gregorycollins.net>:
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110808/ea7122ff/attachment.htm>


More information about the web-devel mailing list