Why the ember-cli is so slow

后端 未结 3 1083
别那么骄傲
别那么骄傲 2021-02-08 17:55

I migrated my grunt project to ember-cli, I found the time from file modification to liveload completion was so long, about 10 minutes.

After I installed ember-cli-wind

3条回答
  •  醉梦人生
    2021-02-08 18:19

    For windows users, one will need to correctly enable symlinks. As our friends at Microsoft are actually active users of both ember and ember-cli. They have provided an addon that does exactly that.

    See: http://ember-cli.com/user-guide/#windows for further details. For all users see: https://github.com/ember-cli/ember-cli/blob/master/PERF_GUIDE.md

    [Update]

    In the last 6 months several large performance improvements have landed, some are seeing one or two orders of magnitude improvements (obviously this depends on some factors...)

    As time permits, more performance improvements are planned, one particular important one is decoupling the need to rely on symlinks or copying. Which should make our windows counterparts (and those with slower drives) quite happy.

    For anyone currently feeling like they are seeing less then optimal performance, let me recommend this guide: https://github.com/ember-cli/ember-cli/blob/master/PERF_GUIDE.md

    Many of the recent improvements have been done in a backwards compatible way, but do require dependencies being upgraded, be sure to upgrade relevant depends, and use that guide to track down any remaining issues and report them.


    Windows Subsystem Linux also appears to now work very well!

提交回复
热议问题