File size comparison of different HTML5 shims, with and without gzip compression
File sizes of HTML5 shims with cc checks for IE intact (inside the JavaScript)
Version |
Raw file size (in bytes) |
gzip’ed file size (in bytes) |
Byte difference |
Original by @rem |
255 |
226 |
- 29 |
@kangax’s version |
214 |
194 |
- 20 |
@pornelski’s version |
176 |
182 |
+ 6 |
File sizes of HTML5 shims without cc checks for IE (when the file is linked from inside a conditional comment in the HTML anyway)
Version |
Raw file size (in bytes) |
gzip’ed file size (in bytes) |
Byte difference |
Original by @rem |
228 |
206 |
- 22 |
@kangax’s version |
203 |
190 |
- 13 |
@pornelski’s version |
165 |
176 |
+ 11 |
These tests are based on the strongest gzip compression (gzip -9
).