11 ms·
It compares the minified files so no comments. You raise a good point about gzipping though. I was operating under the assumption that the libraries would be co
by stefanrush 11y ago
It compares the minified files so no comments. You raise a good point about gzipping though. I was operating under the assumption that the libraries would be compressed at the the same ratio so minified file size would be a good comparison. This probably isn't entirely accurate though. I'll have to look into it a bit more. Thanks for your feedback!
- lifthrasiir 11y agoI would suggest the second metric to be labelled as "dry weight".
- Rygu 11y agoTo illustrate this point, React min+gzip is about 40 KB: https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.min.js https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.mi... not 121 KB.
- stefanrush 11y agoI think what I'm going to do is add a checkbox at the top that will let you toggle between the gzipped and non-gzipped weight. After doing some research it looks like larger libraries with more redundancy will benefit more from gzipping than smaller libraries. So relative to uncompressed file size, React will be compressed more than say Backbone. Definitely going to add this in. Thanks again.