<div dir="ltr">Hi everyone.  I&#39;d like to add request duration to our HTTP access log, and found the &quot;record-request-start-time&quot; setting in the documentation.<br><br>The documentation says &quot;This has a small but measurable performance impact.&quot;  But is that really true?  From what I can see in the code, all it&#39;s doing is calling System.nanoTime().<br><br>Chasing this led me to a lot of Google searching on nanoTime() itself, and its performance.  There&#39;s a lot of out-dated information out there, especially with regard to Linux.  From what I can see in the Java source, it&#39;s using clock_gettime(CLOCK_MONOTONIC), and various sources say this is plenty fast:<div><br></div><div><a href="https://upvoid.com/devblog/2014/05/linux-timers/">https://upvoid.com/devblog/2014/05/linux-timers/</a> (note: this site has an expired certificate as of 2/20, so you&#39;ll get a browser complaint)</div><div><a href="http://stackoverflow.com/questions/38779763/linux-times-or-clock-gettimeclock-monotonic-which-one-is-faster#comment64948211_38779763">http://stackoverflow.com/questions/38779763/linux-times-or-clock-gettimeclock-monotonic-which-one-is-faster#comment64948211_38779763</a></div><div><br></div><div>Has anyone measured this at the Undertow level, to see whether &quot;record-request-start-time&quot; really affects performance?<br><br>-- Matt</div></div>