https://bz.apache.org/bugzilla/show_bug.cgi?id=69817

--- Comment #7 from Mark Thomas <[email protected]> ---
I've only tested CLF so far but, for that case, switching to Instant improves
performance (just for generating the access log entry) by about 3%.

I'm going to expand my testing to the other date/time formats.

I also think we have a bigger problem. We need to look at how we record request
start time. Currently we subtract the duration from the current time to
determine the start time but that doesn't account for the delay between when we
calculate the request duration (in the CoyoteAdapter) and when we obtain the
current time (in the AcessLogValve). Some crude testing suggests that offset is
in the 2ms to 10ms range. There is no point providing microsecond precision for
request start time if if is only accurate to within a few milliseconds.

I think we are going to need to record start time in the request as an Instant.
I'll also measure what that does to performance as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to