# Like sands through the hourglass, so are the days of our lives.
date = new Date().getTime()
require 'atom'
require 'window'

window.setUpEnvironment()
window.startup()
atom.show()
console.log "Load time: #{new Date().getTime() - date}"

# Like sands through the hourglass, so are the days of our lives.
date = new Date().getTime()
require 'atom'
require 'window'

window.setUpEnvironment()
window.startup()
setTimeout((-> atom.show()), 0)
console.log "Load time: #{new Date().getTime() - date}"

Call atom.show() from a setTimeout()
Call atom.show() from a setTimeout()

The window was previously flashing white if atom.show() was called
directly after window.startup()

Wrapping the call in a setTimeout with a zero delay seems to prevent
the white flash and the perceived amount of time to display the contents
appears to be the same.
