0

I have an ember.js application. It shows a list of "Problems". Once loaded, the first action taken to select (click) an individual item from this list has a 1-2 second delay. No delay is ever present on subsequent clicks.

The delay is not from the server, if I remove all content from the view/template, the delay is still present.

The delay is not in rendering. If I instrument the rendering process (as described in this answer: https://stackoverflow.com/a/15129150/1167846) nothing happens with rendering at all during that time, and the list displayed at the end shows nothing that indicates a multi-second pause.

If I use console.log all over the place, the click event appears to make all the necessary changes in my code (selecting the item as "current") without any delay.

How do I figure out where this delay is coming from?

4

0 回答 0