title: Thread.sleep() VS Executor.scheduleWithFixedDelay()
body: <p>Goal: Execute certain code every once in a while.</p>
  
  <p>Question: In terms of performance, is there a significant difference between:</p>
  
  <pre><code>while(true) {
      execute();
      Thread.sleep(10 * 1000);
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>executor.scheduleWithFixedDelay(runnableWithoutSleep, 0, 10, TimeUnit.SECONDS);
  </code></pre>
  
  <p>?</p>
  
  <p>Of course, the latter option is more kosher. Yet, I would like to know whether I should embark on an adventure called "Spend a few days refactoring legacy code to say goodbye to Thread.sleep()".</p>
  
  <p>Update:
  This code runs in super/mega/hyper high-load environment.</p>