public class Test { 
    static int n; 
    static { 
        Runnable r = () -> n = new Integer(0); 
        for (int i=0; i<1000; ++i) { 
            long t = System.currentTimeMillis(); 
            for (int j=0; j<100000; ++j) { 
                r.run(); 
            } 
            t = System.currentTimeMillis() - t; 
            System.out.printf("%2d %6d\n", i, t); 
        } 
    } 

    public static void main(String[] args) { 
    } 
} 