mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use Date.now()
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user