title: When built from eclipse, why is a java program slower than when built from command line?
body: <p>I did some simple function call and string operation in a loop, the java program runs much faster under command line than launching ( Run as... ) from eclipse...</p>
  
  <p>6 lines of output were printed, each line is around 120 characters.
  each line is a perf result ranges from 50ms to 300ms.</p>
  
  <p>The total time is a little more than 2 seconds.</p>
  
  <p>"much slower" here means, for certain operations ( function call ), I see 20ms vs 300 ms.</p>
  
  <p>After running on console once, the speed on eclipse catches up!</p>
  
  <p>After I change and build the code in eclipse, the speed on CL will drop if I don't rebuild it with command line.</p>
  
  <p>Looks like some hotspot information is only generated with CL...</p>