简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM