[jQuery] Re: One-liner that accelerates JavaScript on IE
My IE7 was almost identical. FF2 gave 219 293 (which meant that the non-tweaked version was faster) Strange its all over the place. Glen On 10/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I got those results : > > FF 2.0.0.7 > final time (less is better) 941 653 > > IE6 with SP2 and all updates > final time (less is better) 1108 955 > > So I guess the "modded" version increase between 20% up to 30% the > speed of the selectors. > > Make your tries but thanks Glen for this try. > > ps: sorry for my English (french speaking guy) > > On Oct 15, 12:24 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > Guy Fraser schrieb:> Glen Lipka wrote: > > >>http://commadot.com/jquery/experiments/speedtest/# > > >> I modified a version of jQuery to include that one line and it threw > > >> a JS error. > > >> Then I tried using the second way with the var doc = document and > > >> renamed document everywhere to be doc. > > >> No change at all in speed. > > > > > Having run that test a few times in FF 2.0.0.7 I noticed that the > > > tweaked jQuery (which also had smaller file size) seemed to be > faster... > > > > The difference in size isn't worth it if you gzip your JavaScript. > >
[jQuery] Re: One-liner that accelerates JavaScript on IE
I got those results : FF 2.0.0.7 final time (less is better) 941 653 IE6 with SP2 and all updates final time (less is better) 1108 955 So I guess the "modded" version increase between 20% up to 30% the speed of the selectors. Make your tries but thanks Glen for this try. ps: sorry for my English (french speaking guy) On Oct 15, 12:24 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Guy Fraser schrieb:> Glen Lipka wrote: > >>http://commadot.com/jquery/experiments/speedtest/# > >> I modified a version of jQuery to include that one line and it threw > >> a JS error. > >> Then I tried using the second way with the var doc = document and > >> renamed document everywhere to be doc. > >> No change at all in speed. > > > Having run that test a few times in FF 2.0.0.7 I noticed that the > > tweaked jQuery (which also had smaller file size) seemed to be faster... > > The difference in size isn't worth it if you gzip your JavaScript.
[jQuery] Re: One-liner that accelerates JavaScript on IE
Guy Fraser schrieb: Glen Lipka wrote: http://commadot.com/jquery/experiments/speedtest/# I modified a version of jQuery to include that one line and it threw a JS error. Then I tried using the second way with the var doc = document and renamed document everywhere to be doc. No change at all in speed. Having run that test a few times in FF 2.0.0.7 I noticed that the tweaked jQuery (which also had smaller file size) seemed to be faster... The difference in size isn't worth it if you gzip your JavaScript.
[jQuery] Re: One-liner that accelerates JavaScript on IE
Glen Lipka wrote: > http://commadot.com/jquery/experiments/speedtest/# > I modified a version of jQuery to include that one line and it threw a > JS error. > Then I tried using the second way with the var doc = document and > renamed document everywhere to be doc. > No change at all in speed. Having run that test a few times in FF 2.0.0.7 I noticed that the tweaked jQuery (which also had smaller file size) seemed to be faster...
[jQuery] Re: One-liner that accelerates JavaScript on IE
http://commadot.com/jquery/experiments/speedtest/# I modified a version of jQuery to include that one line and it threw a JS error. Then I tried using the second way with the var doc = document and renamed document everywhere to be doc. No change at all in speed. Glen On 10/12/07, Glen Lipka <[EMAIL PROTECTED]> wrote: > > How much faster? > I can plug in a version of jQuery with that line and a version without > that line into the css selector speed test I guess to try. > > Glen > > On 10/11/07, luci <[EMAIL PROTECTED]> wrote: > > > > > > > > http://dankogai.vox.com/library/post/one-liner-that-accelerates-javascript-on-ie.html > > > > This is very interesting suggestion to accelerate js. > > Replacing document object to a argument, it works more speedy on IE. > > > > >
[jQuery] Re: One-liner that accelerates JavaScript on IE
How much faster? I can plug in a version of jQuery with that line and a version without that line into the css selector speed test I guess to try. Glen On 10/11/07, luci <[EMAIL PROTECTED]> wrote: > > > > http://dankogai.vox.com/library/post/one-liner-that-accelerates-javascript-on-ie.html > > This is very interesting suggestion to accelerate js. > Replacing document object to a argument, it works more speedy on IE. > >