How fast are your build times?

Had some issues with slow build times after upgrading to 1.8. I created a new meteor project and moved the majority of my working files there. It seemed to help though I was wondering what build times other people get.

If you change one style, how long does it take for your browser to reflect the style change from the moment you save it? I’m getting around 20s and am wondering what I can do to speed that up.

1 Like

It takes more than 20s for me, and i need to manually refresh my page most of the times. And i am facing another issue - when meteor server restarted, my editor/IDE(vs code) is hanged !

Around 8-10s but relatively large project. I noticed if you’ve a lot of packages in your project folder, each package will add a second or two (even if it’s not added) and if it has node modules, then the build time will increase linearly with the size of the node_modules folder in that package.

are we talking about the first build here?

or about the rebuilds ?

The first build on our app you can basically go make a coffee and it will be done building.
rebuild time on our main project takes about 50 seconds on meteor 1.8.

Rebuilds.

Interesting, is that more or less than prior to 1.8?

Wait a second, what are you guys doing?! :smiley:
I am on a Core i7 6700 (non-k), first build takes about 20-30 seconds, rebuilds (after changing some server or client-slide code) are around 2-5 seconds.

60 npm packages in my package.json, 50 meteor packages in my packages file.

Meteor 1.8, but 1.7 wasn’t much slower.

EDIT:
my package.json and my packages file FYI:

"dependencies": {
    "@babel/runtime": "^7.1.2",
    "antd": "^3.8.4",
    "arraystream": "0.0.5",
    "async": "^2.6.1",
    "aws-sdk": "^2.305.0",
    "basic-ftp": "^2.13.2",
    "bcrypt": "^0.8.7",
    "classnames": "^2.2.6",
    "console-polyfill": "^0.2.2",
    "copy-to-clipboard": "^3.0.6",
    "core-js": "^2.5.7",
    "cron": "^1.4.1",
    "detect-browser": "^3.0.0",
    "detect-character-encoding": "^0.6.0",
    "dom-scroll-into-view": "^1.2.1",
    "draft-js": "^0.10.5",
    "draftjs-to-html": "^0.8.4",
    "eol": "^0.9.1",
    "fastclick": "^1.0.6",
    "fibers": "~1.0.15",
    "file-saver": "^1.3.8",
    "handlebars": "^4.0.11",
    "history": "^4.7.2",
    "iconv-lite": "^0.4.24",
    "indexof": "0.0.1",
    "jquery": "^2.2.4",
    "jquery-validation": "^1.15.1",
    "js-cookie": "^2.2.0",
    "left-pad": "^1.3.0",
    "lodash": "^4.17.10",
    "mailgun-js": "^0.7.11",
    "meteor-node-stubs": "^0.2.6",
    "meteor-subdomain-persistent-login": "github:Twisterking/meteor-subdomain-persistent-login",
    "mime-types": "^2.1.20",
    "moment": "^2.22.1",
    "moment-holiday": "github:Twisterking/moment-holiday",
    "moment-range": "^3.1.1",
    "nivo": "^0.30.1",
    "object-path": "^0.11.4",
    "pdfmake": "^0.1.37",
    "prop-types": "^15.6.2",
    "pubsub-js": "^1.6.1",
    "query-string": "^5.1.1",
    "raven": "^2.6.3",
    "react": "^16.4.2",
    "react-dom": "^16.4.2",
    "react-ga": "^2.5.3",
    "react-router-dom": "^4.2.2",
    "react-slick": "^0.23.1",
    "react-sortablejs": "^1.3.6",
    "simpl-schema": "^1.5.3",
    "slick-carousel": "^1.8.1",
    "sortablejs": "^1.7.0",
    "split2": "^3.0.0",
    "styled-components": "^2.4.0",
    "throttle-debounce": "^1.1.0",
    "ua-parser-js": "^0.7.18",
    "user-agent-parser": "^0.6.0",
    "validate.js": "^0.11.1",
    "xlsx": "^0.13.5",
    "xml2js": "^0.4.19",
    "xmlbuilder": "^9.0.4"
  }
meteor-base@1.4.0             # Packages every Meteor app needs to have
mobile-experience@1.0.5       # Packages for a great mobile UX
mongo@1.6.0                   # The database Meteor supports right now
reactive-var@1.0.11            # Reactive variable for tracker
session@1.1.8
tracker@1.2.0                 # Meteor's client-side reactive programming library
standard-minifier-js@2.4.0    # JS minifier run for production mode
es5-shim@4.8.0                # ECMAScript 5 compatibility for older browsers.
ecmascript@0.12.0              # Enable ECMAScript2015+ syntax in app code
disable-oplog@1.0.7
cultofcoders:redis-oplog
react-meteor-data
accounts-password@1.5.1
accounts-base@1.4.3
check@1.3.1
browser-policy@1.1.0
ddp-rate-limiter@1.0.7
shell-server@0.4.0
static-html
force-ssl@1.1.0
ejson@1.1.0
fourseven:scss
alanning:roles
themeteorchef:bert
xolvio:cleaner
xolvio:backdoor
nimble:restivus
mizzao:user-status
meteorhacks:aggregate
waitingkuo:normalize
deanius:promise
reywood:publish-composite
ostrio:files
meteorhacks:picker
modules@0.13.0
natestrauser:publish-performant-counts
dynamic-import@0.5.0
promise@0.11.1
ecmascript-runtime@0.7.0
twisterking:impersonate
cultofcoders:grapher
cultofcoders:grapher-react
aldeed:collection2-core@2.0.0
fortawesome:fontawesome
seba:minifiers-autoprefixer
meteor-safereactivevar
server-render@0.3.1
qualia:profile
2 Likes

2-5 seconds is awesome for your project size! Also any server init code slow down the build, the additional seconds I’ve due to some init code we’ve I assume.

10 seconds for the first build, 3 seconds for rebuilds after changing client side code.

Meteor 1.8, 26 packages in package.json, 22 packages in .meteor/packages, using an i5-8250U.

1 Like

On Windows 10, with 1.8 build and rebuild times when from unusable to tolerable (with exceptions in Defender). Even with Defender off.