Click here to Skip to main content
15,920,438 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
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 
I also find this curious. "You didn't use a profile, did you" is a pretty common piece of bullshit that people sling. It's almost always perfectly obviously what the problem is, or that something will be a problem, without even running the code let along profiling it.
Basically what that comes down to is, if you do something stupid, it's going to suck. And preemptively not doing stupid sh*t is not "premature optimization".

Of course it's not always obvious. For example,
ASM
  xor ecx, ecx
_benchloop:
  lzcnt eax, edx
  add ecx, 1
  jnz _benchloop
Why does this measure the latency of lzcnt, instead of its throughput? It doesn't look like it should do that, so in the original code that contained the "problem lzcnt", that problem gave me quite the chase. Initially I didn't even notice something was wrong.
No actual profiler was involved though.
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 
AnswerRe: Does anybody really use a Profiler? Pin
macu14-Sep-14 21:49
macu14-Sep-14 21:49 
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
mvePIEBALDconsult15-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 

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.