I try to optimize my program which is taking over 107% of CPU usage on Ubuntu for a specific page and less for the other ones (70% - also showing multiple gages but differently - , 5% showing other data (which is not showing gages), etc...).
My page is showing multiple gages using justgage.js which is using raphael.js
I try to debug using the Google Developpers Tools, but when I use the "Collect Javascript CPU Profile" nothing makes me believe that something is taking that CPU. The only thing I see is 100% for the function "Program"
Do you have any idea on how I could debug this? Or what could take the CPU like this?
Note that the CPU using "top" command on ubuntu is giving me the same result when using firefox or chrome.