Hacker News new | comments | show | ask | jobs | submit login

Yeah, I don't understand why comparisons are always made for gzipped code sizes. I mean, I could write something really small that is difficult to parse and abuses memory vs. something big but is all comments.

Why is this the first metric that is always trotted out?

Because it's a simple, universal metric. Accurately stating the the performance impact of something like Moment is extremely involved and entirely dependent on how your project works and your users.

Because every web browser and server understands gzip. The gzipped size reflects the transfer size for the file without doing anything at all exotic.

Guess you have to measure yourself then :)

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