Package org.directmemory.serialization

Examples of org.directmemory.serialization.ProtoStuffWithLinkedBufferSerializer


    testSerializer("protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb(3), 20000);
    testSerializer("protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb(4), 20000);
  }
  @Test
  public void ProtostuffV2Test() throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException {
    testSerializer("protostuff-new", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(1), 20000);
    testSerializer("protostuff-new", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(2), 20000);
    testSerializer("protostuff-new", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(3), 20000);
    testSerializer("protostuff-new", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(4), 20000);
    testSerializer("cinquantamila", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(3), 50000);
  }
View Full Code Here

TOP

Related Classes of org.directmemory.serialization.ProtoStuffWithLinkedBufferSerializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.