Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty cool, but comparing file sizes probably isn't enough. We should also compare the file sizes after gzipping. smaller js files doesn't necessarily mean smaller zipped files.

Also, size comparison ignores speed improvements due to load time and runtime optimizations that closure compiler does and uglify doesn't. (Although you'll have to use ugly code annotations to get closure compiler to do its magic).



Also - On the negative side, de-compression may be costly on the client. That would be really interesting to see measured as well.


Totally right! I'm thinking about adding an online gzip function to this as well, to see what the end result will be.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: