]> 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)
commite3bfcb14303575b6d57237ed6f2d45a7d86a1e8a
tree3be7519206a1ee348d9a52fc70af96307b4637d2
parentf4a27d993534c54a8368f58b0971ae79e0e23f4d
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