Click here to Skip to main content
15,886,258 members
Home / Discussions / C#
   

C#

 
AnswerRe: thread problem Pin
Eddy Vluggen18-Aug-14 7:23
professionalEddy Vluggen18-Aug-14 7:23 
Questiontwo comboBoxs Pin
picasso217-Aug-14 18:30
picasso217-Aug-14 18:30 
AnswerRe: two comboBoxs Pin
Snehasish_Nandy17-Aug-14 19:17
professionalSnehasish_Nandy17-Aug-14 19:17 
GeneralRe: two comboBoxs Pin
picasso218-Aug-14 5:49
picasso218-Aug-14 5:49 
GeneralRe: two comboBoxs Pin
Bernhard Hiller18-Aug-14 21:08
Bernhard Hiller18-Aug-14 21:08 
QuestionC# Performance Issue Pin
SledgeHammer0117-Aug-14 14:50
SledgeHammer0117-Aug-14 14:50 
AnswerRe: C# Performance Issue Pin
Shao Voon Wong17-Aug-14 15:26
mvaShao Voon Wong17-Aug-14 15:26 
GeneralRe: C# Performance Issue Pin
SledgeHammer0117-Aug-14 16:05
SledgeHammer0117-Aug-14 16:05 
Yes, as I said, I haven't gotten to optimizing the algorithm itself yet Smile | :) .

Just calling EMPTY methods in my DLL is slower then calling the other guys FULL method. That's where I'm confused.

His FULL method is 150ms for 1,000,000x.

I'm just calling 4 pretty empty methods. Method1 does nothing but call Method2 (a generic method calling the non generic version). Method2 calls Method3 which just checks that the param is not null and then calls Method4. Method4 locks on a dictionary and calls TryGetValue() (Key = Type, Value = Info class). If it can't find the Info class in the dictionary, it news one up. Now it calls Method5. At this point, I haven't even done the work yet, just getting set up and I'm already at 111ms. The other guy is already done completely at 150ms. That's what I'm puzzled about. Haven't even gotten to any code that I can optimize yet Confused | :confused: .
GeneralRe: C# Performance Issue Pin
Shao Voon Wong17-Aug-14 16:23
mvaShao Voon Wong17-Aug-14 16:23 
SuggestionRe: C# Performance Issue Pin
Richard Deeming18-Aug-14 2:32
mveRichard Deeming18-Aug-14 2:32 
GeneralRe: C# Performance Issue Pin
jschell18-Aug-14 11:48
jschell18-Aug-14 11:48 
AnswerRe: C# Performance Issue Pin
Bernhard Hiller17-Aug-14 20:29
Bernhard Hiller17-Aug-14 20:29 
AnswerRe: C# Performance Issue Pin
Richard MacCutchan17-Aug-14 20:41
mveRichard MacCutchan17-Aug-14 20:41 
GeneralRe: C# Performance Issue Pin
Mycroft Holmes17-Aug-14 20:59
professionalMycroft Holmes17-Aug-14 20:59 
GeneralRe: C# Performance Issue Pin
Richard MacCutchan17-Aug-14 21:34
mveRichard MacCutchan17-Aug-14 21:34 
GeneralRe: C# Performance Issue Pin
SledgeHammer0118-Aug-14 4:46
SledgeHammer0118-Aug-14 4:46 
AnswerRe: C# Performance Issue Pin
Rob Philpott17-Aug-14 23:45
Rob Philpott17-Aug-14 23:45 
AnswerRe: C# Performance Issue Pin
Richard Deeming18-Aug-14 2:30
mveRichard Deeming18-Aug-14 2:30 
GeneralRe: C# Performance Issue Pin
SledgeHammer0118-Aug-14 4:51
SledgeHammer0118-Aug-14 4:51 
GeneralRe: C# Performance Issue Pin
Richard Deeming18-Aug-14 7:31
mveRichard Deeming18-Aug-14 7:31 
GeneralRe: C# Performance Issue Pin
SledgeHammer0118-Aug-14 8:31
SledgeHammer0118-Aug-14 8:31 
AnswerRe: C# Performance Issue Pin
Pete O'Hanlon18-Aug-14 3:09
mvePete O'Hanlon18-Aug-14 3:09 
GeneralRe: C# Performance Issue Pin
SledgeHammer0118-Aug-14 4:52
SledgeHammer0118-Aug-14 4:52 
GeneralRe: C# Performance Issue Pin
Pete O'Hanlon18-Aug-14 4:56
mvePete O'Hanlon18-Aug-14 4:56 
AnswerRe: C# Performance Issue Pin
jschell18-Aug-14 11:51
jschell18-Aug-14 11:51 

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.