mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
💄 Use Date.now
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Like sands through the hourglass, so are the days of our lives.
|
||||
startTime = new Date().getTime()
|
||||
startTime = Date.now()
|
||||
|
||||
require './window'
|
||||
|
||||
@@ -7,4 +7,4 @@ Atom = require './atom'
|
||||
window.atom = new Atom()
|
||||
window.setUpEnvironment('editor')
|
||||
window.startEditorWindow()
|
||||
console.log "Window load time: #{new Date().getTime() - startTime}ms"
|
||||
console.log "Window load time: #{Date.now() - startTime}ms"
|
||||
|
||||
Reference in New Issue
Block a user