← Back to team overview

launchpad-dev team mailing list archive

Re: js timeout issues on ec2 due to deep js namespaces

 

On 20 September 2012 15:26, Deryck Hodge <deryck.hodge@xxxxxxxxxxxxx> wrote:
> I think the general guideline should be: "Anything more than 3 levels
> deep should raise a red flag in review."

This seems sensible, especially given the demonstrated performance of
IE. It might not be a first class citizen of Launchpad (or is it? I
can't remember) but I suspect that it's significant.

> As for profiling, I have no idea how to profile in html5-browser.
> Maybe Curtis has ideas?  If you just need some peace of mind that
> member resolution is really a cause for concern, we could do a test in
> FF and Chrome using their profiler tools.  Also, "High Performance
> JavaScript" has a great chapter on all this, if you haven't read that
> book yet.

I haven't; I'll see about getting/borrowing a copy.


Follow ups

References