PDA

View Full Version : javascript code CPU Usages


shahriarcoder
04-18-2009, 07:50 PM
sometimes my javascript codes takes up to 90% cpu usage.
for example a js like used in HTTP://UIT1.COM (HTTP://WWW.UIT1.COM) a "carousel" js has this problem.
it is a normal website about UltraSound, Transducers and Medical Equipments .
Which factor cause this problem !?

Thanks to all.

bdl
04-18-2009, 11:13 PM
Intensive operations can cause intensive CPU usage. Maybe your code has memory leaks or is written inefficiently. Either way, it belongs in the JavaScript forum, not this one.