[Webkit-unassigned] [Bug 34059] Content with heavily nested residual style is so slow, it seems like a hang

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 24 18:08:06 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34059





--- Comment #9 from Maciej Stachowiak <mjs at apple.com>  2010-01-24 18:08:04 PST ---
(In reply to comment #7)
> (From update of attachment 47298 [details])
> > +        Limit the number of iterations of the main loop to 5.
> <...>
> > +    while (!finished && (iterationCount++ < cResidualStyleIterationLimititerationLimit)) {
> 
> I think this actually limits the count to 6, not 5.

I think it's 5. The value being compared on iterations through the loop will
be:

0
1
2
3
4
5 ==> this breaks out of the loop before it executes.


> 
> It would be nice to attach a test case to this Bugzilla bug, so that people
> could verify that it didn't regress - if it's not possible to make an automated
> test, of course.

I'll see if I can make an automated test that hangs on release but reliably
runs fast in debug.

Regards,
Maciej

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list