← Back to team overview

launchpad-dev team mailing list archive

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

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.



Rick Harding

Launchpad Developer