Skip to content

Instantly share code, notes, and snippets.

@marbemac
Created February 21, 2016 02:55
Show Gist options
  • Save marbemac/cf9f7f8c2c45116c57d1 to your computer and use it in GitHub Desktop.
Save marbemac/cf9f7f8c2c45116c57d1 to your computer and use it in GitHub Desktop.
| files.readFile 3 ms (3)
| files.exists 1 ms (4)
| files.writeFileAtomically.....................................2,958 ms (2)
| ├─ files.writeFile 2,953 ms (2)
| └─ files.rename 5 ms (2)
| Rebuild App.................................................102,326 ms (1)
| ├─ compiler.compile(the app)....................................142 ms (1)
| │ └─ compileUnibuild (the app).................................142 ms (2)
| │ ├─ files.readdir 19 ms (126)
| │ ├─ files.stat 9 ms (813)
| │ ├─ files.realpath 12 ms (63)
| │ ├─ files.readFile 47 ms (283)
| │ ├─ sha1 3 ms (283)
| │ └─ other compileUnibuild (the app) 50 ms
| ├─ compiler.lint(the app) 2 ms (1)
| ├─ bundler.bundle..makeClientTarget.........................101,930 ms (1)
| │ └─ Target#make...........................................101,930 ms (1)
| │ ├─ Isopack#getUnibuildAtArch 6 ms (1108)
| │ ├─ Target#_runCompilerPlugins.............................410 ms (1)
| │ │ ├─ files.realpath 41 ms (97)
| │ │ ├─ sha1 5 ms (331)
| │ │ ├─ Isopack#getUnibuildAtArch 8 ms (1065)
| │ │ ├─ plugin ecmascript...................................320 ms (2)
| │ │ │ ├─ Babel.compile 234 ms (279)
| │ │ │ ├─ sha1 4 ms (279)
| │ │ │ └─ other plugin ecmascript 81 ms
| │ │ ├─ plugin stylus 2 ms (1)
| │ │ └─ other Target#_runCompilerPlugins 33 ms
| │ ├─ Target#_emitResources..............................100,935 ms (1)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap..........609 ms (1)
| │ │ │ ├─ ImportScanner#_getInstallPath 31 ms (971)
| │ │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 25 ms (938)
| │ │ │ ├─ ImportScanner#_tryToResolveImportedPath..........282 ms (2344)
| │ │ │ │ ├─ files.stat 123 ms (3638)
| │ │ │ │ ├─ ImportScanner#_resolvePkgJsonMain..............45 ms (453)
| │ │ │ │ │ ├─ ImportScanner#_readFile.....................22 ms (68)
| │ │ │ │ │ │ ├─ files.readFile 20 ms (68)
| │ │ │ │ │ │ └─ other ImportScanner#_readFile 2 ms
| │ │ │ │ │ ├─ ImportScanner#_getInstallPath 1 ms (39)
| │ │ │ │ │ └─ other ImportScanner#_resolvePkgJsonMain 20 ms
| │ │ │ │ └─ other ImportScanner#_tryToResolveImportedPath 113 ms
| │ │ │ ├─ ImportScanner#_readFile..........................210 ms (689)
| │ │ │ │ ├─ files.readFile 159 ms (689)
| │ │ │ │ ├─ sha1 14 ms (689)
| │ │ │ │ └─ other ImportScanner#_readFile 37 ms
| │ │ │ └─ other PackageSourceBatch.computeJsOutputFilesMap 61 ms
| │ │ ├─ PackageSourceBatch#getResources.................100,322 ms (99)
| │ │ │ └─ PackageSourceBatch#_linkJS...................100,322 ms (99)
| │ │ │ ├─ sha1 1 ms (99)
| │ │ │ ├─ files.readFile 163 ms (2)
| │ │ │ ├─ linker.fullLink............................99,787 ms (2)
| │ │ │ │ ├─ linker Module#getPrelinkedFiles.........99,767 ms (2)
| │ │ │ │ │ ├─ linker File#getPrelinkedOutput 95,414 ms (783)
| │ │ │ │ │ ├─ getPrelinkedFiles toStringWithSourceMap 4,309 ms (2)
| │ │ │ │ │ └─ other linker Module#getPrelinkedFiles 43 ms
| │ │ │ │ ├─ linker Module#computeAssignedVariables......17 ms (1)
| │ │ │ │ │ ├─ linker File#computeAssignedVariables 6 ms (604)
| │ │ │ │ │ └─ other linker Module#computeAssignedVariables 11 ms
| │ │ │ │ └─ other linker.fullLink 3 ms
| │ │ │ └─ other PackageSourceBatch#_linkJS 370 ms
| │ │ └─ other Target#_emitResources 3 ms
| │ ├─ Target#minifyJs 20 ms (1)
| │ ├─ ClientTarget#minifyCss.................................503 ms (1)
| │ │ ├─ mergeCss............................................498 ms (1)
| │ │ │ ├─ CssTools.parseCss 258 ms (19)
| │ │ │ ├─ CssTools.mergeCssAsts.............................11 ms (1)
| │ │ │ │ ├─ CssTools.rewriteCssUrls 10 ms (19)
| │ │ │ │ └─ other CssTools.mergeCssAsts 1 ms
| │ │ │ ├─ CssTools.stringifyCss 73 ms (1)
| │ │ │ ├─ composing source maps 146 ms (1)
| │ │ │ └─ other mergeCss 10 ms
| │ │ └─ other ClientTarget#minifyCss 5 ms
| │ ├─ Target#rewriteSourceMaps 1 ms (1)
| │ ├─ sha1 49 ms (101)
| │ └─ other Target#make 6 ms
| ├─ bundler writeTargetToPath....................................249 ms (1)
| │ ├─ files.exists 37 ms (1)
| │ └─ ClientTarget#write........................................211 ms (1)
| │ ├─ Builder#write...........................................36 ms (101)
| │ │ ├─ sha1 18 ms (101)
| │ │ ├─ files.writeFile 15 ms (2)
| │ │ └─ other Builder#write 2 ms
| │ ├─ bundler writeFile.......................................44 ms (117)
| │ │ └─ Builder#write........................................43 ms (117)
| │ │ ├─ files.writeFile 37 ms (2)
| │ │ ├─ files.rename 3 ms (2)
| │ │ └─ other Builder#write 2 ms
| │ ├─ sha1 2 ms (13)
| │ └─ other ClientTarget#write 129 ms
| └─ other Rebuild App 3 ms
|
| Top leaves:
| linker File#getPrelinkedOutput..........................95,414 ms (783)
| getPrelinkedFiles toStringWithSourceMap..................4,309 ms (2)
| files.writeFile..........................................3,005 ms (7)
| files.readFile.............................................392 ms (1045)
| other PackageSourceBatch#_linkJS...........................370 ms (99)
| CssTools.parseCss..........................................258 ms (19)
| Babel.compile..............................................234 ms (279)
| composing source maps......................................146 ms (1)
| files.stat.................................................133 ms (4493)
| other ClientTarget#write...................................129 ms (1)
| other ImportScanner#_tryToResolveImportedPath..............113 ms (2344)
|
| (#240) Total: 105,288 ms (Rebuild App)
@vsheyanov
Copy link

Hi! Did you manage to fix this issue? We have have far worser results... https://gist.github.com/vsheyanov/a5abb8b3a9305811781d8cc694b143c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment