Meteor CLI is Slow: Any ideas?


#1

Any help here is greatly appreciated! It’s been about 4 months or so since I’ve last worked on a Meteor project. This is a new issue that I’m experiencing with the latest versions.

I’m running an iMac which is about 3 years old and has decent processing power. The Meteor CLI takes about 1 minute to run the meteor create command, and about 1 minute to start the empty project. When I try running the Meteorchef Base starter project it takes between 10-15 minutes to start.

I’ve tried deleting the terminal log files on OSX and also fully deleting Meteor and reinstalling. Are these normal loading times, or am I correct in thinking something is wrong? Has anyone experienced similar issues and been able to fix them? Any insight would be great. Thank you!


#2

Those times are definitely on the long side. Try running with: METEOR_PROFILE=1 meteor and see if you can pinpoint anything?


#3

| files.stat 0 ms (1)
| files.unlink 27 ms (1)
| files.readFile 49 ms (1)
| bundler.readJsImage…342 ms (1)
| ├─ files.readFile 340 ms (8)
| └─ other bundler.readJsImage 1 ms
| JsImage#load…956 ms (1)
| ├─ runJavaScript packages/underscore.js 16 ms (1)
| ├─ runJavaScript packages/meteor.js…242 ms (1)
| │ ├─ files.stat 23 ms (6)
| │ └─ other runJavaScript packages/meteor.js 219 ms
| └─ runJavaScript packages/npm-mongo.js 698 ms (1)
| files.writeFile 124 ms (1)
| sqlite query 5,051 ms (3)
| files.readlink 0 ms (1)
| ProjectContext prepareProjectForBuild…450,703 ms (1)
| ├─ _initializeCatalog 3 ms (1)
| ├─ _resolveConstraints…298,968 ms (1)
| │ ├─ bundler.readJsImage…700 ms (1)
| │ │ ├─ files.readFile 695 ms (22)
| │ │ └─ other bundler.readJsImage 4 ms
| │ ├─ JsImage#load…362 ms (1)
| │ │ ├─ runJavaScript packages/underscore.js 37 ms (1)
| │ │ ├─ runJavaScript packages/meteor.js 118 ms (1)
| │ │ ├─ runJavaScript packages/modules-runtime.js 9 ms (1)
| │ │ ├─ runJavaScript packages/modules.js…42 ms (1)
| │ │ │ ├─ files.stat 33 ms (1)
| │ │ │ └─ other runJavaScript packages/modules.js 10 ms
| │ │ ├─ runJavaScript packages/base64.js 2 ms (1)
| │ │ ├─ runJavaScript packages/ejson.js 9 ms (1)
| │ │ ├─ runJavaScript packages/check.js 9 ms (1)
| │ │ ├─ runJavaScript packages/package-version-parser.js 24 ms (1)
| │ │ ├─ runJavaScript packages/logic-solver.js 85 ms (1)
| │ │ ├─ runJavaScript packages/constraint-solver.js 25 ms (1)
| │ │ └─ other JsImage#load 1 ms
| │ ├─ Select Package Versions…297,899 ms (1)
| │ │ ├─ new CS.Input 5 ms (1)
| │ │ ├─ Input#loadOnlyPreviousSolution…8,155 ms (1)
| │ │ │ ├─ sqlite query 8,125 ms (106)
| │ │ │ └─ other Input#loadOnlyPreviousSolution 30 ms
| │ │ ├─ Input#loadFromCatalog…288,877 ms (1)
| │ │ │ ├─ sqlite query 286,656 ms (185)
| │ │ │ └─ other Input#loadFromCatalog 2,221 ms
| │ │ ├─ new CS.Solver…21 ms (1)
| │ │ │ └─ Solver#analyze…21 ms (1)
| │ │ │ ├─ analyze allowed versions 8 ms (1)
| │ │ │ ├─ analyze reachability 3 ms (1)
| │ │ │ └─ analyze constraints 9 ms (1)
| │ │ └─ Solver#getAnswer…840 ms (1)
| │ │ ├─ new Logic.Solver (MiniSat start-up) 145 ms (1)
| │ │ ├─ generate package variables 121 ms (1)
| │ │ ├─ generate dependency requirements 47 ms (1)
| │ │ ├─ generate constraints 83 ms (1)
| │ │ ├─ pre-solve 221 ms (1)
| │ │ ├─ minimize unknown_packages 4 ms (1)
| │ │ ├─ minimize conflicts 59 ms (1)
| │ │ ├─ minimize unanticipated_prereleases 39 ms (1)
| │ │ ├─ calculate previous_root distance costs 4 ms (1)
| │ │ ├─ minimize previous_root_incompat 30 ms (1)
| │ │ ├─ minimize previous_root_major 1 ms (1)
| │ │ ├─ minimize previous_root_minor 2 ms (1)
| │ │ ├─ minimize previous_root_patch 2 ms (1)
| │ │ ├─ minimize previous_root_rest 1 ms (1)
| │ │ ├─ calculate previous_indirect distance costs 2 ms (1)
| │ │ ├─ minimize previous_indirect_incompat 2 ms (1)
| │ │ ├─ minimize previous_indirect_minor 2 ms (1)
| │ │ ├─ minimize previous_indirect_patch 2 ms (1)
| │ │ ├─ lock down important versions 4 ms (1)
| │ │ ├─ minimize new_indirect_minor 3 ms (1)
| │ │ ├─ minimize total_packages 59 ms (1)
| │ │ └─ other Solver#getAnswer 3 ms
| │ └─ other _resolveConstraints 7 ms
| ├─ _downloadMissingPackages…18,310 ms (1)
| │ ├─ Isopack.readMetadataFromDirectory…18,263 ms (106)
| │ │ ├─ files.stat 4,398 ms (106)
| │ │ ├─ files.readFile 13,858 ms (106)
| │ │ └─ other Isopack.readMetadataFromDirectory 7 ms
| │ └─ other _downloadMissingPackages 47 ms
| └─ _buildLocalPackages…133,422 ms (1)
| ├─ files.stat 69 ms (1)
| ├─ IsopackCache Load local isopack…133,347 ms (106)
| │ ├─ files.stat 1,045 ms (106)
| │ ├─ Isopack#initFromPath…132,254 ms (106)
| │ │ ├─ files.realpath 57 ms (106)
| │ │ ├─ Isopack.readMetadataFromDirectory…5,542 ms (106)
| │ │ │ ├─ files.stat 2 ms (106)
| │ │ │ ├─ files.readFile 5,534 ms (106)
| │ │ │ └─ other Isopack.readMetadataFromDirectory 6 ms
| │ │ ├─ files.readFile 25,373 ms (318)
| │ │ ├─ files.open 975 ms (1270)
| │ │ ├─ files.read 34,991 ms (1270)
| │ │ ├─ files.close 39,616 ms (1270)
| │ │ ├─ bundler.readJsImage…15,978 ms (8)
| │ │ │ ├─ files.readFile 15,958 ms (159)
| │ │ │ └─ other bundler.readJsImage 21 ms
| │ │ ├─ meteorNpm.rebuildIfNonPortable…9,555 ms (21)
| │ │ │ ├─ files.readdir 1,395 ms (68)
| │ │ │ ├─ files.lstat 627 ms (533)
| │ │ │ ├─ files.readFile 7,515 ms (84)
| │ │ │ └─ other meteorNpm.rebuildIfNonPortable 18 ms
| │ │ └─ other Isopack#initFromPath 168 ms
| │ ├─ Isopack#getStrongOrderedUsedAndImpliedPackages 5 ms (106)
| │ └─ other IsopackCache Load local isopack 44 ms
| └─ other _buildLocalPackages 5 ms
|
| Top leaves:
| sqlite query…299,832 ms (294)
| files.readFile…69,323 ms (804)
| files.close…39,616 ms (1270)
| files.read…34,991 ms (1270)
| files.stat…5,570 ms (335)
| other Input#loadFromCatalog…2,221 ms (1)
| files.readdir…1,395 ms (69)
| files.open…975 ms (1270)
| files.lstat…627 ms (533)
| pre-solve…221 ms (1)
| other runJavaScript packages/meteor.js…219 ms (1)
| other Isopack#initFromPath…168 ms (106)
| new Logic.Solver (MiniSat start-up)…145 ms (1)
| files.writeFile…124 ms (1)
| generate package variables…121 ms (1)
|
| (#1) Total: 457,252 ms (ProjectContext prepareProjectForBuild)
|
| (#2) Profiling: Build App -
Building the application /

it’s been hanging on the Building the application step for at least 5 minutes and still going.


#4

If you start a new project and run it, are the build times similar?


#5

14 minutes later it finally starts


#6

With a new project, the build times are around 1 minute


#7

Hm, this is the closest thing I saw to your issue. I just git cloned the same project and built it, besides the package downloads, it was around 15 seconds to build the first time, and around the same on subsequent builds.


#8

Cheers man thanks for the insight. I’ll keep researching this issue to see if I can find a fix.


#9

Run the top command then in another terminal run one of the slow meteor commands. Top will display the memory and CPU utilization for each running process. If your memory is approaching 0 or your CPU 99%, then that could be the issue.

If you haven’t played with Meteor on this machine in awhile, it may be that Meteor is trying to download its latest release in the background. In my experience this can cause spikes in memory and CPU usage. If so, try running $ meteor update to get it over with.

Happy hunting.


#10

It still takes ages to start, here’s what I get when I run the profiler (I omitted some content to allow it to fit this post):

=> Started proxy.
| (#1) Profiling: ProjectContext prepareProjectForBuild
=> Started MongoDB.

| Top leaves:
| sqlite query…92,428 ms (294)
| files.readFile…77,442 ms (1011)
| files.read…38,370 ms (1287)
| files.close…11,680 ms (1287)
| files.readdir…10,910 ms (267)
| other Input#loadFromCatalog…2,255 ms (1)
| pre-solve…229 ms (1)
| files.realpath…209 ms (106)
| files.lstat…163 ms (2649)
| other Isopack#initFromPath…145 ms (106)
| files.open…104 ms (1287)
|
| (#1) Total: 241,798 ms (ProjectContext prepareProjectForBuild)
|
| (#2) Profiling: Build App
Doing HTTP request: POST https://www.meteor.com/oauth2/authorize?state=
| Starting your app |
| bundler.readJsImage…3,155 ms (1)
| ├─ files.readFile 3,150 ms (42)
| └─ other bundler.readJsImage 5 ms
| JsImage#load…39,913 ms (1)
| ├─ runJavaScript packages/underscore.js 15 ms (1)
| ├─ runJavaScript packages/meteor.js 685 ms (1)
| ├─ runJavaScript packages/modules-runtime.js 5 ms (1)
| ├─ runJavaScript packages/modules.js 127 ms (1)
| ├─ runJavaScript packages/base64.js 2 ms (1)
| ├─ runJavaScript packages/ejson.js 7 ms (1)
| ├─ runJavaScript packages/check.js 6 ms (1)
| ├─ runJavaScript packages/promise.js 215 ms (1)
| ├─ runJavaScript packages/ecmascript-runtime.js 8,033 ms (1)
| ├─ runJavaScript packages/babel-compiler.js 30,579 ms (1)
| ├─ runJavaScript packages/ecmascript.js 1 ms (1)
| ├─ runJavaScript packages/babel-runtime.js 173 ms (1)
| ├─ runJavaScript packages/random.js 13 ms (1)
| ├─ runJavaScript packages/tracker.js 7 ms (1)
| ├─ runJavaScript packages/id-map.js 1 ms (1)
| ├─ runJavaScript packages/ddp-common.js 5 ms (1)
| ├─ runJavaScript packages/diff-sequence.js 7 ms (1)
| ├─ runJavaScript packages/mongo-id.js 1 ms (1)
| └─ runJavaScript packages/ddp-client.js 26 ms (1)
| files.stat 0 ms (3)
| files.readFile 2 ms (4)
| Build App…759,994 ms (1)
| └─ files.withCache…759,994 ms (1)
| ├─ compiler.compile(the app)…333,890 ms (1)
| │ └─ files.withCache…333,889 ms (2)
| │ └─ compileUnibuild (the app)…333,889 ms (2)
| │ ├─ Isopack#ensurePluginsInitialized…166,396 ms (28)
| │ │ ├─ JsImage#load…164,376 ms (6)
| │ │ │ ├─ runJavaScript packages/underscore.js 108 ms (5)
| │ │ │ ├─ runJavaScript packages/meteor.js…2,332 ms (5)
| │ │ │ │ ├─ files.stat 4 ms (30)
| │ │ │ │ └─ other runJavaScript packages/meteor.js 2,328 ms
| │ │ │ ├─ runJavaScript packages/minifier-css.js 1,528 ms (1)
| │ │ │ ├─ runJavaScript packages/minifyStdCSS_plugin.js 629 ms (1)
| │ │ │ ├─ runJavaScript packages/minifier-js.js 5,263 ms (2)
| │ │ │ ├─ runJavaScript packages/minifyStdJS_plugin.js 1 ms (1)
| │ │ │ ├─ runJavaScript packages/modules-runtime.js 21 ms (3)
| │ │ │ ├─ runJavaScript packages/modules.js 903 ms (3)
| │ │ │ ├─ runJavaScript packages/promise.js 1,033 ms (3)
| │ │ │ ├─ runJavaScript packages/ecmascript-runtime.js 30,929 ms (3)
| │ │ │ ├─ runJavaScript packages/babel-compiler.js 117,695 ms (3)
| │ │ │ ├─ runJavaScript packages/ecmascript.js 2 ms (2)
| │ │ │ ├─ runJavaScript packages/babel-runtime.js 438 ms (2)
| │ │ │ ├─ runJavaScript packages/random.js 44 ms (2)
| │ │ │ ├─ runJavaScript packages/caching-compiler.js.1,278 ms (2)
| │ │ │ │ ├─ files.stat 1 ms (20)
| │ │ │ │ └─ other runJavaScript packages/caching-compiler.js 1,277 ms
| │ │ │ ├─ runJavaScript packages/compileScssBatch_plugin.js 2,042 ms (1)
| │ │ │ ├─ runJavaScript packages/tracker.js 7 ms (1)
| │ │ │ ├─ runJavaScript packages/htmljs.js 10 ms (1)
| │ │ │ ├─ runJavaScript packages/html-tools.js 58 ms (1)
| │ │ │ ├─ runJavaScript packages/blaze-tools.js 6 ms (1)
| │ │ │ ├─ runJavaScript packages/spacebars-compiler.js 14 ms (1)
| │ │ │ ├─ runJavaScript packages/templating-tools.js 18 ms (1)
| │ │ │ ├─ runJavaScript packages/caching-html-compiler.js 7 ms (1)
| │ │ │ ├─ runJavaScript packages/compileStaticHtmlBatch_plugin.js 5 ms (1)
| │ │ │ └─ other JsImage#load 2 ms
| │ │ └─ other Isopack#ensurePluginsInitialized 2,021 ms
| │ ├─ files.withCache…122,667 ms (2)
| │ │ ├─ files.realpath 854 ms (4651)
| │ │ ├─ files.readdir 119,891 ms (9302)
| │ │ ├─ files.stat 287 ms (19154)
| │ │ └─ other files.withCache 1,636 ms
| │ ├─ files.readdir 2 ms (5)
| │ ├─ files.readFile 44,529 ms (1070)
| │ ├─ sha1 26 ms (702)
| │ ├─ files.lstat 26 ms (185)
| │ └─ other compileUnibuild (the app) 241 ms
| ├─ compiler.lint(the app)…3 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 1 ms (108)
| │ └─ other compiler.lint(the app) 2 ms
| ├─ bundler.bundle…makeClientTarget…238,374 ms (1)
| │ └─ Target#make…238,374 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 9 ms (805)
| │ ├─ Target#_runCompilerPlugins…100,402 ms (1)
| │ │ ├─ files.realpath 370 ms (75)
| │ │ ├─ Isopack#ensurePluginsInitialized…69,561 ms (169)
| │ │ │ ├─ JsImage#load…69,560 ms (1)
| │ │ │ │ ├─ runJavaScript packages/underscore.js 15 ms (1)
| │ │ │ │ ├─ runJavaScript packages/meteor.js 272 ms (1)
| │ │ │ │ ├─ runJavaScript packages/modules-runtime.js 6 ms (1)
| │ │ │ │ ├─ runJavaScript packages/modules.js 306 ms (1)
| │ │ │ │ ├─ runJavaScript packages/promise.js 296 ms (1)
| │ │ │ │ ├─ runJavaScript packages/ecmascript-runtime.js 9,529 ms (1)
| │ │ │ │ ├─ runJavaScript packages/babel-compiler.js 55,545 ms (1)
| │ │ │ │ ├─ runJavaScript packages/ecmascript.js 1 ms (1)
| │ │ │ │ ├─ runJavaScript packages/babel-runtime.js…355 ms (1)
| │ │ │ │ │ ├─ files.stat 7 ms (2)
| │ │ │ │ │ └─ other runJavaScript packages/babel-runtime.js 348 ms
| │ │ │ │ ├─ runJavaScript packages/random.js 19 ms (1)
| │ │ │ │ ├─ runJavaScript packages/caching-compiler.js 573 ms (1)
| │ │ │ │ ├─ runJavaScript packages/tracker.js 7 ms (1)
| │ │ │ │ ├─ runJavaScript packages/htmljs.js 9 ms (1)
| │ │ │ │ ├─ runJavaScript packages/html-tools.js 58 ms (1)
| │ │ │ │ ├─ runJavaScript packages/blaze-tools.js 6 ms (1)
| │ │ │ │ ├─ runJavaScript packages/minifier-js.js 2,526 ms (1)
| │ │ │ │ ├─ runJavaScript packages/spacebars-compiler.js 15 ms (1)
| │ │ │ │ ├─ runJavaScript packages/templating-tools.js 14 ms (1)
| │ │ │ │ └─ runJavaScript packages/caching-html-compiler.js 6 ms (1)
| │ │ │ └─ other Isopack#ensurePluginsInitialized 2 ms
| │ │ ├─ sha1 3 ms (128)
| │ │ ├─ Isopack#getUnibuildAtArch 7 ms (785)
| │ │ ├─ plugin ecmascript…29,860 ms (1)
| │ │ │ ├─ files.stat 1,470 ms (296)
| │ │ │ ├─ Babel.compile 9,749 ms (85)
| │ │ │ ├─ sha1 2 ms (86)
| │ │ │ ├─ files.readFile 35 ms (1)
| │ │ │ └─ other plugin ecmascript 18,603 ms
| │ │ ├─ plugin templating…181 ms (1)
| │ │ │ ├─ wrapped.fs.readFileSync 178 ms (3)
| │ │ │ └─ other plugin templating 3 ms
| │ │ ├─ plugin meteor…139 ms (1)
| │ │ │ ├─ sha1 23 ms (377)
| │ │ │ └─ other plugin meteor 116 ms
| │ │ ├─ plugin fourseven:scss…121 ms (1)
| │ │ │ ├─ wrapped.fs.readFileSync 117 ms (4)
| │ │ │ └─ other plugin fourseven:scss 4 ms
| │ │ ├─ plugin static-html…135 ms (1)
| │ │ │ ├─ wrapped.fs.readFileSync 113 ms (256)
| │ │ │ └─ other plugin static-html 22 ms
| │ │ └─ other Target#_runCompilerPlugins 26 ms
| │ ├─ Target#_emitResources…135,686 ms (1)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap…130,377 ms (1)
| │ │ │ ├─ ImportScanner#_getInstallPath 182 ms (2454)
| │ │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 3,099 ms (1771)
| │ │ │ ├─ Resolver#resolve…18,704 ms (3547)
| │ │ │ │ ├─ Resolver#_resolveAbsolute 4 ms (1911)
| │ │ │ │ ├─ Resolver#_resolveRelative…7,453 ms (1910)
| │ │ │ │ │ ├─ Resolver#_joinAndStat…7,445 ms (1676)
| │ │ │ │ │ │ ├─ files.stat 7,330 ms (2687)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 115 ms
| │ │ │ │ │ └─ other Resolver#_resolveRelative 8 ms
| │ │ │ │ ├─ Resolver#_resolveNodeModule…4,828 ms (234)
| │ │ │ │ │ ├─ Resolver#_joinAndStat…4,802 ms (1069)
| │ │ │ │ │ │ ├─ files.stat 4,729 ms (3323)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 73 ms
| │ │ │ │ │ ├─ Resolver#resolve…2 ms (3)
| │ │ │ │ │ │ └─ Resolver#_resolveNodeModule…2 ms (3)
| │ │ │ │ │ │ └─ Resolver#_joinAndStat…1 ms (6)
| │ │ │ │ │ │ └─ files.stat 1 ms (18)
| │ │ │ │ │ └─ other Resolver#_resolveNodeModule 24 ms
| │ │ │ │ ├─ Resolver#_resolvePkgJsonMain…6,324 ms (302)
| │ │ │ │ │ ├─ Resolver#_readPkgJson…6,211 ms (302)
| │ │ │ │ │ │ ├─ files.readFile 6,200 ms (263)
| │ │ │ │ │ │ └─ other Resolver#_readPkgJson 10 ms
| │ │ │ │ │ ├─ ImportScanner#_getInstallPath 1 ms (28)
| │ │ │ │ │ ├─ Resolver#_joinAndStat…103 ms (57)
| │ │ │ │ │ │ ├─ files.stat 102 ms (5)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 1 ms
| │ │ │ │ │ └─ other Resolver#_resolvePkgJsonMain 9 ms
| │ │ │ │ ├─ Resolver#_joinAndStat 8 ms (245)
| │ │ │ │ └─ other Resolver#resolve 87 ms
| │ │ │ ├─ ImportScanner#_readFile…108,132 ms (1700)
| │ │ │ │ ├─ files.readFile 108,033 ms (1700)
| │ │ │ │ ├─ sha1 34 ms (1700)
| │ │ │ │ └─ other ImportScanner#_readFile 65 ms
| │ │ │ └─ other PackageSourceBatch.computeJsOutputFilesMap 259 ms
| │ │ ├─ PackageSourceBatch#getResources…5,300 ms (76)
| │ │ │ ├─ PackageSourceBatch#_linkJS…5,299 ms (76)
| │ │ │ │ ├─ sha1 3 ms (76)
| │ │ │ │ ├─ files.readFile 4,936 ms (76)
| │ │ │ │ └─ other PackageSourceBatch#_linkJS 360 ms
| │ │ │ └─ other PackageSourceBatch#getResources 2 ms
| │ │ └─ other Target#_emitResources 8 ms
| │ ├─ Target#minifyJs 194 ms (1)
| │ ├─ ClientTarget#minifyCss…2,044 ms (1)
| │ │ ├─ mergeCss…2,042 ms (1)
| │ │ │ ├─ CssTools.parseCss 31 ms (5)
| │ │ │ ├─ CssTools.mergeCssAsts…111 ms (1)
| │ │ │ │ ├─ CssTools.rewriteCssUrls 109 ms (5)
| │ │ │ │ └─ other CssTools.mergeCssAsts 2 ms
| │ │ │ ├─ CssTools.stringifyCss 1,856 ms (1)
| │ │ │ ├─ composing source maps 39 ms (1)
| │ │ │ └─ other mergeCss 6 ms
| │ │ └─ other ClientTarget#minifyCss 2 ms
| │ ├─ sha1 31 ms (78)
| │ └─ other Target#make 8 ms
| ├─ bundler.bundle…makeServerTarget…45,393 ms (1)
| │ └─ Target#make…45,392 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 6 ms (912)
| │ ├─ Target#_runCompilerPlugins…4,159 ms (1)
| │ │ ├─ files.realpath 831 ms (86)
| │ │ ├─ sha1 3 ms (148)
| │ │ ├─ Isopack#getUnibuildAtArch 8 ms (905)
| │ │ ├─ plugin ecmascript…3,288 ms (1)
| │ │ │ ├─ files.stat 700 ms (338)
| │ │ │ ├─ Babel.compile 2,433 ms (95)
| │ │ │ ├─ sha1 2 ms (96)
| │ │ │ ├─ files.readFile 103 ms (1)
| │ │ │ └─ other plugin ecmascript 49 ms
| │ │ └─ other Target#_runCompilerPlugins 30 ms
| │ ├─ Target#_emitResources…41,219 ms (1)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap…33,097 ms (1)
| │ │ │ ├─ ImportScanner#_getInstallPath 71 ms (1294)
| │ │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 366 ms (1228)
| │ │ │ ├─ Resolver#resolve…2,048 ms (1525)
| │ │ │ │ ├─ Resolver#_resolveAbsolute 1 ms (1249)
| │ │ │ │ ├─ Resolver#_resolveRelative…475 ms (1248)
| │ │ │ │ │ ├─ Resolver#_joinAndStat…466 ms (1161)
| │ │ │ │ │ │ ├─ files.stat 407 ms (1386)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 59 ms
| │ │ │ │ │ └─ other Resolver#_resolveRelative 9 ms
| │ │ │ │ ├─ Resolver#_resolveNodeModule…745 ms (87)
| │ │ │ │ │ ├─ Resolver#_joinAndStat…738 ms (313)
| │ │ │ │ │ │ ├─ files.stat 724 ms (548)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 14 ms
| │ │ │ │ │ └─ other Resolver#_resolveNodeModule 8 ms
| │ │ │ │ ├─ Resolver#_resolvePkgJsonMain…773 ms (240)
| │ │ │ │ │ ├─ Resolver#_readPkgJson…681 ms (240)
| │ │ │ │ │ │ ├─ files.readFile 676 ms (240)
| │ │ │ │ │ │ └─ other Resolver#_readPkgJson 5 ms
| │ │ │ │ │ ├─ Resolver#_joinAndStat…87 ms (9)
| │ │ │ │ │ │ └─ files.stat 87 ms (10)
| │ │ │ │ │ └─ other Resolver#_resolvePkgJsonMain 4 ms
| │ │ │ │ ├─ Resolver#_joinAndStat 6 ms (231)
| │ │ │ │ └─ other Resolver#resolve 47 ms
| │ │ │ ├─ ImportScanner#_readFile…30,495 ms (1171)
| │ │ │ │ ├─ files.readFile 30,438 ms (1171)
| │ │ │ │ ├─ sha1 19 ms (1171)
| │ │ │ │ └─ other ImportScanner#_readFile 38 ms
| │ │ │ └─ other PackageSourceBatch.computeJsOutputFilesMap 117 ms
| │ │ ├─ PackageSourceBatch#getResources…8,115 ms (87)
| │ │ │ ├─ PackageSourceBatch#_linkJS…8,113 ms (87)
| │ │ │ │ ├─ sha1 2 ms (87)
| │ │ │ │ ├─ files.readFile 8,040 ms (87)
| │ │ │ │ └─ other PackageSourceBatch#_linkJS 71 ms
| │ │ │ └─ other PackageSourceBatch#getResources 2 ms
| │ │ └─ other Target#_emitResources 8 ms
| │ └─ other Target#make 7 ms
| ├─ bundler writeSiteArchive…142,326 ms (1)
| │ ├─ files.rm_recursive 58 ms (1)
| │ ├─ files.mkdir 66 ms (1)
| │ ├─ Builder#write…128 ms (4)
| │ │ ├─ files.readFile 126 ms (2)
| │ │ └─ files.writeFile 1 ms (4)
| │ ├─ bundler writeTargetToPath…139,533 ms (2)
| │ │ ├─ ClientTarget#write…975 ms (1)
| │ │ │ ├─ Builder#write…90 ms (59)
| │ │ │ │ ├─ sha1 8 ms (59)
| │ │ │ │ ├─ files.writeFile 74 ms (59)
| │ │ │ │ ├─ files.rename 3 ms (59)
| │ │ │ │ └─ other Builder#write 4 ms
| │ │ │ ├─ bundler writeFile…768 ms (86)
| │ │ │ │ └─ Builder#write…768 ms (86)
| │ │ │ │ ├─ files.writeFile 757 ms (86)
| │ │ │ │ ├─ files.rename 4 ms (86)
| │ │ │ │ └─ other Builder#write 5 ms
| │ │ │ ├─ sha1 2 ms (8)
| │ │ │ └─ other ClientTarget#write 113 ms
| │ │ ├─ Builder#complete…132 ms (2)
| │ │ │ └─ files.renameDirAlmostAtomically…132 ms (2)
| │ │ │ └─ files.rename 132 ms (4)
| │ │ └─ ServerTarget#write…138,424 ms (1)
| │ │ ├─ files.readFile 116 ms (1)
| │ │ ├─ Builder#write…2,346 ms (10)
| │ │ │ ├─ files.writeFile 794 ms (9)
| │ │ │ ├─ files.rename 201 ms (9)
| │ │ │ ├─ files.readFile 1,348 ms (16)
| │ │ │ └─ other Builder#write 2 ms
| │ │ ├─ JsImage#write…135,928 ms (1)
| │ │ │ ├─ files.mkdir 1 ms (5)
| │ │ │ ├─ Builder#write…150 ms (159)
| │ │ │ │ ├─ Builder#_ensureDirectory 1 ms (159)
| │ │ │ │ ├─ sha1 13 ms (159)
| │ │ │ │ ├─ files.writeFile 118 ms (159)
| │ │ │ │ ├─ files.rename 7 ms (159)
| │ │ │ │ └─ other Builder#write 10 ms
| │ │ │ ├─ files.lstat 40 ms (190)
| │ │ │ ├─ files.readdir 843 ms (17)
| │ │ │ ├─ files.readFile 26,980 ms (326)
| │ │ │ ├─ Builder#copyDirectory…111 ms (17)
| │ │ │ │ ├─ Builder#_ensureDirectory…5 ms (63)
| │ │ │ │ │ ├─ files.mkdir 3 ms (19)
| │ │ │ │ │ └─ other Builder#_ensureDirectory 1 ms
| │ │ │ │ ├─ files.symlink 54 ms (62)
| │ │ │ │ ├─ files.lstat 32 ms (273)
| │ │ │ │ └─ other Builder#copyDirectory 20 ms
| │ │ │ ├─ meteorNpm.runNpmCommand 107,608 ms (1)
| │ │ │ └─ other JsImage#write 194 ms
| │ │ └─ other ServerTarget#write 35 ms
| │ ├─ files.writeFile 244 ms (1)
| │ ├─ files.rename 45 ms (1)
| │ ├─ Builder#complete…2,245 ms (1)
| │ │ └─ files.renameDirAlmostAtomically…2,245 ms (1)
| │ │ ├─ files.rename 134 ms (2)
| │ │ └─ files.rm_recursive 2,111 ms (1)
| │ └─ other bundler writeSiteArchive 5 ms
| └─ other files.withCache 7 ms
|
| Top leaves:
| files.readFile…234,713 ms (5000)
| files.readdir…120,736 ms (9325)
| meteorNpm.runNpmCommand…107,608 ms (1)
| other plugin ecmascript…18,652 ms (2)
| files.stat…15,854 ms (27918)
| Babel.compile…12,182 ms (180)
| ImportScanner#_findImportedModuleIdentifiers…3,465 ms (2999)
| other runJavaScript packages/meteor.js…2,328 ms (5)
| files.rm_recursive…2,170 ms (4)
| files.realpath…2,055 ms (4813)
| other Isopack#ensurePluginsInitialized…2,022 ms (197)
| files.writeFile…1,990 ms (321)
| CssTools.stringifyCss…1,856 ms (1)
| other files.withCache…1,643 ms (5)
| other runJavaScript packages/caching-compiler.js…1,277 ms (2)
| files.rename…527 ms (327)
| other PackageSourceBatch#_linkJS…431 ms (163)
| wrapped.fs.readFileSync…408 ms (263)
| other PackageSourceBatch.computeJsOutputFilesMap…375 ms (2)
| other runJavaScript packages/babel-runtime.js…348 ms (1)
| other Resolver#_joinAndStat…264 ms (4291)
| ImportScanner#_getInstallPath…255 ms (3785)
| other compileUnibuild (the app)…241 ms (2)
| Target#minifyJs…194 ms (1)
| other JsImage#write…194 ms (1)
| sha1…174 ms (4997)
| runJavaScript packages/underscore.js…139 ms (7)
| other Resolver#resolve…134 ms (5075)
| runJavaScript packages/html-tools.js…116 ms (2)
| other plugin meteor…116 ms (1)
| other ClientTarget#write…113 ms (1)
| CssTools.rewriteCssUrls…109 ms (5)
| other ImportScanner#_readFile…103 ms (2871)
|
| (#2) Total: 803,064 ms (Build App)
|
=> Started your app.

=> App running at: http://localhost:3000/