org.apache.log4j.performance
public class SystemTime extends Object
On an 233Mhz NT machine (JDK 1.1.7B) the System.currentTimeMillis() call takes under half a microsecond to complete whereas the Thread.currentThread().getName() call takes about 4 micro-seconds.
Constructor and Description |
---|
SystemTime() |
public static void main(String[] args)
Copyright 2000-2005 Apache Software Foundation.