Пример #1
0
        public static void RunSimple()
        {
            NormalSerializeSamples normalSamples = new NormalSerializeSamples();

            normalSamples.Initialize();
            RunSample(normalSamples.GetSimpleSample(), 1000);
        }
Пример #2
0
        public static void RunArray()
        {
            NormalSerializeSamples normalSamples = new NormalSerializeSamples();

            normalSamples.Initialize();
            RunSample(normalSamples.GetComplexObjectSample(), 1000);
        }
Пример #3
0
        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());
        }