Skip to content

Instantly share code, notes, and snippets.

@veered
Last active August 11, 2016 23:57
Show Gist options
  • Save veered/373345f056de1c38aa7653c96850b93f to your computer and use it in GitHub Desktop.
Save veered/373345f056de1c38aa7653c96850b93f to your computer and use it in GitHub Desktop.
| (#11) Profiling: ProjectContext prepareProjectForBuild
| ProjectContext prepareProjectForBuild.........................6,574 ms (1)
| ├─ _initializeCatalog.........................................2,577 ms (1)
| │ ├─ files.readdir 1 ms (1)
| │ ├─ files.stat 6 ms (183)
| │ ├─ files.readFile 73 ms (117)
| │ ├─ sha1 1 ms (117)
| │ ├─ runJavaScript package.js 14 ms (66)
| │ ├─ sqlite query 7 ms (8)
| │ └─ other _initializeCatalog 2,474 ms
| ├─ _resolveConstraints...........................................25 ms (1)
| │ ├─ Select Package Versions.....................................9 ms (1)
| │ │ ├─ new CS.Input 8 ms (1)
| │ │ └─ other Select Package Versions 1 ms
| │ ├─ files.writeFileAtomically...................................1 ms (1)
| │ │ └─ files.writeFile 1 ms (1)
| │ └─ other _resolveConstraints 15 ms
| ├─ _downloadMissingPackages...................................1,535 ms (1)
| │ ├─ Isopack.readMetadataFromDirectory..........................97 ms (158)
| │ │ ├─ files.stat 3 ms (158)
| │ │ ├─ files.readFile 86 ms (158)
| │ │ └─ other Isopack.readMetadataFromDirectory 8 ms
| │ └─ other _downloadMissingPackages 1,438 ms
| ├─ _buildLocalPackages........................................2,426 ms (1)
| │ ├─ IsopackCache Load local isopack.............................3 ms (158)
| │ │ └─ Isopack#getStrongOrderedUsedAndImpliedPackages 2 ms (158)
| │ ├─ IsopackCache Build local isopack........................1,971 ms (48)
| │ │ ├─ Isopack#getMergedWatchSet 10 ms (96)
| │ │ ├─ watch.isUpToDate.....................................1,713 ms (48)
| │ │ │ ├─ files.readFile 850 ms (2826)
| │ │ │ ├─ sha1 54 ms (2824)
| │ │ │ ├─ files.readdir 609 ms (2570)
| │ │ │ ├─ files.stat 55 ms (9176)
| │ │ │ └─ other watch.isUpToDate 145 ms
| │ │ └─ other IsopackCache Build local isopack 248 ms
| │ └─ other _buildLocalPackages 452 ms
| └─ other ProjectContext prepareProjectForBuild 9 ms
|
| Top leaves:
| other _initializeCatalog.................................2,474 ms (1)
| other _downloadMissingPackages...........................1,438 ms (1)
| files.readFile...........................................1,009 ms (3101)
| files.readdir..............................................610 ms (2571)
| other _buildLocalPackages..................................452 ms (1)
| other IsopackCache Build local isopack.....................248 ms (48)
| other watch.isUpToDate.....................................145 ms (48)
|
| (#11) Total: 6,574 ms (ProjectContext prepareProjectForBuild)
|
| (#12) Profiling: Rebuild App |
| Building the application |
| files.stat 0 ms (3)
| files.readFile 5 ms (4)
| files.writeFileAtomically.......................................428 ms (2)
| └─ files.writeFile 428 ms (2)
| Rebuild App...................................................6,958 ms (1)
| └─ files.withCache............................................6,958 ms (1)
| ├─ initFromAppDir 2 ms (1)
| ├─ compiler.compile(the app)...............................1,089 ms (1)
| │ ├─ files.withCache......................................1,088 ms (2)
| │ │ └─ compileUnibuild (the app).........................1,087 ms (2)
| │ │ ├─ Isopack#getUnibuildAtArch 2 ms (260)
| │ │ ├─ files.withCache..................................437 ms (2)
| │ │ │ ├─ files.realpath 145 ms (399)
| │ │ │ ├─ files.readdir 204 ms (798)
| │ │ │ ├─ files.stat 11 ms (1546)
| │ │ │ └─ other files.withCache 76 ms
| │ │ ├─ files.readdir 4 ms (13)
| │ │ ├─ files.readFile 409 ms (1221)
| │ │ ├─ sha1 16 ms (1221)
| │ │ ├─ files.realpath 7 ms (11)
| │ │ └─ other compileUnibuild (the app) 213 ms
| │ └─ other compiler.compile(the app) 1 ms
| ├─ compiler.lint(the app)......................................3 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 1 ms (260)
| │ └─ other compiler.lint(the app) 2 ms
| ├─ Isopack#getUnibuildAtArch 1 ms (260)
| ├─ bundler.bundle..makeClientTarget........................3,370 ms (1)
| │ └─ Target#make..........................................3,370 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 14 ms (2618)
| │ ├─ Target#_runCompilerPlugins........................1,230 ms (1)
| │ │ ├─ files.realpath 76 ms (136)
| │ │ ├─ sha1 9 ms (319)
| │ │ ├─ Isopack#getUnibuildAtArch 16 ms (2407)
| │ │ ├─ plugin ecmascript................................893 ms (1)
| │ │ │ ├─ files.stat 265 ms (8538)
| │ │ │ ├─ Babel.compile 222 ms (958)
| │ │ │ ├─ sha1 10 ms (959)
| │ │ │ └─ other plugin ecmascript 396 ms
| │ │ ├─ plugin templating.................................35 ms (1)
| │ │ │ ├─ sha1 3 ms (493)
| │ │ │ ├─ wrapped.fs.readFileSync 4 ms (10)
| │ │ │ └─ other plugin templating 28 ms
| │ │ ├─ plugin cosmos:browserify 13 ms (1)
| │ │ ├─ plugin coffeescript 9 ms (1)
| │ │ ├─ plugin meteor.....................................62 ms (1)
| │ │ │ ├─ sha1 6 ms (185)
| │ │ │ └─ other plugin meteor 56 ms
| │ │ ├─ plugin less.......................................21 ms (1)
| │ │ │ ├─ sha1 2 ms (77)
| │ │ │ └─ other plugin less 18 ms
| │ │ ├─ plugin semantic:ui 13 ms (1)
| │ │ └─ other Target#_runCompilerPlugins 82 ms
| │ ├─ Target#_emitResources.............................2,021 ms (1)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap.......337 ms (1)
| │ │ │ ├─ sha1 2 ms (516)
| │ │ │ ├─ ImportScanner#_getInstallPath 54 ms (2339)
| │ │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 18 ms (1474)
| │ │ │ ├─ Resolver#resolve..............................104 ms (578)
| │ │ │ │ ├─ Resolver#_resolveRelative...................14 ms (273)
| │ │ │ │ │ └─ Resolver#_joinAndStat....................14 ms (161)
| │ │ │ │ │ ├─ files.stat 8 ms (273)
| │ │ │ │ │ └─ other Resolver#_joinAndStat 6 ms
| │ │ │ │ ├─ Resolver#_resolveNodeModule.................68 ms (112)
| │ │ │ │ │ ├─ Resolver#_joinAndStat....................52 ms (444)
| │ │ │ │ │ │ ├─ files.stat 38 ms (1042)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 14 ms
| │ │ │ │ │ ├─ Resolver#resolve..........................1 ms (4)
| │ │ │ │ │ │ └─ Resolver#_resolveNodeModule............1 ms (4)
| │ │ │ │ │ │ └─ Resolver#_joinAndStat 1 ms (8)
| │ │ │ │ │ └─ other Resolver#_resolveNodeModule 15 ms
| │ │ │ │ ├─ Resolver#_resolvePkgJsonMain.................6 ms (9)
| │ │ │ │ │ └─ Resolver#_readPkgJson.....................4 ms (9)
| │ │ │ │ │ └─ files.readFile 4 ms (9)
| │ │ │ │ └─ other Resolver#resolve 15 ms
| │ │ │ ├─ ImportScanner#_readFile........................65 ms (166)
| │ │ │ │ ├─ files.readFile 61 ms (166)
| │ │ │ │ ├─ sha1 1 ms (166)
| │ │ │ │ └─ other ImportScanner#_readFile 3 ms
| │ │ │ └─ other PackageSourceBatch.computeJsOutputFilesMap 95 ms
| │ │ ├─ PackageSourceBatch#getResources................1,674 ms (182)
| │ │ │ ├─ PackageSourceBatch#_linkJS..................1,672 ms (182)
| │ │ │ │ ├─ sha1 2 ms (182)
| │ │ │ │ ├─ files.readFile 1 ms (1)
| │ │ │ │ ├─ linker.fullLink..........................1,448 ms (1)
| │ │ │ │ │ ├─ linker Module#getPrelinkedFiles.......1,444 ms (1)
| │ │ │ │ │ │ ├─ linker File#getPrelinkedOutput 656 ms (734)
| │ │ │ │ │ │ ├─ getPrelinkedFiles toStringWithSourceMap 762 ms (1)
| │ │ │ │ │ │ └─ other linker Module#getPrelinkedFiles 26 ms
| │ │ │ │ │ └─ other linker.fullLink 3 ms
| │ │ │ │ └─ other PackageSourceBatch#_linkJS 221 ms
| │ │ │ └─ other PackageSourceBatch#getResources 2 ms
| │ │ └─ other Target#_emitResources 10 ms
| │ ├─ Target#minifyJs 24 ms (1)
| │ ├─ ClientTarget#minifyCss 11 ms (1)
| │ ├─ Target#rewriteSourceMaps 1 ms (1)
| │ ├─ sha1 44 ms (436)
| │ └─ other Target#make 25 ms
| ├─ bundler.bundle..makeServerTarget........................1,245 ms (1)
| │ └─ Target#make..........................................1,244 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 17 ms (2399)
| │ ├─ Target#_runCompilerPlugins..........................687 ms (1)
| │ │ ├─ files.realpath 167 ms (146)
| │ │ ├─ sha1 4 ms (266)
| │ │ ├─ Isopack#getUnibuildAtArch 16 ms (2355)
| │ │ ├─ plugin ecmascript................................435 ms (1)
| │ │ │ ├─ files.stat 135 ms (4296)
| │ │ │ ├─ Babel.compile 156 ms (663)
| │ │ │ ├─ sha1 7 ms (663)
| │ │ │ └─ other plugin ecmascript 137 ms
| │ │ ├─ plugin coffeescript 13 ms (1)
| │ │ └─ other Target#_runCompilerPlugins 51 ms
| │ ├─ Target#_emitResources...............................505 ms (1)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap.......402 ms (1)
| │ │ │ ├─ ImportScanner#_getInstallPath 26 ms (1035)
| │ │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 10 ms (919)
| │ │ │ ├─ Resolver#resolve..............................151 ms (1014)
| │ │ │ │ ├─ Resolver#_resolveRelative...................27 ms (558)
| │ │ │ │ │ ├─ Resolver#_joinAndStat....................25 ms (350)
| │ │ │ │ │ │ ├─ files.stat 15 ms (422)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 10 ms
| │ │ │ │ │ └─ other Resolver#_resolveRelative 2 ms
| │ │ │ │ ├─ Resolver#_resolveNodeModule.................71 ms (208)
| │ │ │ │ │ ├─ Resolver#_joinAndStat....................60 ms (605)
| │ │ │ │ │ │ ├─ files.stat 40 ms (1140)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 20 ms
| │ │ │ │ │ └─ other Resolver#_resolveNodeModule 11 ms
| │ │ │ │ ├─ Resolver#_resolvePkgJsonMain................28 ms (46)
| │ │ │ │ │ ├─ Resolver#_readPkgJson....................22 ms (46)
| │ │ │ │ │ │ ├─ files.readFile 17 ms (43)
| │ │ │ │ │ │ └─ other Resolver#_readPkgJson 4 ms
| │ │ │ │ │ ├─ Resolver#_joinAndStat 2 ms (38)
| │ │ │ │ │ └─ other Resolver#_resolvePkgJsonMain 3 ms
| │ │ │ │ └─ other Resolver#resolve 24 ms
| │ │ │ ├─ ImportScanner#_readFile.......................149 ms (349)
| │ │ │ │ ├─ files.readFile 136 ms (349)
| │ │ │ │ ├─ sha1 4 ms (349)
| │ │ │ │ └─ other ImportScanner#_readFile 9 ms
| │ │ │ └─ other PackageSourceBatch.computeJsOutputFilesMap 66 ms
| │ │ ├─ PackageSourceBatch#getResources...................93 ms (192)
| │ │ │ ├─ PackageSourceBatch#_linkJS.....................90 ms (192)
| │ │ │ │ ├─ sha1 2 ms (192)
| │ │ │ │ ├─ files.readFile 1 ms (1)
| │ │ │ │ ├─ linker.fullLink.............................68 ms (1)
| │ │ │ │ │ └─ linker Module#getPrelinkedFiles..........68 ms (1)
| │ │ │ │ │ ├─ linker File#getPrelinkedOutput 28 ms (43)
| │ │ │ │ │ ├─ getPrelinkedFiles toStringWithSourceMap 39 ms (1)
| │ │ │ │ │ └─ other linker Module#getPrelinkedFiles 1 ms
| │ │ │ │ └─ other PackageSourceBatch#_linkJS 19 ms
| │ │ │ └─ other PackageSourceBatch#getResources 3 ms
| │ │ └─ other Target#_emitResources 11 ms
| │ └─ other Target#make 34 ms
| ├─ bundler writeSiteArchive................................1,235 ms (1)
| │ ├─ Builder#write............................................3 ms (4)
| │ │ └─ files.readFile 2 ms (1)
| │ ├─ bundler writeTargetToPath............................1,228 ms (2)
| │ │ ├─ ClientTarget#write..................................213 ms (1)
| │ │ │ ├─ Builder#write.....................................25 ms (181)
| │ │ │ │ ├─ sha1 15 ms (181)
| │ │ │ │ ├─ files.writeFile 5 ms (1)
| │ │ │ │ └─ other Builder#write 3 ms
| │ │ │ ├─ bundler writeFile.................................27 ms (504)
| │ │ │ │ ├─ Builder#write..................................26 ms (504)
| │ │ │ │ │ ├─ Builder#_ensureDirectory 3 ms (504)
| │ │ │ │ │ ├─ files.writeFile 15 ms (1)
| │ │ │ │ │ └─ other Builder#write 6 ms
| │ │ │ │ └─ other bundler writeFile 2 ms
| │ │ │ ├─ sha1 1 ms (4)
| │ │ │ └─ other ClientTarget#write 158 ms
| │ │ ├─ ServerTarget#write................................1,014 ms (1)
| │ │ │ ├─ Builder#write......................................5 ms (11)
| │ │ │ │ └─ files.readFile 3 ms (9)
| │ │ │ ├─ JsImage#write....................................977 ms (1)
| │ │ │ │ ├─ Builder#write..................................72 ms (739)
| │ │ │ │ │ ├─ Builder#_ensureDirectory 5 ms (739)
| │ │ │ │ │ ├─ sha1 50 ms (739)
| │ │ │ │ │ ├─ files.writeFile 2 ms (2)
| │ │ │ │ │ └─ other Builder#write 14 ms
| │ │ │ │ ├─ sha1 27 ms (399)
| │ │ │ │ ├─ files.lstat 203 ms (706)
| │ │ │ │ ├─ files.stat 11 ms (706)
| │ │ │ │ ├─ files.readdir 13 ms (41)
| │ │ │ │ ├─ files.readFile 240 ms (665)
| │ │ │ │ ├─ Builder#copyDirectory..........................46 ms (41)
| │ │ │ │ │ ├─ files.symlink 24 ms (82)
| │ │ │ │ │ ├─ files.rm_recursive 19 ms (41)
| │ │ │ │ │ └─ other Builder#copyDirectory 3 ms
| │ │ │ │ └─ other JsImage#write 365 ms
| │ │ │ └─ other ServerTarget#write 31 ms
| │ │ └─ other bundler writeTargetToPath 1 ms
| │ └─ other bundler writeSiteArchive 3 ms
| └─ other files.withCache 13 ms
|
| Top leaves:
| files.readFile.............................................879 ms (2470)
| getPrelinkedFiles toStringWithSourceMap....................801 ms (2)
| linker File#getPrelinkedOutput.............................684 ms (777)
| other plugin ecmascript....................................533 ms (2)
| files.stat.................................................525 ms (18130)
| files.writeFile............................................452 ms (10)
| files.realpath.............................................395 ms (692)
| Babel.compile..............................................378 ms (1621)
| other JsImage#write........................................365 ms (1)
| other PackageSourceBatch#_linkJS...........................240 ms (374)
| files.readdir..............................................221 ms (852)
| other compileUnibuild (the app)............................213 ms (2)
| sha1.......................................................210 ms (7543)
| files.lstat................................................203 ms (706)
| other PackageSourceBatch.computeJsOutputFilesMap...........161 ms (2)
| other ClientTarget#write...................................158 ms (1)
| other Target#_runCompilerPlugins...........................134 ms (2)
|
| (#12) Total: 7,391 ms (Rebuild App)
|
=> Meteor server restarted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment