Skip to content

Instantly share code, notes, and snippets.

@veered
Created September 27, 2016 18:39
Show Gist options
  • Save veered/9e2a0326b1cd91112ff79e0bb8f2fcee to your computer and use it in GitHub Desktop.
Save veered/9e2a0326b1cd91112ff79e0bb8f2fcee to your computer and use it in GitHub Desktop.
Meteor rebuild profile with 1.4.2-beta.6
| (#5) Profiling: ProjectContext prepareProjectForBuild
| Preparing to build package qualia:docs -
| ProjectContext prepareProjectForBuild.........................4,186 ms (1)
| ├─ _initializeCatalog.........................................3,550 ms (1)
| │ ├─ files.stat 9 ms (240)
| │ ├─ files.readFile 277 ms (154)
| │ ├─ sha1 2 ms (154)
| │ ├─ runJavaScript package.js 19 ms (86)
| │ ├─ sqlite query 38 ms (10)
| │ └─ other _initializeCatalog 3,205 ms
| ├─ _resolveConstraints...........................................18 ms (1)
| │ ├─ Select Package Versions.....................................7 ms (1)
| │ │ ├─ new CS.Input 5 ms (1)
| │ │ └─ other Select Package Versions 1 ms
| │ ├─ files.writeFileAtomically...................................4 ms (1)
| │ │ └─ files.writeFile 4 ms (1)
| │ └─ other _resolveConstraints 7 ms
| ├─ _downloadMissingPackages.....................................147 ms (1)
| │ ├─ Isopack.readMetadataFromDirectory.........................113 ms (135)
| │ │ ├─ files.stat 2 ms (135)
| │ │ ├─ files.readFile 105 ms (135)
| │ │ └─ other Isopack.readMetadataFromDirectory 5 ms
| │ └─ other _downloadMissingPackages 34 ms
| └─ _buildLocalPackages..........................................470 ms (1)
| ├─ IsopackCache Load local isopack.............................3 ms (135)
| │ └─ Isopack#getStrongOrderedUsedAndImpliedPackages 3 ms (135)
| ├─ IsopackCache Build local isopack..........................447 ms (62)
| │ ├─ Isopack#getMergedWatchSet 10 ms (124)
| │ ├─ watch.isUpToDate.......................................409 ms (62)
| │ │ ├─ optimistic hashOrNull 9 ms (2338)
| │ │ ├─ optimistic readdir 17 ms (4394)
| │ │ ├─ files.stat 102 ms (13942)
| │ │ └─ other watch.isUpToDate 281 ms
| │ └─ other IsopackCache Build local isopack 28 ms
| └─ other _buildLocalPackages 20 ms
|
| Top leaves:
| other _initializeCatalog.................................3,205 ms (1)
| files.readFile.............................................382 ms (289)
| other watch.isUpToDate.....................................281 ms (62)
| files.stat.................................................113 ms (14319)
|
| (#5) Total: 4,186 ms (ProjectContext prepareProjectForBuild)
|
| (#6) Profiling: Rebuild App
| Building the application \
| files.stat 0 ms (3)
| files.readFile 9 ms (4)
| files.writeFileAtomically.......................................445 ms (2)
| └─ files.writeFile 445 ms (2)
| Rebuild App...................................................7,069 ms (1)
| └─ files.withCache............................................7,069 ms (1)
| ├─ compiler.compile(the app).................................742 ms (1)
| │ └─ files.withCache........................................742 ms (2)
| │ └─ compileUnibuild (the app)...........................741 ms (2)
| │ ├─ Isopack#getUnibuildAtArch 2 ms (270)
| │ ├─ files.withCache..................................486 ms (2)
| │ │ ├─ files.realpath 393 ms (443)
| │ │ ├─ optimistic readdir 5 ms (886)
| │ │ ├─ files.stat 17 ms (1515)
| │ │ └─ other files.withCache 71 ms
| │ ├─ optimistic readFile 4 ms (1090)
| │ ├─ optimistic hashOrNull 2 ms (1090)
| │ ├─ files.realpath 14 ms (12)
| │ ├─ files.readFile 45 ms (59)
| │ ├─ sha1 5 ms (59)
| │ └─ other compileUnibuild (the app) 182 ms
| ├─ compiler.lint(the app)......................................3 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 1 ms (270)
| │ └─ other compiler.lint(the app) 2 ms
| ├─ Isopack#getUnibuildAtArch 1 ms (270)
| ├─ bundler.bundle..makeClientTarget........................3,816 ms (1)
| │ └─ Target#make..........................................3,816 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 13 ms (2562)
| │ ├─ Target#_runCompilerPlugins........................1,990 ms (1)
| │ │ ├─ files.realpath 129 ms (113)
| │ │ ├─ sha1 9 ms (262)
| │ │ ├─ Isopack#getUnibuildAtArch 16 ms (2440)
| │ │ ├─ plugin ecmascript..............................1,628 ms (1)
| │ │ │ ├─ files.stat 432 ms (11218)
| │ │ │ ├─ Babel.compile 619 ms (1223)
| │ │ │ ├─ sha1 12 ms (1224)
| │ │ │ └─ other plugin ecmascript 566 ms
| │ │ ├─ plugin templating.................................36 ms (1)
| │ │ │ ├─ sha1 3 ms (509)
| │ │ │ ├─ wrapped.fs.readFileSync 9 ms (10)
| │ │ │ └─ other plugin templating 24 ms
| │ │ ├─ plugin cosmos:browserify 2 ms (1)
| │ │ ├─ plugin less.......................................19 ms (1)
| │ │ │ ├─ sha1 4 ms (88)
| │ │ │ └─ other plugin less 16 ms
| │ │ ├─ plugin meteor.....................................59 ms (1)
| │ │ │ ├─ sha1 7 ms (185)
| │ │ │ └─ other plugin meteor 52 ms
| │ │ ├─ plugin coffeescript 5 ms (1)
| │ │ └─ other Target#_runCompilerPlugins 87 ms
| │ ├─ Target#_emitResources.............................1,716 ms (1)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap.......266 ms (1)
| │ │ │ ├─ sha1 3 ms (585)
| │ │ │ ├─ ImportScanner#_getInstallPath 76 ms (2848)
| │ │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 4 ms (1875)
| │ │ │ ├─ Resolver#resolve...............................64 ms (839)
| │ │ │ │ ├─ Resolver#_resolveRelative...................11 ms (367)
| │ │ │ │ │ └─ Resolver#_joinAndStat....................10 ms (236)
| │ │ │ │ │ ├─ optimistic statOrNull 1 ms (413)
| │ │ │ │ │ └─ other Resolver#_joinAndStat 9 ms
| │ │ │ │ ├─ Resolver#_resolveNodeModule.................22 ms (131)
| │ │ │ │ │ ├─ Resolver#_joinAndStat....................12 ms (530)
| │ │ │ │ │ │ ├─ optimistic statOrNull 4 ms (1184)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 9 ms
| │ │ │ │ │ └─ other Resolver#_resolveNodeModule 9 ms
| │ │ │ │ ├─ Resolver#_resolvePkgJsonMain................11 ms (9)
| │ │ │ │ │ └─ Resolver#_readPkgJson....................10 ms (9)
| │ │ │ │ │ └─ optimistic readFile....................9 ms (9)
| │ │ │ │ │ └─ files.readFile 9 ms (2)
| │ │ │ │ └─ other Resolver#resolve 19 ms
| │ │ │ ├─ ImportScanner#_readFile 3 ms (244)
| │ │ │ └─ other PackageSourceBatch.computeJsOutputFilesMap 116 ms
| │ │ ├─ PackageSourceBatch#getResources................1,441 ms (173)
| │ │ │ ├─ PackageSourceBatch#_linkJS..................1,438 ms (173)
| │ │ │ │ ├─ sha1 2 ms (173)
| │ │ │ │ ├─ files.readFile 2 ms (1)
| │ │ │ │ ├─ linker.fullLink..........................1,249 ms (1)
| │ │ │ │ │ ├─ linker Module#getPrelinkedFiles.......1,247 ms (1)
| │ │ │ │ │ │ ├─ linker File#getPrelinkedOutput 547 ms (848)
| │ │ │ │ │ │ ├─ getPrelinkedFiles toStringWithSourceMap 666 ms (1)
| │ │ │ │ │ │ └─ other linker Module#getPrelinkedFiles 33 ms
| │ │ │ │ │ └─ other linker.fullLink 3 ms
| │ │ │ │ └─ other PackageSourceBatch#_linkJS 185 ms
| │ │ │ └─ other PackageSourceBatch#getResources 3 ms
| │ │ └─ other Target#_emitResources 9 ms
| │ ├─ Target#minifyJs 23 ms (1)
| │ ├─ ClientTarget#minifyCss 7 ms (1)
| │ ├─ Target#rewriteSourceMaps 1 ms (1)
| │ ├─ sha1 46 ms (438)
| │ └─ other Target#make 20 ms
| ├─ bundler.bundle..makeServerTarget........................1,371 ms (1)
| │ └─ Target#make..........................................1,371 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 18 ms (2587)
| │ ├─ Target#_runCompilerPlugins........................1,076 ms (1)
| │ │ ├─ files.realpath 216 ms (125)
| │ │ ├─ sha1 4 ms (236)
| │ │ ├─ Isopack#getUnibuildAtArch 17 ms (2571)
| │ │ ├─ plugin ecmascript................................769 ms (1)
| │ │ │ ├─ files.stat 198 ms (6184)
| │ │ │ ├─ Babel.compile 359 ms (892)
| │ │ │ ├─ sha1 8 ms (892)
| │ │ │ └─ other plugin ecmascript 204 ms
| │ │ ├─ plugin coffeescript 4 ms (1)
| │ │ └─ other Target#_runCompilerPlugins 64 ms
| │ ├─ Target#_emitResources...............................253 ms (1)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap.......135 ms (1)
| │ │ │ ├─ ImportScanner#_getInstallPath 28 ms (928)
| │ │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 2 ms (814)
| │ │ │ ├─ Resolver#resolve...............................73 ms (195)
| │ │ │ │ ├─ Resolver#_resolveNodeModule.................10 ms (100)
| │ │ │ │ │ ├─ Resolver#_joinAndStat.....................6 ms (294)
| │ │ │ │ │ │ ├─ optimistic statOrNull 2 ms (505)
| │ │ │ │ │ │ └─ other Resolver#_joinAndStat 4 ms
| │ │ │ │ │ └─ other Resolver#_resolveNodeModule 4 ms
| │ │ │ │ ├─ Resolver#_resolvePkgJsonMain................59 ms (11)
| │ │ │ │ │ └─ Resolver#_readPkgJson....................58 ms (11)
| │ │ │ │ │ └─ optimistic readFile...................57 ms (11)
| │ │ │ │ │ └─ files.readFile 57 ms (1)
| │ │ │ │ └─ other Resolver#resolve 3 ms
| │ │ │ └─ other PackageSourceBatch.computeJsOutputFilesMap 33 ms
| │ │ ├─ PackageSourceBatch#getResources..................104 ms (185)
| │ │ │ ├─ PackageSourceBatch#_linkJS....................101 ms (185)
| │ │ │ │ ├─ sha1 2 ms (185)
| │ │ │ │ ├─ files.readFile 4 ms (1)
| │ │ │ │ ├─ linker.fullLink.............................78 ms (1)
| │ │ │ │ │ ├─ linker Module#getPrelinkedFiles..........76 ms (1)
| │ │ │ │ │ │ ├─ linker File#getPrelinkedOutput 34 ms (44)
| │ │ │ │ │ │ ├─ getPrelinkedFiles toStringWithSourceMap 41 ms (1)
| │ │ │ │ │ │ └─ other linker Module#getPrelinkedFiles 1 ms
| │ │ │ │ │ └─ other linker.fullLink 1 ms
| │ │ │ │ └─ other PackageSourceBatch#_linkJS 18 ms
| │ │ │ └─ other PackageSourceBatch#getResources 3 ms
| │ │ └─ other Target#_emitResources 14 ms
| │ └─ other Target#make 23 ms
| ├─ bundler writeSiteArchive................................1,128 ms (1)
| │ ├─ Builder#write............................................4 ms (4)
| │ │ └─ files.readFile 4 ms (1)
| │ ├─ bundler writeTargetToPath............................1,119 ms (2)
| │ │ ├─ ClientTarget#write..................................287 ms (1)
| │ │ │ ├─ Builder#write.....................................39 ms (176)
| │ │ │ │ ├─ sha1 17 ms (176)
| │ │ │ │ ├─ files.writeFile 17 ms (1)
| │ │ │ │ └─ other Builder#write 4 ms
| │ │ │ ├─ bundler writeFile.................................50 ms (505)
| │ │ │ │ ├─ Builder#write..................................48 ms (505)
| │ │ │ │ │ ├─ Builder#_ensureDirectory 5 ms (505)
| │ │ │ │ │ ├─ files.writeFile 33 ms (1)
| │ │ │ │ │ └─ other Builder#write 9 ms
| │ │ │ │ └─ other bundler writeFile 2 ms
| │ │ │ ├─ sha1 2 ms (9)
| │ │ │ ├─ files.writeFile 5 ms (1)
| │ │ │ └─ other ClientTarget#write 191 ms
| │ │ ├─ Builder#complete 2 ms (2)
| │ │ ├─ ServerTarget#write..................................828 ms (1)
| │ │ │ ├─ Builder#write......................................8 ms (10)
| │ │ │ │ ├─ files.readFile 6 ms (8)
| │ │ │ │ └─ files.rm_recursive 1 ms (1)
| │ │ │ ├─ JsImage#write....................................751 ms (1)
| │ │ │ │ ├─ Builder#write.................................168 ms (970)
| │ │ │ │ │ ├─ Builder#_ensureDirectory 9 ms (970)
| │ │ │ │ │ ├─ sha1 128 ms (970)
| │ │ │ │ │ ├─ files.writeFile 8 ms (2)
| │ │ │ │ │ └─ other Builder#write 23 ms
| │ │ │ │ ├─ sha1 102 ms (645)
| │ │ │ │ ├─ meteorNpm.isPortable..........................109 ms (42)
| │ │ │ │ │ ├─ meteorNpm.isPortable.......................100 ms (680)
| │ │ │ │ │ │ ├─ optimistic lstat 4 ms (680)
| │ │ │ │ │ │ ├─ optimistic statOrNull 3 ms (680)
| │ │ │ │ │ │ ├─ optimistic readFile 3 ms (680)
| │ │ │ │ │ │ └─ other meteorNpm.isPortable 89 ms
| │ │ │ │ │ └─ other meteorNpm.isPortable 9 ms
| │ │ │ │ ├─ Builder#copyDirectory..........................14 ms (42)
| │ │ │ │ │ ├─ files.symlink 4 ms (84)
| │ │ │ │ │ ├─ files.rm_recursive 7 ms (42)
| │ │ │ │ │ └─ other Builder#copyDirectory 3 ms
| │ │ │ │ ├─ files.writeFile 2 ms (1)
| │ │ │ │ └─ other JsImage#write 355 ms
| │ │ │ └─ other ServerTarget#write 67 ms
| │ │ └─ other bundler writeTargetToPath 2 ms
| │ └─ other bundler writeSiteArchive 4 ms
| └─ other files.withCache 7 ms
|
| Top leaves:
| Babel.compile..............................................978 ms (2115)
| other plugin ecmascript....................................769 ms (2)
| files.realpath.............................................752 ms (693)
| getPrelinkedFiles toStringWithSourceMap....................707 ms (2)
| files.stat.................................................648 ms (18994)
| linker File#getPrelinkedOutput.............................581 ms (892)
| files.writeFile............................................512 ms (10)
| other JsImage#write........................................355 ms (1)
| sha1.......................................................354 ms (6766)
| other PackageSourceBatch#_linkJS...........................204 ms (358)
| other ClientTarget#write...................................191 ms (1)
| other compileUnibuild (the app)............................182 ms (2)
| other Target#_runCompilerPlugins...........................152 ms (2)
| other PackageSourceBatch.computeJsOutputFilesMap...........148 ms (2)
| files.readFile.............................................137 ms (78)
| ImportScanner#_getInstallPath..............................104 ms (3793)
|
| (#6) Total: 7,523 ms (Rebuild App)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment