[Webkit-unassigned] [Bug 120512] PositionIterator increment and decrement functions can be sped up by not iterating through nodes without renderers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 3 10:02:36 PDT 2013


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





--- Comment #9 from Darin Adler <darin at apple.com>  2013-09-03 10:01:54 PST ---
The style of performance test I had in mind was like the tests in LayoutTests/perf. Look, for example, at the test named LayoutTests/perf/mouse-event.html. The idea is that there is a setup function that takes an integer for magnitude and it scales according to that. So that would be the number of nodes you add, taking care to add a type of node that won’t have renderers. Then the test runs and it proves that the speed of the test does not go down proportional to the number of non-renderer nodes.

Except I guess that might not work here, because we still skip through those nodes, just faster than before. Ryosuke might have some advice on how to still use the Magnitude class for testing this.

-- 
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