Alright, this is the output of METEOR_PROFILE=1000 meteor run
.
However, after (#3) Total: 79,241 ms (Build App)
it takes around 2 minutes until the server startup profile and ‘started your app’ appear and these 2 minutes are not logged anywhere.
$ METEOR_PROFILE=1000 meteor run
| (#1) Profiling: ProjectContext resolveConstraints
| Selecting package versions -
| ProjectContext resolveConstraints.............................2,010 ms (1)
| └─ _resolveConstraints........................................1,997 ms (1)
| └─ JsImage#load 1,358 ms (1)
|
| Top leaves:
| files.readFile.............................................160 ms (220)
| files.stat.................................................119 ms (236)
|
| (#1) Total: 2,010 ms (ProjectContext resolveConstraints)
|
[[[[[ /mnt/c/Users/me/project ]]]]]
=> Started proxy.
| (#2) Profiling: ProjectContext prepareProjectForBuild
| Building local packages \
| ProjectContext prepareProjectForBuild.........................5,952 ms (1)
| └─ _buildLocalPackages........................................5,198 ms (1)
| └─ IsopackCache Load local isopack.........................4,913 ms (62)
| └─ Isopack#initFromPath.................................4,569 ms (62)
| ├─ bundler.readJsImage...............................1,866 ms (6)
| │ └─ meteorNpm.rebuildIfNonPortable.................1,660 ms (34)
| │ └─ meteorNpm.isPortable 1,373 ms (859)
| └─ meteorNpm.rebuildIfNonPortable....................1,724 ms (21)
| └─ meteorNpm.isPortable 1,485 ms (667)
|
| Top leaves:
| files.readFile...........................................1,370 ms (1786)
| files.stat...............................................1,200 ms (2347)
| files.readdir..............................................511 ms (76)
| files.open.................................................384 ms (476)
| other _buildLocalPackages..................................285 ms (1)
| other IsopackCache Load local isopack......................245 ms (62)
| files.lstat................................................169 ms (2303)
| files.read.................................................167 ms (476)
| other Isopack#initFromPath.................................115 ms (62)
|
| (#2) Total: 5,952 ms (ProjectContext prepareProjectForBuild)
|
| (#3) Profiling: Build App
=> A patch (Meteor 1.6.0.1) for your current release is available!
Update this project now with 'meteor update --patch'.
=> Started MongoDB.
[client]: ES2015 modules Compilation: 2681.852ms
[client]: TypeScript Files Compilation: 3664.848ms
[server]: ES2015 modules Compilation: 1187.559ms
[server]: TypeScript Files Compilation: 1184.860ms
| Starting your app |
| files.stat 1 ms (1)
| files.unlink 1 ms (1)
| files.readFile 1 ms (1)
| files.writeFile 1 ms (1)
| Build App....................................................79,238 ms (1)
| └─ files.withCache...........................................79,238 ms (1)
| ├─ compiler.compile(the app)..............................59,513 ms (1)
| │ └─ files.withCache.....................................59,512 ms (2)
| │ └─ compileUnibuild (the app)........................59,511 ms (2)
| │ ├─ Isopack#ensurePluginsInitialized..............13,566 ms (28)
| │ │ ├─ JsImage#load...............................11,646 ms (6)
| │ │ │ └─ runJavaScript packages/angular-typescript-compiler.js.9,353 ms (1)
| │ │ │ ├─ require("./node_modules/meteor/angular-typescript-compiler/index.js") 1,182 ms (1)
| │ │ │ └─ other runJavaScript packages/angular-typescript-compiler.js 8,171 ms
| │ │ └─ Npm.require("meteor-babel") 1,555 ms (1)
| │ ├─ files.withCache...............................40,919 ms (2)
| │ │ ├─ files.realpath 7,228 ms (17839)
| │ │ ├─ files.readdir 9,725 ms (35678)
| │ │ ├─ files.stat 16,550 ms (112379)
| │ │ └─ other files.withCache 7,391 ms
| │ ├─ optimistic readFile............................2,861 ms (8377)
| │ │ └─ files.readFile 2,188 ms (4268)
| │ └─ other compileUnibuild (the app) 1,565 ms
| ├─ bundler.bundle..makeClientTarget.......................14,387 ms (1)
| │ └─ Target#make.........................................14,386 ms (1)
| │ ├─ Target#_runCompilerPlugins........................6,847 ms (1)
| │ │ └─ plugin angular-compilers 6,579 ms (3)
| │ └─ Target#_emitResources.............................6,831 ms (1)
| │ └─ PackageSourceBatch.computeJsOutputFilesMap.....6,242 ms (1)
| │ ├─ ImportScanner#_findImportedModuleIdentifiers 2,746 ms (929)
| │ └─ optimistic statOrNull 2,325 ms (14638)
| ├─ bundler.bundle..makeServerTarget........................3,308 ms (1)
| │ └─ Target#make..........................................3,307 ms (1)
| │ └─ Target#_runCompilerPlugins........................2,614 ms (1)
| │ └─ plugin angular-compilers 2,415 ms (3)
| └─ bundler writeSiteArchive................................2,004 ms (1)
| └─ bundler writeTargetToPath............................1,528 ms (2)
| └─ ServerTarget#write................................1,179 ms (1)
| └─ JsImage#write 1,134 ms (1)
|
| Top leaves:
| files.stat..............................................17,821 ms (122591)
| files.readdir............................................9,731 ms (35701)
| other runJavaScript packages/angular-typescript-compiler.js.8,171 ms (1)
| other files.withCache....................................7,408 ms (5)
| files.realpath...........................................7,231 ms (17856)
| files.readFile...........................................3,111 ms (5860)
| ImportScanner#_findImportedModuleIdentifiers.............3,041 ms (1005)
| other compileUnibuild (the app)..........................1,565 ms (2)
| other optimistic readFile..................................654 ms (8377)
| other PackageSourceBatch.computeJsOutputFilesMap...........504 ms (1)
| files.writeFile............................................437 ms (192)
| files.rm_recursive.........................................435 ms (4)
| other Isopack#ensurePluginsInitialized.....................366 ms (28)
| CssTools.parseCss..........................................359 ms (4)
| sha1.......................................................310 ms (7515)
| files.rename...............................................283 ms (197)
| Babel.compile..............................................243 ms (145)
| Target#minifyJs............................................219 ms (1)
| files.mkdir................................................189 ms (56)
| files.lstat................................................184 ms (1556)
| runJavaScript packages/underscore.js.......................125 ms (2)
|
| (#3) Total: 79,241 ms (Build App)
|
I20180207-17:19:34.413(1)? | (#1) Profiling: Server startup
I20180207-17:19:34.506(1)? |
I20180207-17:19:34.506(1)? | Server startup................................................1,925 ms (1)
I20180207-17:19:34.507(1)? | └─ Load server bundles 1,906 ms (1)
I20180207-17:19:34.508(1)? |
I20180207-17:19:34.509(1)? | Top leaves:
I20180207-17:19:34.509(1)? | require("meteor-rxjs").....................................484 ms (3)
I20180207-17:19:34.510(1)? | Npm.require("mongodb").....................................273 ms (1)
I20180207-17:19:34.510(1)? | require("connect").........................................144 ms (1)
I20180207-17:19:34.511(1)? | Npm.require("sockjs")......................................111 ms (1)
I20180207-17:19:34.511(1)? |
I20180207-17:19:34.512(1)? | (#1) Total: 1,925 ms (Server startup)
I20180207-17:19:34.512(1)? |
=> Started your app.
=> App running at: http://localhost:3000/