mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Specs seem to be green but hang on what I'm assuming to be a long GC pause near the end. I need to investigate what's going on memory wise.
15 lines
453 B
CoffeeScript
15 lines
453 B
CoffeeScript
# Like sands through the hourglass, so are the days of our lives.
|
|
startTime = Date.now()
|
|
|
|
# Start the crash reporter before anything else.
|
|
require('crash-reporter').start(productName: 'Atom', companyName: 'GitHub')
|
|
|
|
require './window'
|
|
|
|
Atom = require './atom'
|
|
window.atom = Atom.loadOrCreate('editor')
|
|
atom.initialize()
|
|
atom.startEditorWindow()
|
|
window.atom.loadTime = Date.now() - startTime
|
|
console.log "Window load time: #{atom.getWindowLoadTime()}ms"
|