// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.io.*;
import java.util.logging.*;

public class TestJava14 {
    private final static int N = 100000;
    public static void main(String[] args) throws Exception {
        LogManager.getLogManager().readConfiguration(new FileInputStream("C:\\java14.properties"));
        Logger logger = Logger.getLogger("TestJava14");
        long t1 = System.currentTimeMillis();
        for(int i = 0; i < N; i++) {
            logger.info("This is test");
        }
        long t2 = System.currentTimeMillis();
        System.out.println("java14: " + (t2 - t1));
    }
}
