launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #09637
Re: js timeout issues on ec2 due to deep js namespaces
On Thu, 20 Sep 2012, Gavin Panella wrote:
> On 20 September 2012 15:23, Richard Harding <rick.harding@xxxxxxxxxxxxx> wrote:
> > Check out this following url in various browsers.
> >
> > http://jsperf.com/js-object-lookup
>
> That's very cool. The differences between browsers is so huge it's not
> even funny. It's pretty cool how Chrom* optimises it all away. I
> wonder how these graphs would look with many different lookup paths; I
> guess the differences would be smaller. That's not meant to be a
> challenge, btw :)
Yea, it's very much an extreme case just to point out that there is a point
to know there.
I do love how it points out that IE, even in IE9 needs to die a JS driven
fire.
The new JS engine IronMonkey in FF should help this going forward as it
gains some JIT ability and the logic to inline the variable lookup after it
sees it a few times.
https://wiki.mozilla.org/Platform/Features/IonMonkey
--
Rick Harding
Launchpad Developer
https://launchpad.net/~rharding
@mitechie
References