Closed Bug 111718 Opened 23 years ago Closed 23 years ago

Mousing over a link is now extremely slow (:hover is slow)

Categories

(Core :: Web Painting, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hwaara, Assigned: roc)

References

Details

(Keywords: perf, regression)

Mousing over links seems to have slowed down a lot lately.

To reproduce:

1. Mouse-over a list of links. You'll notice that the statusbar has a hard time
updating with all the info.

2. Drag the cursor (as in selecting text) over a paragraph that has a link in
it. When the cursor is above the link, the selection will "lag" before it
continues...

This is quite hard to explain. But by trying one of the two above testcases,
you'll notice this regression.

Build: 2001-11-23, Windows 98.
*** Bug 111764 has been marked as a duplicate of this bug. ***
This is a bad and very visible performance regression.

dbaron, any idea what the slowdown could be? Roc, is this due to your
checkin(s)? (wild guess.)
Keywords: regression
Summary: Mousing over a link or dragging over a link is now extremely slow → Mousing over a link is now extremely slow (:hover is slow)
This is almost definitely due to roc's changes, which were causing things like
:hover to repaint the entire page (before he backed them out).
Assignee: attinasi → roc+moz
Component: Layout → Views
Keywords: perf
This is still much slower than usual in today's CVS trunk. :-(
A good testcase:  go to http://www.w3.org/TR/SVG/ and mouse fairly slowly over
the list of links... You'll definitely notice the problem.

The :hover effect will not be applied unless you stop moving for a little while.
Is it slower than it was in a build from a few weeks ago?  (It seems pretty
quick to me.)
Yes, it's much slower.  

I will download yet another nightly build and see if the problem is reproducible
there.
It was confusing that the nightly the day _after_ roc had been backed out was
still showing the slow, bad behaviour. In this new nightly I just downloaded,
things are back to normal. Phew!
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.