예제 #1
0
 private void btnDeserializeSql_Click(object sender, EventArgs e)
 {
     benchmark("deserialize SQL", sender, () =>
     {
         SqlPersistence.Load(1000000);
         return(0);
     });
     fixGroupText2();
 }
예제 #2
0
        private void btnSerializeSql_Click(object sender, EventArgs e)
        {
            SqlPersistence.CleanUp();

            benchmark("serialize SQL", sender, () =>
            {
                SqlPersistence.Save(SerializeLargeValueObject.New().Data);
                return(0);
            });
            fixGroupText1();
        }