On 04/06/2008, Niall Pemberton <[EMAIL PROTECTED]> wrote: > I read the following on Ortwin Glück's blog (via PlanetApache): > > "...do not use differences of the system timers ... With system timers > I mean System.currentTimeMillis() and System.nanoTime(). Rather the > ThreadMXBean.getCurrentThreadCpuTime() method should be used." > > http://www.odi.ch/weblog/posting.php?posting=495 > > Thought it probably has relevance to the monitoring and performance > sandbox components.
Might be a good idea for tests that are CPU-bound, but not so sensible for ones that are IO-intensive or where the IO performance is important. > Niall > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]