Hi @zodern, as I written to @coagmano, I changed the runner server for the new one, with latest Xeon 2245 and 256GB ECC RAM, the building takes about 6 minutes, but it’s still a long time.
By your recommendation, I used the METEOR_PROFILE env variable and I’m sending the result:
| Top leaves:
| other Target#minifyJs…53,242 ms (2)
| Babel.compile…23,870 ms (765)
| meteorNpm.runNpmCommand…14,960 ms (15)
| other Builder#copyNodeModulesDirectory…12,137 ms (120)
| files.readFile…9,728 ms (304955)
| CssTools.minifyCss…7,619 ms (64)
| files.watchFile…7,345 ms (1405229)
| files.stat…7,083 ms (464360)
| files.writeFile…4,655 ms (150290)
| other compileUnibuild (the app)…4,057 ms (3)
| files.rm_recursive…3,816 ms (402)
| other safeWatcher.watch…3,558 ms (1202273)
| other minifyCssFiles…3,328 ms (62)
| other ImportScanner#scanImports for the app…2,890 ms (3)
| other _downloadMissingPackages…2,861 ms (1)
| other reifyCompileWithCache…2,853 ms (4081)
| linker File#computeAssignedVariables…2,008 ms (5883)
| sha1…1,867 ms (152291)
| files.lstat…1,750 ms (187192)
| files.mkdir…1,524 ms (17915)
| getPrelinkedFiles toStringWithSourceMap…1,392 ms (329)
| other optimistic hashOrNull…1,336 ms (133734)
| linker File#getPrelinkedOutput…1,213 ms (6300)
| other Input#loadFromCatalog…1,161 ms (1)
| other ImportScanner#resolve…801 ms (14983)
| files.unwatchFile…784 ms (94615)
| other Builder#_ensureDirectory…658 ms (14224)
| other meteorNpm.isPortable…529 ms (16963)
| files.readdir…522 ms (18216)
| CssTools.stringifyCss…466 ms (32)
| generate constraints…458 ms (1)
| other meteorNpm.rebuildIfNonPortable…450 ms (107)
| other linker Module#getPrelinkedFiles…449 ms (288)
| other PackageSource#_findSources for os…414 ms (1)
| files.copyFile…402 ms (15607)
| other ImportScanner#scanImports for base64…349 ms (2)
| other optimistic readFile…316 ms (272422)
| plugin fourseven:scss…301 ms (2)
| sqlite query…264 ms (392)
| other bundler writeSiteArchive…237 ms (1)
| other ImportScanner#scanMissingModules for react-meteor-data.232 ms (2)
| shouldWatch…198 ms (108475)
| CssTools.parseCss…191 ms (32)
| other Target#_emitResources…191 ms (3)
| require("./security.js")…187 ms (6)
| other PackageSourceBatch#_linkJS…180 ms (288)
| files.readdirWithTypes…169 ms (19343)
| other linker.fullLink…146 ms (288)
| other JsImage#write…144 ms (9)
| CssTools.rewriteCssUrls…139 ms (32)
| other optimistic lstat…134 ms (131333)
| other PackageSourceBatch.computeJsOutputFilesMap…128 ms (3)
| other ImportScanner#readFile…125 ms (2704)
| files.rename…101 ms (4942)
| minimize conflicts…101 ms (1)
|
| (#1) Total: 340,087 ms (meteor build)
===========
LIST OF NPM PACKAGES…
===========
“dependencies”: {
“@analytics/google-analytics”,
“@analytics/google-tag-manager”,
“@babel/runtime”,
“@progress/kendo-drawing”,
“@progress/kendo-licensing”,
“@progress/kendo-react-dateinputs”,
“@progress/kendo-react-dialogs”,
“@progress/kendo-react-dropdowns”,
“@progress/kendo-react-form”,
“@progress/kendo-react-charts”,
“@progress/kendo-react-indicators”,
“@progress/kendo-react-inputs”,
“@progress/kendo-react-intl”,
“@progress/kendo-react-layout”,
“@progress/kendo-react-listview”,
“@progress/kendo-react-notification”,
“@progress/kendo-react-progressbars”,
“@progress/kendo-react-treeview”,
“@progress/kendo-react-upload”,
“@progress/kendo-theme-material”,
“@progress/kendo-ui”,
“@sentry/integrations”,
“@sentry/node”,
“@sentry/react”,
“@sentry/tracing”,
“analytics”,
“bcrypt”,
“body-parser”,
“bootstrap”,
“cldr-core”,
“cldr-data”,
“cldr-dates-full”,
“cldr-numbers-full”,
“crypto-js”,
“daterangepicker”,
“diacritics”,
“google-libphonenumber”,
“hammerjs”,
“iban”,
“intersection-observer”,
“intl-tel-input”,
“jquery”,
“lodash-es”,
“mathjs”,
“md5”,
“meteor-node-stubs”,
“multer”,
“nexmo”,
“pc-bootstrap4-datetimepicker”,
“popper.js”,
“qrcode”,
“random-unique-number”,
“react”,
“react-dom”,
“react-html-parser”,
“react-intl-tel-input”,
“react-mounter”,
“react-phone-number-input”,
“react-top-loading-bar”,
“simpl-schema”,
“swiper”,
“wkhtmltopdf”,
“wordpress-hash-node”
},
“devDependencies”: {
“babel-eslint”,
“babel-preset-es2015”,
“browserslist”,
“eslint”,
“eslint-plugin-babel”,
“eslint-plugin-css-modules”,
“eslint-plugin-meteor”,
“eslint-plugin-react”,
“eslint-plugin-react-hooks”,
“eslint-plugin-react-svg”,
“eslint-plugin-security”,
“jsdoc”,
“jsdoc-md”,
“jsdoc-to-markdown”
},
===
METEOR PACKAGES
===
meteor-base@1.4.0 # Packages every Meteor app needs to have
mobile-experience@1.1.0 # Packages for a great mobile UX
mongo@1.10.0 # The database Meteor supports right now
reactive-var@1.0.11 # Reactive variable for tracker
tracker@1.2.0 # Meteor’s client-side reactive programming library
standard-minifier-js@2.6.0 # JS minifier run for production mode
es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers
ecmascript # Enable ECMAScript2015+ syntax in app code
shell-server@0.5.0 # Server-side component of the meteor shell
command
momentjs:moment
accounts-ui@1.3.1
accounts-password@1.6.2
universe:i18n
fourseven:scss
alanning:roles
meteorhacks:ssr
email@2.0.0
ostrio:flow-router-extra
meteorhacks:picker
matb33:collection-hooks
session@1.2.0
http@1.4.2
accounts-google
accounts-facebook
react-meteor-data
ostrio:logger
ostrio:loggermongo
ostrio:base64
seba:minifiers-autoprefixer
dynamic-import
typescript
jquery
static-html
====
Meteor version 1.11.1
The meteor_js_resource file with using dynamic imports have 742kB.