High CPU usage of javascript - How to debug?
What is the best way to find the cause of high cpu usage of javascript? I have a script that simply loads photos from flickr in a thumbnail gallery. After they're loaded, nothing is being done (waiting for you to click them to display in a lightbox), but the cpu usage is still 25% or more. I've opened firebug, clicked profile, waited a bit then clicked it again, but it says "No activity to report". If there was something going on, wouldn't it report? Or am I using this tool wrong? I am doing this after everything is loaded, just to see what might be causing that high cpu usage. Thanks, Wesley