Skip to content

Instantly share code, notes, and snippets.

@steve-ross
Created April 22, 2016 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steve-ross/3899678ad3491f3d570f7a4475bfbd39 to your computer and use it in GitHub Desktop.
Save steve-ross/3899678ad3491f3d570f7a4475bfbd39 to your computer and use it in GitHub Desktop.
Meteor Rebuild time on 2011 MacBook Pro 16GB RAM
=> Started your app.
=> App running at: http://localhost:3000
| (#3) Profiling: ProjectContext prepareProjectForBuild
|
| ProjectContext prepareProjectForBuild...........................527 ms (1)
| ├─ _initializeCatalog............................................46 ms (1)
| │ ├─ files.readFile 6 ms (16)
| │ ├─ files.exists 4 ms (9)
| │ ├─ runJavaScript package.js 3 ms (9)
| │ ├─ sqlite query 7 ms (6)
| │ └─ other _initializeCatalog 26 ms
| ├─ _resolveConstraints...........................................94 ms (1)
| │ ├─ Select Package Versions....................................85 ms (1)
| │ │ ├─ new CS.Input 10 ms (1)
| │ │ └─ other Select Package Versions 75 ms
| │ └─ other _resolveConstraints 9 ms
| ├─ _downloadMissingPackages.....................................241 ms (1)
| │ ├─ Isopack.readMetadataFromDirectory.........................148 ms (213)
| │ │ ├─ files.exists 49 ms (213)
| │ │ ├─ files.readFile 73 ms (213)
| │ │ └─ other Isopack.readMetadataFromDirectory 26 ms
| │ └─ other _downloadMissingPackages 93 ms
| └─ _buildLocalPackages..........................................146 ms (1)
| ├─ IsopackCache Load local isopack.............................8 ms (213)
| │ ├─ Isopack#getStrongOrderedUsedAndImpliedPackages 6 ms (213)
| │ └─ other IsopackCache Load local isopack 1 ms
| ├─ IsopackCache Build local isopack..........................129 ms (6)
| │ ├─ watch.isUpToDate.......................................125 ms (6)
| │ │ ├─ files.readFile 31 ms (94)
| │ │ ├─ sha1 2 ms (94)
| │ │ ├─ files.readdir 53 ms (222)
| │ │ ├─ files.stat 16 ms (738)
| │ │ └─ other watch.isUpToDate 23 ms
| │ └─ other IsopackCache Build local isopack 4 ms
| └─ other _buildLocalPackages 9 ms
|
| Top leaves:
| files.readFile.............................................110 ms (323)
|
| (#3) Total: 527 ms (ProjectContext prepareProjectForBuild)
|
| (#4) Profiling: Rebuild App
|
| files.readFile 2 ms (3)
| files.exists 5 ms (4)
| Rebuild App...................................................7,270 ms (1)
| ├─ compiler.compile(the app)....................................883 ms (1)
| │ ├─ compileUnibuild (the app).................................882 ms (2)
| │ │ ├─ Isopack#getUnibuildAtArch 4 ms (284)
| │ │ ├─ files.realpath 66 ms (189)
| │ │ ├─ files.readdir 85 ms (367)
| │ │ ├─ files.stat 65 ms (3628)
| │ │ ├─ files.readFile 333 ms (871)
| │ │ ├─ sha1 28 ms (867)
| │ │ ├─ files.lstat 1 ms (4)
| │ │ └─ other compileUnibuild (the app) 298 ms
| │ └─ other compiler.compile(the app) 1 ms
| ├─ compiler.lint(the app)........................................10 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 5 ms (284)
| │ └─ other compiler.lint(the app) 5 ms
| ├─ Isopack#getUnibuildAtArch 4 ms (284)
| ├─ bundler.bundle..makeClientTarget...........................6,078 ms (1)
| │ └─ Target#make.............................................6,078 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 34 ms (2290)
| │ ├─ Target#_runCompilerPlugins...........................1,193 ms (1)
| │ │ ├─ files.realpath 167 ms (181)
| │ │ ├─ Isopack#ensurePluginsInitialized 1 ms (430)
| │ │ ├─ sha1 19 ms (440)
| │ │ ├─ Isopack#getUnibuildAtArch 34 ms (2133)
| │ │ ├─ plugin ecmascript...................................674 ms (1)
| │ │ │ ├─ Babel.compile 472 ms (277)
| │ │ │ ├─ sha1 7 ms (277)
| │ │ │ └─ other plugin ecmascript 195 ms
| │ │ ├─ plugin templating....................................37 ms (1)
| │ │ │ ├─ sha1 3 ms (256)
| │ │ │ └─ other plugin templating 34 ms
| │ │ ├─ plugin coffeescript 12 ms (1)
| │ │ ├─ plugin meteor.........................................6 ms (1)
| │ │ │ ├─ sha1 2 ms (52)
| │ │ │ └─ other plugin meteor 4 ms
| │ │ ├─ plugin less 2 ms (1)
| │ │ ├─ plugin flemay:less-autoprefixer......................23 ms (1)
| │ │ │ ├─ sha1 7 ms (8)
| │ │ │ └─ other plugin flemay:less-autoprefixer 17 ms
| │ │ ├─ plugin semantic:ui...................................58 ms (1)
| │ │ │ ├─ sha1 2 ms (6)
| │ │ │ └─ other plugin semantic:ui 56 ms
| │ │ ├─ plugin fourseven:scss 6 ms (1)
| │ │ └─ other Target#_runCompilerPlugins 153 ms
| │ ├─ Target#_emitResources..................................513 ms (1)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap..........271 ms (1)
| │ │ │ ├─ sha1 2 ms (157)
| │ │ │ ├─ ImportScanner#_getInstallPath 42 ms (768)
| │ │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 5 ms (514)
| │ │ │ ├─ ImportScanner#_tryToResolveImportedPath...........72 ms (407)
| │ │ │ │ ├─ files.stat 31 ms (603)
| │ │ │ │ ├─ ImportScanner#_resolvePkgJsonMain..............12 ms (14)
| │ │ │ │ │ ├─ ImportScanner#_readFile......................6 ms (14)
| │ │ │ │ │ │ └─ files.readFile 5 ms (14)
| │ │ │ │ │ └─ other ImportScanner#_resolvePkgJsonMain 4 ms
| │ │ │ │ └─ other ImportScanner#_tryToResolveImportedPath 29 ms
| │ │ │ ├─ ImportScanner#_readFile...........................58 ms (138)
| │ │ │ │ ├─ files.readFile 52 ms (138)
| │ │ │ │ ├─ sha1 2 ms (138)
| │ │ │ │ └─ other ImportScanner#_readFile 4 ms
| │ │ │ └─ other PackageSourceBatch.computeJsOutputFilesMap 92 ms
| │ │ ├─ PackageSourceBatch#getResources.....................230 ms (188)
| │ │ │ ├─ PackageSourceBatch#_linkJS.......................227 ms (188)
| │ │ │ │ ├─ sha1 3 ms (188)
| │ │ │ │ ├─ files.readFile 95 ms (1)
| │ │ │ │ └─ other PackageSourceBatch#_linkJS 129 ms
| │ │ │ └─ other PackageSourceBatch#getResources 3 ms
| │ │ └─ other Target#_emitResources 12 ms
| │ ├─ Target#minifyJs 23 ms (1)
| │ ├─ ClientTarget#minifyCss...............................4,221 ms (1)
| │ │ ├─ mergeCss..........................................4,187 ms (1)
| │ │ │ ├─ CssTools.parseCss 1,226 ms (67)
| │ │ │ ├─ CssTools.mergeCssAsts............................159 ms (1)
| │ │ │ │ ├─ CssTools.rewriteCssUrls 122 ms (67)
| │ │ │ │ └─ other CssTools.mergeCssAsts 38 ms
| │ │ │ ├─ CssTools.stringifyCss 594 ms (1)
| │ │ │ ├─ composing source maps 2,123 ms (1)
| │ │ │ └─ other mergeCss 85 ms
| │ │ └─ other ClientTarget#minifyCss 33 ms
| │ ├─ Target#rewriteSourceMaps 2 ms (1)
| │ ├─ sha1 55 ms (190)
| │ └─ other Target#make 38 ms
| ├─ bundler writeTargetToPath....................................286 ms (1)
| │ ├─ files.exists 10 ms (1)
| │ └─ ClientTarget#write........................................275 ms (1)
| │ ├─ Builder#write...........................................35 ms (151)
| │ │ ├─ Builder#_ensureDirectory 2 ms (151)
| │ │ ├─ sha1 24 ms (151)
| │ │ ├─ files.writeFile 2 ms (1)
| │ │ └─ other Builder#write 6 ms
| │ ├─ bundler writeFile.......................................78 ms (280)
| │ │ ├─ Builder#write........................................76 ms (280)
| │ │ │ ├─ Builder#_ensureDirectory 4 ms (280)
| │ │ │ ├─ files.writeFile 64 ms (1)
| │ │ │ ├─ files.rename 1 ms (1)
| │ │ │ └─ other Builder#write 7 ms
| │ │ └─ other bundler writeFile 2 ms
| │ ├─ sha1 2 ms (22)
| │ ├─ files.writeFile 1 ms (1)
| │ └─ other ClientTarget#write 158 ms
| └─ other Rebuild App 8 ms
|
| Top leaves:
| composing source maps....................................2,123 ms (1)
| CssTools.parseCss........................................1,226 ms (67)
| CssTools.stringifyCss......................................594 ms (1)
| files.readFile.............................................488 ms (1027)
| Babel.compile..............................................472 ms (277)
| other compileUnibuild (the app)............................298 ms (2)
| files.realpath.............................................234 ms (370)
| other plugin ecmascript....................................195 ms (1)
| other ClientTarget#write...................................158 ms (1)
| sha1.......................................................157 ms (2879)
| other Target#_runCompilerPlugins...........................153 ms (1)
| other PackageSourceBatch#_linkJS...........................129 ms (188)
| CssTools.rewriteCssUrls....................................122 ms (67)
|
| (#4) Total: 7,278 ms (Rebuild App)
|
=> Client modified -- refreshing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment