Skip to main content

Benx Shen's Library tagged performance   View Popular

21 Jul 08

John Resig - DOM DocumentFragments

  • Browser
    Normal (ms)
    Fragment (ms)

    Firefox 3.0.1
    90
    47

    Safari 3.1.2
    156
    44

    Opera 9.51
    208
    95

    IE 6
    401
    140

    IE 7
    230
    61

    IE 8b1
    120
    40
  • As it turns out: A method that is largely ignored in modern web development can provide some serious (2-3x) performance improvements to your DOM manipulation.
21 Apr 08

John Resig - JavaScript Library Loading Speed

  • By order of file size, packed is the smallest, then minifed, then normal. However, the packed version has an overhead: It must be uncompressed, on the client-side, using a JavaScript decompression algorithm. This unpacking has a tangible cost in load time. This means, in the end, that using a minifed version of the code is much faster than the packed one - even though its file size is quite larger.

Julien Lecomte’s Blog » Gzip Your Minified JavaScript Files

從數據上來看,最好的壓縮方式,是使用 minified + gzip 的方式,使用 pack 雖然也是差不多,但是 pack 的結果是一堆看不懂的 js 碼。

www.julienlecomte.net/...13 - Preview

javascript gzip performance

1 - 20 of 27 Next ›
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo