krisselden / ember-cli-optimize

MIT License
10 stars 3 forks source link

Ember-cli-optimize

Faster JS File parse/eval. Similar to optimize-js but configurable. Allowing the developer to choose which module should be lazy, and which should be eager.

Why is this configuration important? There is overhead to eager parsing all modules, but if a module is executed immediately that overhead is non-optional. Alternatively a module can be "pre-parsed" which is much more efficient, unfortunately if that module is "pre-parsed" and then immediately invoked it will then also be fully parsed, essentially duplicating work.

Examples of Lazy and Eager modules:

Installation

Contributing to this addon

Running

Running Tests

Building

For more information on using ember-cli, visit http://ember-cli.com/.