Click here to Skip to main content
15,908,175 members
Home / Discussions / C#
   

C#

 
QuestionDataContractSerializer objects conversion performace improvement Pin
impeham27-Feb-14 2:34
impeham27-Feb-14 2:34 
AnswerRe: DataContractSerializer objects conversion performace improvement Pin
BillWoodruff27-Feb-14 8:00
professionalBillWoodruff27-Feb-14 8:00 
I think it may be valuable for you if you give more detail on what type of object conversion you are performing here.

Measuring elapsed time using DateTime is well-known to be "limited" in accuracy. Starting with .NET 2.0, you can use the 'StopWatch in the System.Diagnostics library timer to get more accurate results: [^].

Executing the code several times before starting a timing operation is also believed to improve timing accuracy by eliminating any possible one-time costs of getting the code "jitted."

There are several articles here on CodeProject dealing with accurate timing: just search.
“The best hope is that one of these days the Ground will get disgusted enough just to walk away ~ leaving people with nothing more to stand ON than what they have so bloody well stood FOR up to now.” Kenneth Patchen, Poet

GeneralRe: DataContractSerializer objects conversion performace improvement Pin
impeham27-Feb-14 11:49
impeham27-Feb-14 11:49 
GeneralReason for my downvote Pin
Wayne Gaylard27-Feb-14 18:54
professionalWayne Gaylard27-Feb-14 18:54 
GeneralRe: Reason for my downvote Pin
impeham28-Feb-14 7:16
impeham28-Feb-14 7:16 
AnswerRe: DataContractSerializer objects conversion performace improvement Pin
Ravi Bhavnani28-Feb-14 8:14
professionalRavi Bhavnani28-Feb-14 8:14 
GeneralRe: DataContractSerializer objects conversion performace improvement Pin
impeham28-Feb-14 10:07
impeham28-Feb-14 10:07 
GeneralRe: DataContractSerializer objects conversion performace improvement Pin
Ravi Bhavnani28-Feb-14 10:13
professionalRavi Bhavnani28-Feb-14 10:13 
GeneralRe: DataContractSerializer objects conversion performace improvement Pin
impeham28-Feb-14 10:16
impeham28-Feb-14 10:16 
GeneralRe: DataContractSerializer objects conversion performace improvement Pin
impeham2-Mar-14 5:07
impeham2-Mar-14 5:07 
AnswerRe: DataContractSerializer objects conversion performace improvement Pin
Ravi Bhavnani2-Mar-14 5:15
professionalRavi Bhavnani2-Mar-14 5:15 
GeneralRe: DataContractSerializer objects conversion performace improvement Pin
impeham3-Mar-14 0:51
impeham3-Mar-14 0:51 
GeneralRe: DataContractSerializer objects conversion performace improvement Pin
Ravi Bhavnani3-Mar-14 2:10
professionalRavi Bhavnani3-Mar-14 2:10 
GeneralRe: DataContractSerializer objects conversion performace improvement Pin
impeham3-Mar-14 2:42
impeham3-Mar-14 2:42 
GeneralRe: DataContractSerializer objects conversion performace improvement Pin
Ravi Bhavnani3-Mar-14 2:46
professionalRavi Bhavnani3-Mar-14 2:46 
GeneralRe: DataContractSerializer objects conversion performace improvement Pin
impeham5-Mar-14 1:49
impeham5-Mar-14 1:49 
Questionhow to call web api passing multiple parameters in c# Pin
rincy sivan27-Feb-14 0:37
rincy sivan27-Feb-14 0:37 
QuestionRe: how to call web api passing multiple parameters in c# Pin
Richard MacCutchan27-Feb-14 1:31
mveRichard MacCutchan27-Feb-14 1:31 
AnswerRe: how to call web api passing multiple parameters in c# Pin
rincy sivan27-Feb-14 18:36
rincy sivan27-Feb-14 18:36 
GeneralRe: how to call web api passing multiple parameters in c# Pin
Richard MacCutchan27-Feb-14 22:03
mveRichard MacCutchan27-Feb-14 22:03 
QuestionCreate Rsa Signature Pin
upmnemam26-Feb-14 21:50
upmnemam26-Feb-14 21:50 
AnswerRe: Create Rsa Signature Pin
Hessam Jalali1-Mar-14 11:02
Hessam Jalali1-Mar-14 11:02 
QuestionSQL Server project Pin
Lifefor Rent26-Feb-14 19:36
Lifefor Rent26-Feb-14 19:36 
AnswerRe: SQL Server project Pin
OriginalGriff26-Feb-14 20:52
mveOriginalGriff26-Feb-14 20:52 
AnswerRe: SQL Server project Pin
ScottM127-Feb-14 20:53
ScottM127-Feb-14 20:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.