Closed Bug 486218 Opened 16 years ago Closed 15 years ago

Ajax tooltip script causes CPU usage to spike with Firefox 3.5b4pre

Categories

(Firefox :: General, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: geeknik, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b4pre) Gecko/20090331 Shiretoko/3.5b4pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b4pre) Gecko/20090331 Shiretoko/3.5b4pre I'm looking for javascript performance issues and came across http://www.javascriptkit.com/script/script2/ajaxtooltip.shtml. When you mouseover the blue box and move your mouse back and forth inside of the box, CPU usage for the firefox.exe process spikes. Reproducible: Always Steps to Reproduce: 1. Visit http://www.javascriptkit.com/script/script2/ajaxtooltip.shtml 2. Mouse over blue box and move your mouse pointer back and forth inside of the blue box. 3. Watch the CPU usage in task manager spike for firefox.exe Actual Results: CPU usage spikes. Expected Results: Firefox should not use any more CPU time than is necessary to execute the script.
CPU usage really spikes while the script fetches the info for the tooltip and then levels out afterward while you move your mouse around the box. Still uses more CPU than is necessary. 3.5b4pre Build 20090416044319 on XP SP3.
Closing this, no longer an issue with Firefox 3.7a1pre.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.