HNHacker News
TopNewBestAskShowJobs

stefanrush

22 karma · joined May 7, 2015

https://github.com/stefrush
submissionscomments
stefanrush··on Show HN: Weightof.it – Compare JavaScript libraries by file size
I added that toggle gzip checkbox. Thanks again for the push.
stefanrush··on Show HN: Weightof.it – Compare JavaScript libraries by file size
Thank you for contributing! I have approve them before they appear to prevent people from spamming. I just checked and was surprised to see 22 libraries awaiting approval. Awesome feeling. I was not expecting that. I'll be able to go through them tonight.

I did just add a flash message users will see after they make a contribution though. Thanks for the feedback. And thanks to everyone who contributed a library.

stefanrush··on Show HN: Weightof.it – Compare JavaScript libraries by file size
Thank you! I was actually unaware that Ember has separate versions for production and dev. I was using the dev version which I assume has extra features for debugging. I just updated it with the correct version. Sorry Ember...
stefanrush··on Show HN: Weightof.it – Compare JavaScript libraries by file size
Thanks for the feedback. Great point on modular libraries. I definitely thought about that during development. I just couldn't find a good way to implement it. Some libraries like Modernizr have billions of possible permutations.

I also like the idea of comparing other metrics. Definitely something I'll look at going forward.

stefanrush··on Show HN: Weightof.it – Compare JavaScript libraries by file size
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.

stefanrush··on Show HN: Weightof.it – Compare JavaScript libraries by file size
GitHub stars
stefanrush··on Show HN: Weightof.it – Compare JavaScript libraries by file size
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!
stefanrush··on Show HN: Weightof.it – Compare JavaScript libraries by file size
Really appreciate the feedback. Thank you. It's fixed :)