andreasgal/gaia — Issue #421: Long lag between tapping to open conversation view and it displaying
Author: cgjones
Created: 2012-02-14 15:06:18+00:00
State: open
Labels: sms

When I click on a conversation in the main SMS screen, it often only appears when the animation is >50% done. Of the two "fake" conversations, the one with more fake messages takes longer to appear. I think this is because we're dynamically generating all the HTML for the conversations.

We should investigate ways to speed this up. One way is to cache previously-opened screens, but that doesn't help with first-open performance. Another might be to keep around a small stock of pre-constructed divs to which we add the nodes we need, when required. Or things might be fast enough if we construct DOM nodes directly, instead of going through the HTML5 parser.

CC @andreasgal