kellyselden / ember-cli-tree-shaker

Experiment with tree-shaking in Ember CLI
MIT License
76 stars 7 forks source link

Document how to measure results #18

Closed danwenzel closed 6 years ago

danwenzel commented 6 years ago

It would be nice if the README indicated how exactly to measure the results of tree shaking. How do you measure how many modules were removed, file size reduction, etc?

kellyselden commented 6 years ago

It prints to the console how many and which one's were removed.

danwenzel commented 6 years ago

Ah, I see that now. :) Maybe add that info to the README? Any other ways to measure?

kellyselden commented 6 years ago

you can do a production build before and after, the sizes are printed to console.

kellyselden commented 6 years ago

feel free to submit a PR with wording.

danwenzel commented 6 years ago

will do. Thank you!

danwenzel commented 6 years ago

https://github.com/kellyselden/ember-cli-tree-shaker/pull/19