
public class JI9059988 {

	public static volatile String s = "";

    public static void main(String[] args)
    {                         
        System.out.println("Starting performance test");
        String s1 = "STRING ONE";
        String s2 = "STRING TWO";
        long now1 = System.nanoTime();
        for (long i = 0; i < 1_000_000_00; i++)
        {
            s = "abc " + s1 + " def " + s2;
        }
        long now2 = System.nanoTime();
        System.out.println("initial block took " + (now2 - now1)/1000000 + "ms");
        for (long i = 0; i < 4_000_000_00; i++)
        {
            s = "abc " + s1 + " def " + s2;
        }
        long now3 = System.nanoTime();
        System.out.println("Main block took " + (now3 - now2)/1000000 + "ms");
    }

}
