private void btnDeserializeSql_Click(object sender, EventArgs e) { benchmark("deserialize SQL", sender, () => { SqlPersistence.Load(1000000); return(0); }); fixGroupText2(); }
private void btnSerializeSql_Click(object sender, EventArgs e) { SqlPersistence.CleanUp(); benchmark("serialize SQL", sender, () => { SqlPersistence.Save(SerializeLargeValueObject.New().Data); return(0); }); fixGroupText1(); }