Click here to Skip to main content
15,915,019 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Does anybody really use a Profiler? Pin
CDP180213-Sep-14 21:35
CDP180213-Sep-14 21:35 
AnswerRe: Does anybody really use a Profiler? Pin
Slacker00713-Sep-14 13:41
professionalSlacker00713-Sep-14 13:41 
GeneralRe: Does anybody really use a Profiler? Pin
SledgeHammer0113-Sep-14 14:13
SledgeHammer0113-Sep-14 14:13 
GeneralRe: Does anybody really use a Profiler? Pin
Slacker00713-Sep-14 14:21
professionalSlacker00713-Sep-14 14:21 
GeneralRe: Does anybody really use a Profiler? Pin
SledgeHammer0113-Sep-14 14:40
SledgeHammer0113-Sep-14 14:40 
GeneralRe: Does anybody really use a Profiler? Pin
Slacker00713-Sep-14 14:46
professionalSlacker00713-Sep-14 14:46 
GeneralRe: Does anybody really use a Profiler? Pin
newton.saber13-Sep-14 14:51
newton.saber13-Sep-14 14:51 
GeneralRe: Does anybody really use a Profiler? Pin
SledgeHammer0113-Sep-14 15:11
SledgeHammer0113-Sep-14 15:11 
I did recently try out the Jet Brains profiler on that block of code that did the dictionary tuple lookup just for fun to see if profilers have improved since I last used them. It showed that my bottleneck was in GetHashCode(). That was identified as my #1 application hot-spot. The method that actually did the dictionary lookup was ranked almost dead last. That's a major profiler failure in my book. It didn't point me anywhere close to the right place. I messed around with the profiler for about half an hour trying various options to try to get it to show me the call tree that was at fault, but it didn't seem possible. Maybe it is and I just didn't set it up correctly. Like I said, I only spent about half an hour on it.

However, to be fair, I guess GetHashCode() *was* the ultimate method at fault, but none of the views in Jet Brains indicated that it was from the dictionary lookup and because I wasn't seeing call trees, if I didn't know what was going on, I probably would have never connected the two.

Probably the top 10 methods identified were internal .NET methods like GetHashCode() that really had nothing to do with figuring out the performance issue. Since it isn't really GetHashCode() that's the problem, but using a tuple in a dictionary is. The profiler also ranked TryGetValue as pretty low, so there was no indication that that method was calling GetHashCode() so much.
GeneralRe: Does anybody really use a Profiler? Pin
BillWoodruff13-Sep-14 18:24
professionalBillWoodruff13-Sep-14 18:24 
GeneralRe: Does anybody really use a Profiler? Pin
Member 1046259815-Sep-14 4:55
professionalMember 1046259815-Sep-14 4:55 
AnswerRe: Does anybody really use a Profiler? Pin
newton.saber13-Sep-14 14:07
newton.saber13-Sep-14 14:07 
GeneralRe: Does anybody really use a Profiler? Pin
SledgeHammer0113-Sep-14 14:27
SledgeHammer0113-Sep-14 14:27 
GeneralRe: Does anybody really use a Profiler? Pin
newton.saber13-Sep-14 14:46
newton.saber13-Sep-14 14:46 
AnswerRe: Does anybody really use a Profiler? Pin
Andy Brummer13-Sep-14 16:16
sitebuilderAndy Brummer13-Sep-14 16:16 
AnswerRe: Does anybody really use a Profiler? Pin
BillWoodruff13-Sep-14 18:18
professionalBillWoodruff13-Sep-14 18:18 
AnswerRe: Does anybody really use a Profiler? Pin
Kornfeld Eliyahu Peter13-Sep-14 20:06
professionalKornfeld Eliyahu Peter13-Sep-14 20:06 
GeneralRe: Does anybody really use a Profiler? Pin
SledgeHammer0113-Sep-14 20:24
SledgeHammer0113-Sep-14 20:24 
GeneralRe: Does anybody really use a Profiler? Pin
Kornfeld Eliyahu Peter13-Sep-14 20:35
professionalKornfeld Eliyahu Peter13-Sep-14 20:35 
AnswerRe: Does anybody really use a Profiler? Pin
Nagy Vilmos13-Sep-14 20:40
professionalNagy Vilmos13-Sep-14 20:40 
AnswerRe: Does anybody really use a Profiler? Pin
harold aptroot13-Sep-14 20:54
harold aptroot13-Sep-14 20:54 
AnswerRe: Does anybody really use a Profiler? Pin
Mark_Wallace13-Sep-14 21:01
Mark_Wallace13-Sep-14 21:01 
AnswerRe: Does anybody really use a Profiler? Pin
wout de zeeuw13-Sep-14 22:09
wout de zeeuw13-Sep-14 22:09 
GeneralRe: Does anybody really use a Profiler? Pin
Nelek14-Sep-14 0:52
protectorNelek14-Sep-14 0:52 
AnswerRe: Does anybody really use a Profiler? Pin
Gary R. Wheeler14-Sep-14 3:01
Gary R. Wheeler14-Sep-14 3:01 
AnswerRe: Does anybody really use a Profiler? Pin
Pete O'Hanlon14-Sep-14 6:54
mvePete O'Hanlon14-Sep-14 6:54 

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.