Search code examples
twitter-bootstrapember.jsember-cli

Slow Ember-CLI Build times?


I recently updated my project to Ember-CLI 0.0.46 and I'm noticing considerable slowdowns in my project builds...

Build successful - 259366ms.

 Slowest Trees                  | Total
-------------------------------+----------------
TreeMerger (ExternalTree)      | 77565ms
CompassCompiler                | 43122ms
TreeMerger                     | 38668ms
TreeMerger (stylesAndVendor)   | 36651ms
TreeMerger (appAndDependencies) | 20901ms

This seems CRAZY. Granted, I am using Bootstrap, but still, it was NOT this bad until recently. The only other component I've added is oauth2 support.

There was some talk (on Github I believe) of adding a view in the build that showed how many total files were touched. What became of that?

Thanks for any insights.


Solution

  • The ember-cli project has since vastly improved the performance of the build pipeline. If I remember correctly there was also a bug in an older version regarding tmp files that worsened the performance which might be the cause.

    My recommendation would be to update to the latest available version.