Below are results of my unscientific benchmark of (re)build speeds of the newest Meteor version 1.4.2-beta.6. The tests were performed on a production app I’m working on, with about 15k SLOCs. The app has 190 packages according to
versions file and uses ES6 modules, Blaze and a LESS preprocessor. From my observation it seems that while cold start build time actually regressed (~17% slower), rebuild times are significantly faster, in every test I could see 50% decrease (2x faster).
The test was performed with
METEOR_PROFILE=100 setting and I always recorded two times reported for two major build steps:
ProjectContext prepareProjectForBuild and
(Re)Build App. For the sake of completeness I’ve ran some of the tests twice to see how caching alters the result. So here are the results:
While the build times are still not ideal (webpack is still way faster), they went down from almost painful to manageable, which is a step in good direction . Congrats to all involved in this release! Hopefully by the time the final version releases the benefits will be the same or even better (I would especially appreciate speeding up the cold start build speed).
Btw, to install the current beta all you have to do is to issue this command:
meteor update --release 1.4.2-beta.6
And here’s a pull request on GitHub for 1.4.2: https://github.com/meteor/meteor/pull/7668