Hi everyone !
I have updated lately to the last version of Meteor and I’m experiencing long building times, the most important related to ImportScanner#scanMissingModules in bundler.bundle…makeClientTarget
Does anybody know how to reduce this times ?
Thank you for your help
| ├─ bundler.bundle..makeClientTarget.......................91,937 ms (2)
| │ └─ Target#make.........................................91,936 ms (2)
......
| │ ├─ Target#_emitResources............................90,192 ms (2)
| │ │ ├─ PackageSourceBatch.computeJsOutputFilesMap....86,265 ms (2)
.......
| │ │ │ ├─ ImportScanner#scanMissingModules for the app.72,510 ms (4)
| │ │ │ │ ├─ ImportScanner#resolve...................20,468 ms (74592)
| │ │ │ │ │ ├─ files.stat 7,328 ms (46718)
| │ │ │ │ │ ├─ safeWatcher.watch.....................8,696 ms (73447)
| │ │ │ │ │ │ ├─ files.stat 6,109 ms (46375)
| │ │ │ │ │ │ ├─ files.watchFile 1,596 ms (73447)
| │ │ │ │ │ │ └─ other safeWatcher.watch 991 ms
.....
| │ │ │ │ ├─ ImportScanner#realPath...................3,174 ms (26787)
| │ │ │ │ │ ├─ safeWatcher.watch.......................586 ms (40781)
| │ │ │ │ │ │ ├─ files.watchFile 359 ms (40781)
| │ │ │ │ │ │ └─ other safeWatcher.watch 227 ms
| │ │ │ │ │ ├─ optimistic lstat........................477 ms (20114)
| │ │ │ │ │ │ └─ files.lstat 417 ms (20114)
| │ │ │ │ │ ├─ shouldWatch 303 ms (20113)
| │ │ │ │ │ └─ other ImportScanner#realPath 1,807 ms
.....
| │ │ │ │ ├─ ImportScanner#readFile...................8,235 ms (26789)
.....
| │ │ │ │ │ ├─ optimistic readFile...................4,816 ms (19347)
| │ │ │ │ │ │ └─ files.readFile 4,741 ms (19347)
| │ │ │ │ │ ├─ optimistic hashOrNull.................1,462 ms (19347)
...
| │ │ │ │ │ └─ other ImportScanner#readFile 1,459 ms
| │ │ │ │ ├─ DefaultHandlers.js.......................9,457 ms (26769)
| │ │ │ │ │ ├─ reifyCompileWithCache.................9,118 ms (26595)
| │ │ │ │ │ │ ├─ files.readFile 8,640 ms (26539)
| │ │ │ │ │ │ └─ other reifyCompileWithCache 479 ms
| │ │ │ │ │ └─ other DefaultHandlers.js 339 ms
| │ │ │ │ ├─ ImportScanner#findImportedModuleIdentifiers 28,360 ms (26789)
| │ │ │ │ └─ other ImportScanner#scanMissingModules for the app 2,434 ms
....