Bug 1380974 - Use custom size for small frequent messages. r=billm
authorHenry Chang <hchang@mozilla.com>
Thu, 20 Jul 2017 11:37:09 +0800
changeset 370583 3c35ec94f3ed32031f6d953a54dd90c9f7c1d0e8
parent 370582 1476b84d8f878a3db499fb9cb67222cf36e13f6e
child 370584 f0817bf2f80b3f4cf8ea2d4f98904c23bce9b9b3
push id32228
push userkwierso@gmail.com
push dateTue, 25 Jul 2017 01:06:49 +0000
treeherdermozilla-central@dcfb58fcb6dd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbillm
bugs1380974
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1380974 - Use custom size for small frequent messages. r=billm Since the default size is 64, we only care about message size which is > 64 bytes. MozReview-Commit-ID: 2vUpcaUjlNP
ipc/ipdl/message-metadata.ini
--- a/ipc/ipdl/message-metadata.ini
+++ b/ipc/ipdl/message-metadata.ini
@@ -24,8 +24,21 @@ segment_capacity = 8192
 segment_capacity = 8192
 [PWyciwygChannel::SetSecurityInfo]
 segment_capacity = 8192
 [PMessagePort::PostMessages]
 segment_capacity = 12288
 [PMessagePort::ReceiveData]
 segment_capacity = 12288
 
+#------------------------------------------------------------
+# Small-size messages.
+#------------------------------------------------------------
+[PCompositorBridge::DidComposite]
+segment_capacity = 128
+[PBrowser::RealMouseMoveEvent]
+segment_capacity = 192
+[PCompositorBridge::PTextureConstructor]
+segment_capacity = 192
+[PLayerTransaction::InitReadLocks]
+segment_capacity = 256
+[PHttpBackgroundChannel::OnStopRequest]
+segment_capacity = 192