]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Use the "recent time" cache to optimize timestamp generation for
authorBrian Pane <brianp@apache.org>
Sun, 17 Mar 2002 05:13:12 +0000 (05:13 +0000)
committerBrian Pane <brianp@apache.org>
Sun, 17 Mar 2002 05:13:12 +0000 (05:13 +0000)
commitf8f74c2eeb0ae9b926ff9db167e4082f5058a848
tree3be7519206a1ee348d9a52fc70af96307b4637d2
parent5ad1bfcc487ef1381bd2baebf3aafd33d79cc44a
Use the "recent time" cache to optimize timestamp generation for
the httpd error log

Background: According to some profile data that we collected on Solaris,
half the run time of ap_log_rerror() was spent in localtime(3).   With
this change, the recent-time cache ensures that the error logger won't
cause more than one localtime() call per second, no matter how high the
error rate is.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93977 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/util_time.h
server/log.c
server/util_time.c