Use Date.now()

This commit is contained in:
Kevin Sawicki
2013-10-28 15:47:23 -07:00
parent cd9d6ca6ee
commit c4b24fe738

View File

@@ -1,4 +1,4 @@
startTime = new Date().getTime()
startTime = Date.now()
autoUpdater = require 'auto-updater'
crashReporter = require 'crash-reporter'
@@ -62,7 +62,7 @@ delegate.browserMainParts.preMainMessageLoopRun = ->
AtomApplication = require './atom-application'
AtomApplication.open(args)
console.log("App load time: #{new Date().getTime() - startTime}ms")
console.log("App load time: #{Date.now() - startTime}ms")
global.devResourcePath = path.join(app.getHomeDir(), 'github', 'atom')