Skip to content

Instantly share code, notes, and snippets.

@veered
Created September 27, 2016 18:39
Show Gist options
  • Select an option

  • Save veered/9e2a0326b1cd91112ff79e0bb8f2fcee to your computer and use it in GitHub Desktop.

Select an option

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