Click here to Skip to main content
15,671,985 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.

 
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
subeditorPete O'Hanlon14-Sep-14 6:54 
AnswerRe: Does anybody really use a Profiler? Pin
macu14-Sep-14 21:49
macu14-Sep-14 21:49 
>>> Personally, I think anybody who has been programming a while should be able to look at a block of code for a few minutes and instantly identify why it's slow.

Are you serious!? Maybe for a single method or simple application, but for a complex application there's no way you can "just see it". Here's a simple real world example, recently I used a profiler to see where the bottleneck was in a web service which sits on top of 3 or 4 other layers (and I won't elaborate cause I'm keeping this simple). It turns out the bottleneck was in a piece of Microsoft code used within the ORM we use, so that was refactored to use a different method to do the same thing. No way you would have just seen that by looking, not least cause the code wasn't there to see.

I'd happily admit I also wouldn't be able to just see an issue in my own code some of the time. In the above example we're talking 1000s of lines spread over multiple assemblies, why would I bother trawling through all that when I can just use a profiler?

I was lucky enough to be able to test this for a single thread, good luck if you come across an issue that only occurs when you've got multiple threads involved.... Smile | :)

The profiler is your friend.

PS. does this mean you never use SHOWPLAN/EXPLAIN either?
AnswerRe: Does anybody really use a Profiler? Pin
dazfuller14-Sep-14 22:08
dazfuller14-Sep-14 22:08 
AnswerRe: Does anybody really use a Profiler? Pin
ScottM114-Sep-14 22:11
ScottM114-Sep-14 22:11 
AnswerRe: Does anybody really use a Profiler? Pin
Christophe Van Olmen15-Sep-14 2:00
professionalChristophe Van Olmen15-Sep-14 2:00 
GeneralRe: Does anybody really use a Profiler? Pin
PIEBALDconsult15-Sep-14 10:03
professionalPIEBALDconsult15-Sep-14 10:03 
AnswerRe: Does anybody really use a Profiler? Pin
nategoose15-Sep-14 4:20
nategoose15-Sep-14 4:20 
AnswerRe: Does anybody really use a Profiler? Pin
patbob15-Sep-14 5:22
patbob15-Sep-14 5:22 
GeneralRe: Does anybody really use a Profiler? Pin
nategoose7-Oct-14 6:36
nategoose7-Oct-14 6:36 
AnswerRe: Does anybody really use a Profiler? Pin
SkysTheLimit15-Sep-14 7:37
SkysTheLimit15-Sep-14 7:37 
GeneralRe: Does anybody really use a Profiler? Pin
SledgeHammer0115-Sep-14 8:22
SledgeHammer0115-Sep-14 8:22 
GeneralRe: Does anybody really use a Profiler? Pin
KP Lee15-Sep-14 17:13
KP Lee15-Sep-14 17:13 
GeneralRe: Does anybody really use a Profiler? Pin
SledgeHammer0115-Sep-14 18:33
SledgeHammer0115-Sep-14 18:33 
GeneralRe: Does anybody really use a Profiler? Pin
nategoose7-Oct-14 6:49
nategoose7-Oct-14 6:49 
AnswerRe: Does anybody really use a Profiler? Pin
KP Lee15-Sep-14 16:36
KP Lee15-Sep-14 16:36 
AnswerRe: Does anybody really use a Profiler? Pin
Chad3F17-Sep-14 12:10
Chad3F17-Sep-14 12:10 
RantPNG Problem Pin
Bassam Abdul-Baki13-Sep-14 9:46
professionalBassam Abdul-Baki13-Sep-14 9:46 
GeneralRe: PNG Problem Pin
Afzaal Ahmad Zeeshan13-Sep-14 10:03
professionalAfzaal Ahmad Zeeshan13-Sep-14 10:03 
GeneralRe: PNG Problem Pin
Bassam Abdul-Baki13-Sep-14 10:34
professionalBassam Abdul-Baki13-Sep-14 10:34 

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.