public static void RunSimple() { NormalSerializeSamples normalSamples = new NormalSerializeSamples(); normalSamples.Initialize(); RunSample(normalSamples.GetSimpleSample(), 1000); }
public static void RunArray() { NormalSerializeSamples normalSamples = new NormalSerializeSamples(); normalSamples.Initialize(); RunSample(normalSamples.GetComplexObjectSample(), 1000); }
public void Initialize() { Console.WriteLine("initializer runned"); //compile time BinaryGo BinaryGoModelBuilder.Initialize(); //InitBinaryGo(); NormalSerializeSamples normalSamples = new NormalSerializeSamples(); NormalSerializeSamples.InitializeChaches(normalSamples.GetSimpleSample()); NormalSerializeSamples.InitializeChaches(normalSamples.GetSimpleArraySample()); NormalSerializeSamples.InitializeChaches(normalSamples.GetComplexObjectSample()); }