Hacker News new | ask | show | jobs
by ahoge 4243 days ago
> How big is the "full" set of polyfills anyway?

Right now it's around 75 kB without minification and without gzip. However, this doesn't include any code for doing feature detection.

So, my somewhat educated guess would be: around 30 kB (which is comparable to jQuery).

1 comments

A definitely-flawed sorta-concatenation of all `if(detect.js){polyfill.js}` files, plus some cleanup, plus syntax fixes, run through http://closure-compiler.appspot.com/home gives me just under 10kb gzipped, just over 31kb raw.

Nice guess :) that seems not too bad, tbh.