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@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@gregorycollins.net>: