void Warmup() { var msgs = new MessageBase[] { new S16Message(), new ComplexMessage(), new IntArrayMessage() }; IMemStreamTest t; t = new MemStreamTest(m_serializer); t.Prepare(msgs.Length); t.Serialize(msgs); t.Deserialize(); if (Program.RunProtoBufTests) { t = new PBMemStreamTest(); t.Prepare(msgs.Length); t.Serialize(msgs); t.Deserialize(); } }