Advertisement
Guest User

Detailed build-speed benchmark - Meteor 1.4.0.1

a guest
Sep 28th, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.76 KB | None | 0 0
  1. | sqlite query 33 ms (3)
  2. | files.readlink 0 ms (1)
  3. | ProjectContext prepareProjectForBuild.........................5,737 ms (1)
  4. | ├─ _initializeCatalog 135 ms (1)
  5. | ├─ _resolveConstraints..........................................264 ms (1)
  6. | │ └─ JsImage#load 191 ms (1)
  7. | ├─ _downloadMissingPackages.....................................451 ms (1)
  8. | │ ├─ Isopack.readMetadataFromDirectory.........................336 ms (182)
  9. | │ │ ├─ files.stat 212 ms (182)
  10. | │ │ └─ files.readFile 105 ms (182)
  11. | │ └─ other _downloadMissingPackages 116 ms
  12. | └─ _buildLocalPackages........................................4,885 ms (1)
  13. | ├─ IsopackCache Load local isopack.........................3,630 ms (182)
  14. | │ ├─ Isopack#initFromPath.................................3,484 ms (182)
  15. | │ │ ├─ files.readFile 292 ms (547)
  16. | │ │ ├─ files.open 544 ms (2524)
  17. | │ │ ├─ files.read 781 ms (2524)
  18. | │ │ ├─ files.close 186 ms (2524)
  19. | │ │ ├─ bundler.readJsImage.................................801 ms (9)
  20. | │ │ │ ├─ files.readFile 147 ms (162)
  21. | │ │ │ └─ meteorNpm.rebuildIfNonPortable...................630 ms (44)
  22. | │ │ │ ├─ files.stat 185 ms (530)
  23. | │ │ │ └─ files.readFile 272 ms (517)
  24. | │ │ ├─ meteorNpm.rebuildIfNonPortable......................507 ms (36)
  25. | │ │ │ ├─ files.stat 155 ms (441)
  26. | │ │ │ └─ files.readFile 222 ms (431)
  27. | │ │ └─ other Isopack#initFromPath 229 ms
  28. | │ └─ other IsopackCache Load local isopack 106 ms
  29. | └─ IsopackCache Build local isopack........................1,235 ms (7)
  30. | └─ compiler.lint(aldeed:tabular)........................1,092 ms (1)
  31. | └─ Isopack#ensurePluginsInitialized..................1,090 ms (6)
  32. | └─ JsImage#load...................................1,086 ms (2)
  33. | ├─ runJavaScript packages/ecmascript-runtime.js 179 ms (1)
  34. | └─ runJavaScript packages/babel-compiler.js 661 ms (1)
  35. |
  36. | Top leaves:
  37. | files.readFile...........................................1,192 ms (2159)
  38. | files.read.................................................801 ms (2579)
  39. | files.stat.................................................598 ms (1981)
  40. | files.open.................................................556 ms (2579)
  41. | other Isopack#initFromPath.................................229 ms (182)
  42. | files.close................................................191 ms (2579)
  43. | files.lstat................................................155 ms (1249)
  44. | other _downloadMissingPackages.............................116 ms (1)
  45. | other IsopackCache Load local isopack......................106 ms (182)
  46. | files.realpath.............................................100 ms (189)
  47. |
  48. | (#1) Total: 5,771 ms (ProjectContext prepareProjectForBuild)
  49. |
  50. | (#2) Profiling: Build App /
  51. | Building the application -
  52. | bundler.readJsImage.............................................153 ms (1)
  53. | └─ meteorNpm.rebuildIfNonPortable 115 ms (8)
  54. | JsImage#load....................................................874 ms (1)
  55. | ├─ runJavaScript packages/ecmascript-runtime.js 200 ms (1)
  56. | └─ runJavaScript packages/babel-compiler.js 543 ms (1)
  57. | files.stat 0 ms (3)
  58. | files.readFile 8 ms (4)
  59. | Build App....................................................29,249 ms (1)
  60. | └─ files.withCache...........................................29,249 ms (1)
  61. | ├─ compiler.compile(the app)...............................8,406 ms (1)
  62. | │ └─ files.withCache......................................8,405 ms (2)
  63. | │ └─ compileUnibuild (the app).........................8,404 ms (2)
  64. | │ ├─ Isopack#ensurePluginsInitialized...............2,045 ms (32)
  65. | │ │ ├─ JsImage#load................................1,937 ms (4)
  66. | │ │ │ ├─ runJavaScript packages/ecmascript-runtime.js 352 ms (2)
  67. | │ │ │ ├─ runJavaScript packages/babel-compiler.js 1,078 ms (2)
  68. | │ │ │ └─ runJavaScript packages/compileLessBatch_plugin.js 157 ms (1)
  69. | │ │ └─ other Isopack#ensurePluginsInitialized 108 ms
  70. | │ ├─ files.withCache................................5,311 ms (2)
  71. | │ │ ├─ files.realpath 920 ms (2221)
  72. | │ │ ├─ files.readdir 2,716 ms (4442)
  73. | │ │ ├─ files.stat 717 ms (10108)
  74. | │ │ └─ other files.withCache 958 ms
  75. | │ ├─ files.readFile 715 ms (905)
  76. | │ └─ other compileUnibuild (the app) 207 ms
  77. | ├─ bundler.bundle..makeClientTarget.......................13,529 ms (1)
  78. | │ └─ Target#make.........................................13,528 ms (1)
  79. | │ ├─ Target#_runCompilerPlugins........................6,888 ms (1)
  80. | │ │ ├─ files.realpath 416 ms (160)
  81. | │ │ ├─ Isopack#ensurePluginsInitialized...............4,031 ms (394)
  82. | │ │ │ └─ JsImage#load................................3,992 ms (2)
  83. | │ │ │ ├─ runJavaScript packages/ecmascript-runtime.js 809 ms (2)
  84. | │ │ │ ├─ runJavaScript packages/babel-compiler.js 1,876 ms (2)
  85. | │ │ │ ├─ runJavaScript packages/compileCoffeescript_plugin.js 317 ms (1)
  86. | │ │ │ └─ runJavaScript packages/CosmosBrowserify_plugin.js 615 ms (1)
  87. | │ │ ├─ plugin ecmascript................................926 ms (1)
  88. | │ │ │ ├─ Babel.compile 344 ms (172)
  89. | │ │ │ └─ other plugin ecmascript 490 ms
  90. | │ │ ├─ plugin templating................................723 ms (1)
  91. | │ │ │ ├─ wrapped.fs.readFileSync 517 ms (345)
  92. | │ │ │ └─ other plugin templating 194 ms
  93. | │ │ ├─ plugin coffeescript 105 ms (1)
  94. | │ │ ├─ plugin meteor 115 ms (1)
  95. | │ │ ├─ plugin cosmos:browserify 116 ms (1)
  96. | │ │ └─ other Target#_runCompilerPlugins 346 ms
  97. | │ ├─ Target#_emitResources.............................5,307 ms (1)
  98. | │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap.....3,955 ms (1)
  99. | │ │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 3,015 ms (435)
  100. | │ │ │ ├─ Resolver#resolve..............................336 ms (971)
  101. | │ │ │ │ └─ Resolver#_resolveNodeModule................185 ms (97)
  102. | │ │ │ │ └─ Resolver#_joinAndStat...................163 ms (374)
  103. | │ │ │ │ └─ files.stat 116 ms (968)
  104. | │ │ │ ├─ ImportScanner#_readFile.......................382 ms (219)
  105. | │ │ │ │ └─ files.readFile 361 ms (219)
  106. | │ │ │ └─ other PackageSourceBatch.computeJsOutputFilesMap 140 ms
  107. | │ │ └─ PackageSourceBatch#getResources................1,324 ms (168)
  108. | │ │ └─ PackageSourceBatch#_linkJS..................1,315 ms (168)
  109. | │ │ ├─ files.readFile 592 ms (168)
  110. | │ │ └─ other PackageSourceBatch#_linkJS 718 ms
  111. | │ └─ ClientTarget#minifyCss............................1,202 ms (1)
  112. | │ └─ mergeCss.......................................1,172 ms (1)
  113. | │ ├─ CssTools.parseCss 403 ms (62)
  114. | │ ├─ CssTools.mergeCssAsts.........................114 ms (1)
  115. | │ │ └─ CssTools.rewriteCssUrls 103 ms (62)
  116. | │ ├─ CssTools.stringifyCss 272 ms (1)
  117. | │ └─ composing source maps 338 ms (1)
  118. | ├─ bundler.bundle..makeServerTarget........................2,638 ms (1)
  119. | │ └─ Target#make..........................................2,637 ms (1)
  120. | │ ├─ Target#_runCompilerPlugins........................1,025 ms (1)
  121. | │ │ ├─ files.realpath 162 ms (166)
  122. | │ │ ├─ plugin ecmascript................................697 ms (1)
  123. | │ │ │ ├─ Babel.compile 474 ms (187)
  124. | │ │ │ └─ other plugin ecmascript 126 ms
  125. | │ │ └─ other Target#_runCompilerPlugins 105 ms
  126. | │ └─ Target#_emitResources.............................1,559 ms (1)
  127. | │ ├─ PackageSourceBatch.computeJsOutputFilesMap.....1,215 ms (1)
  128. | │ │ ├─ ImportScanner#_findImportedModuleIdentifiers 610 ms (440)
  129. | │ │ ├─ Resolver#resolve..............................260 ms (1083)
  130. | │ │ │ └─ Resolver#_resolveNodeModule................118 ms (133)
  131. | │ │ │ └─ Resolver#_joinAndStat 102 ms (508)
  132. | │ │ └─ ImportScanner#_readFile.......................252 ms (321)
  133. | │ │ └─ files.readFile 233 ms (321)
  134. | │ └─ PackageSourceBatch#getResources..................327 ms (174)
  135. | │ └─ PackageSourceBatch#_linkJS....................321 ms (174)
  136. | │ ├─ files.readFile 201 ms (174)
  137. | │ └─ other PackageSourceBatch#_linkJS 117 ms
  138. | └─ bundler writeSiteArchive................................4,654 ms (1)
  139. | ├─ bundler writeTargetToPath............................4,439 ms (2)
  140. | │ ├─ ClientTarget#write..................................518 ms (1)
  141. | │ │ ├─ Builder#write 137 ms (140)
  142. | │ │ ├─ bundler writeFile................................191 ms (212)
  143. | │ │ │ └─ Builder#write.................................189 ms (212)
  144. | │ │ │ └─ files.writeFile 148 ms (212)
  145. | │ │ └─ other ClientTarget#write 180 ms
  146. | │ └─ ServerTarget#write................................3,915 ms (1)
  147. | │ └─ JsImage#write..................................3,874 ms (1)
  148. | │ ├─ Builder#write.................................534 ms (337)
  149. | │ │ └─ files.writeFile 382 ms (337)
  150. | │ ├─ files.lstat 169 ms (431)
  151. | │ ├─ files.readFile 517 ms (585)
  152. | │ ├─ Builder#copyDirectory.......................2,316 ms (34)
  153. | │ │ └─ meteorNpm.runNpmCommand 2,262 ms (1)
  154. | │ └─ other JsImage#write 298 ms
  155. | └─ Builder#complete.......................................201 ms (1)
  156. | └─ files.renameDirAlmostAtomically.....................201 ms (1)
  157. | └─ files.rm_recursive 200 ms (1)
  158. |
  159. | Top leaves:
  160. | ImportScanner#_findImportedModuleIdentifiers.............3,625 ms (875)
  161. | files.readFile...........................................2,784 ms (2603)
  162. | files.readdir............................................2,748 ms (4500)
  163. | meteorNpm.runNpmCommand..................................2,262 ms (1)
  164. | files.realpath...........................................1,500 ms (2556)
  165. | files.stat...............................................1,207 ms (15088)
  166. | other files.withCache......................................966 ms (5)
  167. | other PackageSourceBatch#_linkJS...........................834 ms (342)
  168. | Babel.compile..............................................818 ms (359)
  169. | files.writeFile............................................635 ms (707)
  170. | wrapped.fs.readFileSync....................................634 ms (407)
  171. | other plugin ecmascript....................................616 ms (2)
  172. | other Target#_runCompilerPlugins...........................451 ms (2)
  173. | CssTools.parseCss..........................................403 ms (62)
  174. | composing source maps......................................338 ms (1)
  175. | other JsImage#write........................................298 ms (1)
  176. | CssTools.stringifyCss......................................272 ms (1)
  177. | sha1.......................................................258 ms (3798)
  178. | files.lstat................................................255 ms (775)
  179. | other compileUnibuild (the app)............................207 ms (2)
  180. | other PackageSourceBatch.computeJsOutputFilesMap...........206 ms (2)
  181. | files.rm_recursive.........................................205 ms (4)
  182. | other plugin templating....................................194 ms (1)
  183. | other ClientTarget#write...................................180 ms (1)
  184. | other Isopack#ensurePluginsInitialized.....................147 ms (426)
  185. | runJavaScript packages/underscore.js.......................139 ms (7)
  186. | Isopack#getUnibuildAtArch..................................114 ms (8394)
  187. | ImportScanner#_getInstallPath..............................110 ms (1344)
  188. | CssTools.rewriteCssUrls....................................103 ms (62)
  189. |
  190. | (#2) Total: 30,284 ms (Build App)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement