[Webkit-unassigned] [Bug 107625] Coordinated Graphics : Reduce the number of messages sent to UIProcess when creating and deleting compositing layers.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 23 00:21:49 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=107625
Seulgi Kim <seulgikim at company100.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|WONTFIX |
--- Comment #8 from Seulgi Kim <seulgikim at company100.net> 2013-01-23 00:23:42 PST ---
On second thoughts, this patch has enough values.
Less messages improve performance not only just for IPC time, but also CoreIPC creates Functional before sending a message.
bool Connection::sendMessage(MessageID messageID, PassOwnPtr<MessageEncoder> encoder, unsigned messageSendFlags)
{
/ ...... /
m_connectionQueue.dispatch(WTF::bind(&Connection::sendOutgoingMessages, this));
/ ...... /
}
And CoordinatedLayerTreeHostProxy also creates Functional to create or delete layers.
If CoordinatedLayerTreeHost send n messages in a cycle, CoreIPC and CoordinatedLayerTreeHostProxy creates 2 * n functional. And this patch reduced 2 * n Functionals to 2 Functional.
IMHO it will not be an insignificant performance improve.
And also it doesn't harms to readability.
Could you think again, noam?
--
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