Skip to content

Instantly share code, notes, and snippets.

@bratelefant
Created February 5, 2022 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bratelefant/50d5eea3df9e2591285fe2323ecc1d7c to your computer and use it in GitHub Desktop.
Save bratelefant/50d5eea3df9e2591285fe2323ecc1d7c to your computer and use it in GitHub Desktop.
TOOL_NODE_FLAGS="--no-expose-gc --max-old-space-size=8192" METEOR_PROFILE=100 meteor run --settings settings.json
| (#1) Profiling: ProjectContext resolveConstraints
| Selecting package versions /
| ProjectContext resolveConstraints...............................814 ms (1)
| └─ _resolveConstraints..........................................809 ms (1)
| ├─ bundler.readJsImage.......................................152 ms (1)
| │ └─ meteorNpm.rebuildIfNonPortable.........................133 ms (16)
| │ └─ meteorNpm.isPortable 107 ms (241)
| └─ JsImage#load..............................................630 ms (1)
| ├─ runJavaScript packages/dynamic-import.js...............126 ms (1)
| │ └─ require("/node_modules/meteor/dynamic-import/server.js").125 ms (1)
| │ └─ require("./security.js") 120 ms (1)
| └─ runJavaScript packages/npm-mongo.js....................135 ms (1)
| └─ Npm.require("mongodb") 134 ms (1)
|
| Top leaves:
| require("./security.js")...................................120 ms (1)
|
| (#1) Total: 814 ms (ProjectContext resolveConstraints)
|
[[[[[ ~/devel/vplan/vplan ]]]]]
=> Started proxy.
=> Started HMR server.
| (#2) Profiling: ProjectContext prepareProjectForBuild
| Building local packages \
| ProjectContext prepareProjectForBuild.........................1,586 ms (1)
| └─ _buildLocalPackages........................................1,518 ms (1)
| ├─ _ensurePackageLoaded(accounts-base).......................453 ms (1)
| │ ├─ _ensurePackageLoaded(ecmascript).......................249 ms (1)
| │ │ ├─ IsopackCache Load local isopack.....................111 ms (1)
| │ │ │ └─ Isopack#initFromPath.............................111 ms (1)
| │ │ │ └─ bundler.readJsImage...........................110 ms (1)
| │ │ │ └─ meteorNpm.rebuildIfNonPortable 107 ms (8)
| │ │ └─ _ensurePackageLoaded(babel-compiler) 120 ms (1)
| │ └─ _ensurePackageLoaded(ddp) 105 ms (1)
| ├─ _ensurePackageLoaded(aldeed:autoform).....................169 ms (1)
| │ └─ _ensurePackageLoaded(templating).......................126 ms (1)
| │ └─ _ensurePackageLoaded(templating-runtime)............125 ms (1)
| │ └─ _ensurePackageLoaded(templating-compiler)........106 ms (1)
| │ └─ IsopackCache Load local isopack...............106 ms (1)
| │ └─ Isopack#initFromPath.......................106 ms (1)
| │ └─ bundler.readJsImage 105 ms (1)
| ├─ _ensurePackageLoaded(babrahams:accounts-ldap).............154 ms (1)
| │ └─ _ensurePackageLoaded(less).............................124 ms (1)
| │ └─ IsopackCache Load local isopack.....................124 ms (1)
| │ └─ Isopack#initFromPath.............................124 ms (1)
| │ └─ bundler.readJsImage...........................123 ms (1)
| │ └─ meteorNpm.rebuildIfNonPortable 117 ms (11)
| ├─ _ensurePackageLoaded(standard-minifier-css)...............144 ms (1)
| │ └─ IsopackCache Load local isopack........................144 ms (1)
| │ └─ Isopack#initFromPath................................143 ms (1)
| │ └─ bundler.readJsImage..............................142 ms (1)
| │ └─ meteorNpm.rebuildIfNonPortable................138 ms (12)
| │ └─ meteorNpm.isPortable 114 ms (343)
| └─ _ensurePackageLoaded(static-html).........................106 ms (1)
| └─ IsopackCache Load local isopack........................106 ms (1)
| └─ Isopack#initFromPath................................105 ms (1)
| └─ bundler.readJsImage 104 ms (1)
|
| Top leaves:
| files.readFile.............................................502 ms (3367)
| files.stat.................................................385 ms (5528)
| files.read.................................................137 ms (1927)
|
| (#2) Total: 1,586 ms (ProjectContext prepareProjectForBuild)
|
| (#3) Profiling: Build App /
=> Started MongoDB.
| Starting your app /
| files.stat 0 ms (1)
| files.unlink 1 ms (1)
| files.readFile 0 ms (1)
| files.readdir 0 ms (1)
| files.writeFile 3 ms (1)
| files.unwatchFile 0 ms (1)
| files.watchFile 0 ms (1)
| Build App.................................................1,599,998 ms (1)
| └─ bundler.bundle.........................................1,599,998 ms (1)
| ├─ compiler.compile(the app)...............................4,666 ms (1)
| │ └─ compileUnibuild (the app)............................4,665 ms (4)
| │ ├─ Isopack#ensurePluginsInitialized....................877 ms (56)
| │ │ └─ JsImage#load.....................................875 ms (6)
| │ │ ├─ runJavaScript packages/react-fast-refresh.js..138 ms (5)
| │ │ │ └─ require("/node_modules/meteor/react-fast-refresh/server.js") 137 ms (5)
| │ │ └─ runJavaScript packages/minifier-css.js........235 ms (1)
| │ │ └─ require("/node_modules/meteor/minifier-css/minifier.js").233 ms (1)
| │ │ └─ require("/node_modules/meteor/minifier-css/node_modules/cssnano/dist/index.js") 210 ms (1)
| │ ├─ PackageSource#_findSources for os.................1,487 ms (1)
| │ │ ├─ _realpath........................................365 ms (4001)
| │ │ │ └─ files.lstat 338 ms (4001)
| │ │ ├─ files.readdirWithTypes 198 ms (8002)
| │ │ ├─ optimistic readJsonOrNull........................581 ms (3980)
| │ │ │ └─ optimistic readFile...........................484 ms (3980)
| │ │ │ └─ files.readFile 478 ms (3980)
| │ │ └─ other PackageSource#_findSources for os 288 ms
| │ ├─ optimistic readFile...............................1,125 ms (8371)
| │ │ └─ files.readFile 1,115 ms (8371)
| │ ├─ optimistic hashOrNull...............................254 ms (8371)
| │ │ └─ optimistic readFile..............................145 ms (8371)
| │ │ └─ files.readFile 136 ms (8371)
| │ ├─ PackageSource#_findSources for web.browser 154 ms (1)
| │ └─ other compileUnibuild (the app) 700 ms
| ├─ bundler.bundle..makeClientTarget....................1,579,673 ms (3)
| │ └─ Target#make......................................1,579,673 ms (3)
| │ ├─ Target#_runCompilerPlugins..........................768 ms (3)
| │ │ └─ Isopack#ensurePluginsInitialized.................597 ms (613)
| │ │ └─ JsImage#load..................................595 ms (2)
| │ │ └─ runJavaScript packages/compileLessBatch_plugin.js.270 ms (1)
| │ │ └─ require("/node_modules/meteor/compileLessBatch/plugin/compile-less.js").269 ms (1)
| │ │ └─ Npm.require("less") 269 ms (1)
| │ ├─ Target#_emitResources.........................1,578,085 ms (3)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap.1,572,951 ms (3)
| │ │ │ ├─ ImportScanner#realPath 237 ms (3003)
| │ │ │ ├─ ImportScanner#scanImports for modules 106 ms (3)
| │ │ │ ├─ ImportScanner#scanImports for es5-shim........213 ms (3)
| │ │ │ │ └─ ImportScanner#findImportedModuleIdentifiers 204 ms (12)
| │ │ │ ├─ ImportScanner#scanImports for ecmascript-runtime-client.674 ms (3)
| │ │ │ │ ├─ ImportScanner#findImportedModuleIdentifiers 403 ms (708)
| │ │ │ │ └─ ImportScanner#resolve 161 ms (2474)
| │ │ │ ├─ ImportScanner#scanImports for base64........1,511 ms (3)
| │ │ │ │ ├─ Npm.require("@meteorjs/babel") 366 ms (1)
| │ │ │ │ ├─ Babel.compile 536 ms (3)
| │ │ │ │ └─ other ImportScanner#scanImports for base64 535 ms
| │ │ │ ├─ ImportScanner#scanImports for ejson...........461 ms (3)
| │ │ │ │ └─ Babel.compile 391 ms (9)
| │ │ │ ├─ ImportScanner#scanImports for diff-sequence 109 ms (3)
| │ │ │ ├─ ImportScanner#scanImports for random..........258 ms (3)
| │ │ │ │ └─ Babel.compile 232 ms (18)
| │ │ │ ├─ ImportScanner#scanImports for ordered-dict....130 ms (3)
| │ │ │ │ └─ Babel.compile 117 ms (3)
| │ │ │ ├─ ImportScanner#scanImports for minimongo.....1,364 ms (3)
| │ │ │ │ ├─ Babel.compile 1,137 ms (24)
| │ │ │ │ └─ ImportScanner#findImportedModuleIdentifiers 202 ms (24)
| │ │ │ ├─ ImportScanner#scanImports for check...........131 ms (3)
| │ │ │ │ └─ Babel.compile 109 ms (6)
| │ │ │ ├─ ImportScanner#scanImports for ddp-common......160 ms (3)
| │ │ │ │ └─ Babel.compile 151 ms (15)
| │ │ │ ├─ ImportScanner#scanImports for socket-stream-client.369 ms (3)
| │ │ │ │ └─ Babel.compile 314 ms (2)
| │ │ │ ├─ ImportScanner#scanImports for ddp-client......648 ms (3)
| │ │ │ │ └─ Babel.compile 563 ms (15)
| │ │ │ ├─ ImportScanner#scanImports for logging.........129 ms (3)
| │ │ │ │ └─ Babel.compile 112 ms (7)
| │ │ │ ├─ ImportScanner#scanImports for mongo...........171 ms (3)
| │ │ │ │ └─ Babel.compile 147 ms (6)
| │ │ │ ├─ ImportScanner#scanImports for jquery..........268 ms (3)
| │ │ │ │ └─ ImportScanner#findImportedModuleIdentifiers 267 ms (6)
| │ │ │ ├─ ImportScanner#scanImports for htmljs..........245 ms (3)
| │ │ │ │ └─ Babel.compile 205 ms (9)
| │ │ │ ├─ ImportScanner#scanImports for blaze...........751 ms (3)
| │ │ │ │ └─ Babel.compile 644 ms (36)
| │ │ │ ├─ ImportScanner#scanImports for accounts-base...437 ms (3)
| │ │ │ │ ├─ Babel.compile 286 ms (9)
| │ │ │ │ └─ ImportScanner#findImportedModuleIdentifiers 144 ms (9)
| │ │ │ ├─ ImportScanner#scanImports for alanning:roles..285 ms (3)
| │ │ │ │ └─ Babel.compile 187 ms (12)
| │ │ │ ├─ ImportScanner#scanImports for ostrio:cookies..203 ms (3)
| │ │ │ │ └─ Babel.compile 163 ms (3)
| │ │ │ ├─ ImportScanner#scanImports for ostrio:files....639 ms (3)
| │ │ │ │ └─ Babel.compile 550 ms (15)
| │ │ │ ├─ ImportScanner#scanImports for reactive-dict 126 ms (3)
| │ │ │ ├─ ImportScanner#scanImports for tmeasday:check-npm-versions.5,175 ms (3)
| │ │ │ │ ├─ Npm.require("@meteorjs/babel") 239 ms (1)
| │ │ │ │ ├─ Babel.compile 4,592 ms (3)
| │ │ │ │ └─ other ImportScanner#scanImports for tmeasday:check-npm-versions 321 ms
| │ │ │ ├─ ImportScanner#scanImports for aldeed:collection2.254 ms (3)
| │ │ │ │ └─ Babel.compile 202 ms (6)
| │ │ │ ├─ ImportScanner#scanImports for aldeed:autoform.850 ms (3)
| │ │ │ │ └─ Babel.compile 721 ms (30)
| │ │ │ ├─ ImportScanner#scanImports for activitree:push.659 ms (3)
| │ │ │ │ ├─ Babel.compile 130 ms (3)
| │ │ │ │ └─ ImportScanner#findImportedModuleIdentifiers 463 ms (24)
| │ │ │ ├─ ImportScanner#scanImports for mdg:validated-method 110 ms (3)
| │ │ │ ├─ ImportScanner#scanImports for ostrio:logger...169 ms (3)
| │ │ │ │ └─ Babel.compile 152 ms (3)
| │ │ │ ├─ ImportScanner#scanImports for autoupdate......132 ms (3)
| │ │ │ │ └─ Babel.compile 118 ms (6)
| │ │ │ ├─ ImportScanner#scanImports for the app...1,553,819 ms (3)
| │ │ │ │ ├─ Babel.compile 16,760 ms (707)
| │ │ │ │ ├─ ImportScanner#findImportedModuleIdentifiers 1,508,849 ms (26962)
| │ │ │ │ ├─ ImportScanner#resolve....................9,726 ms (107374)
| │ │ │ │ │ ├─ files.stat 5,212 ms (43145)
| │ │ │ │ │ ├─ safeWatcher.watch.......................805 ms (69015)
| │ │ │ │ │ │ ├─ files.watchFile 501 ms (42156)
| │ │ │ │ │ │ └─ other safeWatcher.watch 303 ms
| │ │ │ │ │ ├─ ImportScanner#addPkgJsonToOutput 116 ms (25614)
| │ │ │ │ │ └─ other ImportScanner#resolve 3,542 ms
| │ │ │ │ ├─ ImportScanner#getAbsModuleId 212 ms (26255)
| │ │ │ │ ├─ ImportScanner#realPath...................1,354 ms (26255)
| │ │ │ │ │ ├─ optimistic lstat........................216 ms (17074)
| │ │ │ │ │ │ └─ files.lstat 191 ms (17074)
| │ │ │ │ │ ├─ shouldWatch 142 ms (17074)
| │ │ │ │ │ └─ other ImportScanner#realPath 962 ms
| │ │ │ │ ├─ ImportScanner#readFile...................3,860 ms (26264)
| │ │ │ │ │ ├─ optimistic readFile...................2,666 ms (15410)
| │ │ │ │ │ │ └─ files.readFile 2,638 ms (15410)
| │ │ │ │ │ ├─ optimistic hashOrNull...................597 ms (15410)
| │ │ │ │ │ │ ├─ optimistic readFile..................312 ms (15410)
| │ │ │ │ │ │ │ └─ files.readFile 288 ms (15410)
| │ │ │ │ │ │ ├─ sha1 159 ms (15410)
| │ │ │ │ │ │ └─ other optimistic hashOrNull 119 ms
| │ │ │ │ │ └─ other ImportScanner#readFile 571 ms
| │ │ │ │ ├─ DefaultHandlers.js......................11,365 ms (26216)
| │ │ │ │ │ ├─ reifyCompileWithCache................11,162 ms (26042)
| │ │ │ │ │ │ ├─ files.readFile 3,852 ms (25775)
| │ │ │ │ │ │ ├─ files.writeFileAtomically 185 ms (1120)
| │ │ │ │ │ │ └─ other reifyCompileWithCache 7,124 ms
| │ │ │ │ │ └─ other DefaultHandlers.js 203 ms
| │ │ │ │ └─ other ImportScanner#scanImports for the app 1,681 ms
| │ │ │ ├─ ImportScanner#scanMissingModules for socket-stream-client.181 ms (3)
| │ │ │ │ └─ Babel.compile 114 ms (10)
| │ │ │ ├─ ImportScanner#scanMissingModules for react-meteor-data.692 ms (3)
| │ │ │ │ └─ Babel.compile 647 ms (15)
| │ │ │ └─ PackageSourceBatch._watchOutputFiles 106 ms (3)
| │ │ └─ PackageSourceBatch#getResources................5,086 ms (295)
| │ │ └─ PackageSourceBatch#_linkJS..................5,084 ms (295)
| │ │ ├─ linker.fullLink..........................4,299 ms (102)
| │ │ │ ├─ linker Module#getPrelinkedFiles.......2,686 ms (102)
| │ │ │ │ ├─ linker File#getPrelinkedOutput 1,031 ms (28354)
| │ │ │ │ ├─ getPrelinkedFiles toStringWithSourceMap 1,358 ms (102)
| │ │ │ │ └─ other linker Module#getPrelinkedFiles 295 ms
| │ │ │ ├─ linker Module#computeAssignedVariables.1,429 ms (101)
| │ │ │ │ └─ linker File#computeAssignedVariables 1,392 ms (28170)
| │ │ │ └─ other linker.fullLink 185 ms
| │ │ ├─ files.rm_recursive 113 ms (102)
| │ │ ├─ files.writeFileAtomically..................336 ms (102)
| │ │ │ └─ files.writeFile 318 ms (102)
| │ │ └─ other PackageSourceBatch#_linkJS 230 ms
| │ ├─ Target#minifyJs.....................................347 ms (3)
| │ │ ├─ sha512 153 ms (298)
| │ │ └─ other Target#minifyJs 193 ms
| │ ├─ ClientTarget#minifyCss..............................282 ms (3)
| │ │ └─ minifyCssFiles 282 ms (3)
| │ └─ sha512 158 ms (301)
| ├─ bundler.bundle..makeServerTarget........................8,585 ms (1)
| │ └─ Target#make..........................................8,585 ms (1)
| │ └─ Target#_emitResources.............................8,555 ms (1)
| │ ├─ PackageSourceBatch.computeJsOutputFilesMap.....7,236 ms (1)
| │ │ ├─ ImportScanner#scanImports for minimongo.......303 ms (1)
| │ │ │ └─ Babel.compile 256 ms (8)
| │ │ ├─ ImportScanner#scanImports for ddp-client......127 ms (1)
| │ │ │ └─ Babel.compile 108 ms (4)
| │ │ ├─ ImportScanner#scanImports for webapp..........138 ms (1)
| │ │ │ └─ Babel.compile 106 ms (3)
| │ │ ├─ ImportScanner#scanImports for ddp-server......146 ms (1)
| │ │ │ └─ Babel.compile 128 ms (5)
| │ │ ├─ ImportScanner#scanImports for mongo...........305 ms (1)
| │ │ │ └─ Babel.compile 268 ms (10)
| │ │ ├─ ImportScanner#scanImports for accounts-base...151 ms (1)
| │ │ │ └─ Babel.compile 133 ms (3)
| │ │ ├─ ImportScanner#scanImports for ostrio:files....298 ms (1)
| │ │ │ └─ Babel.compile 244 ms (5)
| │ │ ├─ ImportScanner#scanImports for the app.......4,081 ms (1)
| │ │ │ ├─ Babel.compile 3,145 ms (240)
| │ │ │ ├─ ImportScanner#findImportedModuleIdentifiers 739 ms (240)
| │ │ │ └─ ImportScanner#resolve 126 ms (1862)
| │ │ └─ ImportScanner#scanMissingModules for react-meteor-data.184 ms (1)
| │ │ └─ Babel.compile 171 ms (5)
| │ └─ PackageSourceBatch#getResources................1,310 ms (93)
| │ └─ PackageSourceBatch#_linkJS..................1,309 ms (93)
| │ ├─ linker.fullLink..........................1,203 ms (93)
| │ │ ├─ linker Module#getPrelinkedFiles.........682 ms (93)
| │ │ │ ├─ linker File#getPrelinkedOutput 334 ms (589)
| │ │ │ └─ getPrelinkedFiles toStringWithSourceMap 336 ms (93)
| │ │ └─ linker Module#computeAssignedVariables..505 ms (92)
| │ │ └─ linker File#computeAssignedVariables 504 ms (349)
| │ └─ files.rm_recursive 101 ms (93)
| └─ bundler writeSiteArchive................................7,044 ms (1)
| ├─ bundler writeTargetToPath............................1,226 ms (4)
| │ ├─ ClientTarget#write..................................722 ms (3)
| │ │ └─ bundler writeFile 607 ms (333)
| │ └─ ServerTarget#write..................................498 ms (1)
| │ └─ JsImage#write....................................478 ms (1)
| │ ├─ files.stat 134 ms (2069)
| │ └─ Builder#copyNodeModulesDirectory 183 ms (32)
| └─ other bundler writeSiteArchive 5,814 ms
|
| Top leaves:
| Babel.compile...........................................35,936 ms (1384)
| files.readFile...........................................8,915 ms (80054)
| other reifyCompileWithCache..............................7,124 ms (26042)
| files.stat...............................................5,883 ms (51662)
| other bundler writeSiteArchive...........................5,814 ms (1)
| other ImportScanner#resolve..............................3,542 ms (107374)
| linker File#computeAssignedVariables.....................1,896 ms (28519)
| other ImportScanner#scanImports for the app..............1,747 ms (4)
| getPrelinkedFiles toStringWithSourceMap..................1,694 ms (195)
| linker File#getPrelinkedOutput...........................1,365 ms (28943)
| other ImportScanner#realPath...............................962 ms (26255)
| other compileUnibuild (the app)............................700 ms (4)
| files.lstat................................................699 ms (28598)
| files.watchFile............................................627 ms (53422)
| other ImportScanner#readFile...............................571 ms (26264)
| files.writeFile............................................548 ms (2015)
| other ImportScanner#scanImports for base64.................535 ms (3)
| sha1.......................................................351 ms (31582)
| other ImportScanner#scanImports for tmeasday:check-npm-versions.321 ms (3)
| sha512.....................................................311 ms (609)
| other linker Module#getPrelinkedFiles......................306 ms (195)
| other safeWatcher.watch....................................303 ms (69015)
| other PackageSource#_findSources for os....................288 ms (1)
| ImportScanner#getAbsModuleId...............................275 ms (32807)
| files.rm_recursive.........................................215 ms (200)
| files.readdirWithTypes.....................................214 ms (16145)
| other DefaultHandlers.js...................................203 ms (26216)
| other linker.fullLink......................................200 ms (195)
| other Target#minifyJs......................................193 ms (3)
| other optimistic hashOrNull................................164 ms (23781)
| other PackageSourceBatch#_linkJS...........................158 ms (388)
| other PackageSourceBatch.computeJsOutputFilesMap...........110 ms (4)
|
| (#3) Total: 1,600,003 ms (Build App)
|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment