[Webkit-unassigned] [Bug 56770] Speed up HitTestResult

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 22 16:05:21 PDT 2011


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





--- Comment #15 from Geoff Pike <gpike at chromium.org>  2011-03-22 16:05:21 PST ---
Thanks for the review!

I agree this is not an earth-shattering improvement.  I found it when informal testing and instrumentation suggested that this code path is high on the list of things that drive memory allocation and deallocation.  And it's worse than the typical allocation, because it allocates several kilobytes and memsets the whole thing and then, typically, uses none of it.

I estimate that the change can save a few ms of CPU per wall-clock second when the mouse is moving.  It may be useful under other circumstances as well, I'm not sure.

If you want more information or would like to suggest other areas where performance tuning would be more fruitful, please let me know.

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