Which techniques and methods can I use as a webcoder to locate causes of high memory usage within the jquery code I have defined ?
I am using Google Chrome stable, currently v7, if that helps.
Some parts can I replace with “regular” javascript, but that require more lines and less visibly to see whats happening. As far as I understand, the overhead jQuery adds is negligible.
Other parts can not, and are providing basic page functionality which means avoiding jQuery completely is not an option. Besides re-inventing the wheel is counter-productive.
Google Chrome has a developers tool that can help trace your memory usage. ‘m not sure what o/s you’re using, but in Mac, you can go View, Developer, Developer Tools. There’s a resources tab and profiling tab that might be of use for you.