Click here to Skip to main content
15,915,324 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
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 
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 
However, no one has mentioned the the core reason that profilers exist:
We write code in high-level languages which get converted to machine language (CPU Operation Codes).
A profiler can tell you that your code which is only 1 line (of high-level language) actually takes 5 CPU operations to complete.
That part isn't actually obvious, because we write code at one layer and most people who haven't written assembly don't really understand this.
Mostly you get lucky that the high-level languages and built in compilers optimize even very badly written high-level language into a smaller number of CPU operations.
They do so much work these days, your code may not even be represented the way you think it is by the time it gets to the CPU.
So, unless you are saying you can turn your high-level language into CPU operations in your head, you can still write code you think will perform well which actually somewhat inefficient when turned into OP Codes tha the CPU actually runs.
That's where a profiler can come in handy. You can see what your code really does to the poor little processor.
One of the best and easiest to use profilers is in ICSHarpCode's SharpDev Studio. Try out the IDE (Integrated Dev Environment) and I think you'll be amazed.SharpDev Studio - Open Source & Free
[^]

Hopefully I've provided some food for thought.
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 
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 

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.