[Webkit-unassigned] [Bug 23050] Copying Fonts by value makes GraphicsContext::save() and restore() expensive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 1 19:10:36 PST 2009


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





------- Comment #3 from simon.fraser at apple.com  2009-01-01 19:10 PDT -------
My initial analysis was done on a debug build (stupid!). In a release build,
things aren't nearly as bad. In the attached Shark profile of the testcase,
GraphicsContext::restore() is 1.4%, and GraphicsContext::save() 0.6%.

However, Font::operator= is still 39% of the time spent in
GraphicsContext::restore(), so I think there's still a win to be had here.


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



More information about the webkit-unassigned mailing list