Only call out to System.currentTimeMillis if in debug mode, this can provide some performance benifits as System.currentTimeMillis requires you to trap to the kernel.