Common Javascript mistakes that severely affect performance?

Posted by melee on Programmers See other posts from Programmers or by melee
Published on 2011-07-01T14:35:33Z Indexed on 2011/07/01 16:30 UTC
Read the original article Hit count: 295

Filed under:
|

At a recent UI/UX MeetUp that I attended, I gave some feedback on a website that used Javascript (jQuery) for its interaction and UI - it was fairly simple animations and manipulation, but the performance on a decent computer was horrific.

It actually reminded me of a lot of sites/programs that I've seen with the same issue, where certain actions just absolutely destroy performance. It is mostly in (or at least more noticeable in) situations where Javascript is almost serving as a Flash replacement. This is in stark contrast to some of the webapps that I have used that have far more Javascript and functionality but run very smoothly (COGNOS by IBM is one I can think of off the top of my head).

I'd love to know some of the common issues that aren't considered when developing JS that will kill the performance of the site.

© Programmers or respective owner

Related posts about web-development

Related posts about JavaScript