Hacker News new | ask | show | jobs
by Rygu 4014 days ago
It doesn't seem to compare the minified + gzipped library sizes. That's the most important metric to me. Who still serves comments in JS?
2 comments

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!
To illustrate this point, React min+gzip is about 40 KB: https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.mi... not 121 KB.
I 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.

I would suggest the second metric to be labelled as "dry weight".
I added that toggle gzip checkbox. Thanks again for the push.