What does METEOR_PROFILE do (Meteor 1.4.2)?

METEOR_PROFILE was added to Meteor 1.4.2, but what does it do?

It’s mentioned here:

METEOR_PROFILE has been in Meteor at least since 1.0, if not before. It’s used to get the build process to report steps taking longer than “n” ms. For example (in linux or OSX):

METEOR_PROFILE=100 meteor

will report all build steps taking longer than 100ms.

You can also use:

export METEOR_PROFILE=100
meteor

or, if you’re using Windows:

set METEOR_PROFILE=100
meteor
5 Likes