title: Consumed Time of System.out.println(); Java statement?
body: <p>I hear that the <code>System.out.println();</code> Java statement is costly (it consumes a lot of time)<br>
  So I try to evaluate its cost:<br>
  When I evaluate 5 statements... <code>The cost = 1.0</code><br>
  So I expect the cost of 1 statement = 0.2<br>
  But actually I found <code>The cost = 0.0</code> !!  </p>
  
  <pre><code>double t1 = 0;
  double t2 = 0;
  
  t1 = System.currentTimeMillis();
  System.out.println("aa");
  System.out.println("aa");
  System.out.println("aa");
  System.out.println("aa");
  System.out.println("aa");
  t2 = System.currentTimeMillis();
  System.out.println("The cost = " + (t2-t1) ); 
  // The cost = 1.0 
  
  
  t1 = System.currentTimeMillis();
  System.out.println("aa");
  t2 = System.currentTimeMillis();
  System.out.println("The cost = " + (t2-t1) ); 
  // The cost = 0.0 
  // Expected : 1.0/5 = 0.2 -- But Actual : 0.0
  </code></pre>
  
  <p>Why that?</p>