Measure meteor build time

Has anyone spent time trying to measure how much time the meteor build uses and on what? Over time, it’s gotten progressively slower for me (as my app has gotten bigger, presumably related), but I’d like to know how much each part costs. Like what’s babel cost vs. stylus vs. other parts of the meteor build.

Before I dug into the code here I was curious if anyone else has attempted this or if there’s a debug mode I should be aware of.

thanks,
andy

I know that there is the METEOR_PROFILE environment variable. But I have never used it myself. See https://github.com/meteor/meteor/blob/e8e7ec43bfd666c8f5bc382d6b9fe380dd93dba2/tools/profile.js.

1 Like