Click here to Skip to main content
15,892,746 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: MQOTD Pin
Corporal Agarn5-May-14 1:08
professionalCorporal Agarn5-May-14 1:08 
GeneralRe: MQOTD Pin
Mendor815-May-14 2:02
professionalMendor815-May-14 2:02 
GeneralRe: MQOTD Pin
V.5-May-14 2:27
professionalV.5-May-14 2:27 
Generalperformance or accuracy? Pin
ravikhoda4-May-14 20:48
professionalravikhoda4-May-14 20:48 
GeneralRe: performance or accuracy? Pin
GuyThiebaut4-May-14 21:09
professionalGuyThiebaut4-May-14 21:09 
GeneralRe: performance or accuracy? Pin
Kornfeld Eliyahu Peter4-May-14 21:18
professionalKornfeld Eliyahu Peter4-May-14 21:18 
GeneralRe: performance or accuracy? Pin
Marcus_24-May-14 21:27
Marcus_24-May-14 21:27 
AnswerRe: performance or accuracy? Pin
Daniel Lieberwirth (BrainInBlack)4-May-14 21:59
professionalDaniel Lieberwirth (BrainInBlack)4-May-14 21:59 
Basically you can answer this question by your self, by asking youself a bunch of questions:

Is the process a critical part of the application?
Depending on how critical the process is, you can do several things to optimize performance. For example, if the process isn't that important to the basic operation, then you can try to push the process in the background, i.e. give it a lower priority.

On the other hand, if it is a critical operation, you have to find other means to optimize the process. And that can be very hard, especially if the code has to keep it's accuracy.In that case you have to decide if the work, required to optimize the code, is worth your client's money. Because that is what it comes down to.


Are there opportunities to do optimizations/micro-optimizations on several parts of the code?
This will probably cause a heated discussion, but micro-optimizations do work, if there are plenty of opportunities. I.e. benefit > time. The basic rule here is ~+5% performance, or more, should be worth the time. In reality those figures will come down to 2-3% performance plus, but depending on how much time your process takes, the total benefit can be huge.


Can a technology change improve performance?
This is a big one, a very big one. Before you even consider to switch to a different technology, you have to do "the math". Is it even possible to migrate the "old" storage, to the "new" one? How much time, and in the end money, does this cost? Is the benefit high enough? And so on, and so forth.

This is a step i usually don't recommend, but it can pay out in the long run.


Is that what the client wants?
In the end, the client has the last word. If he is satisfied with the performance of the application and doesn't want any optimizations, then the situation is very clear. Even if other people, colleagues, think otherwise.


Greetings Daniel
GeneralRe: performance or accuracy? Pin
Jörgen Andersson4-May-14 22:04
professionalJörgen Andersson4-May-14 22:04 
GeneralRe: performance or accuracy? Pin
SortaCore5-May-14 22:59
SortaCore5-May-14 22:59 
GeneralRe: performance or accuracy? Pin
V.4-May-14 22:30
professionalV.4-May-14 22:30 
GeneralRe: performance or accuracy? Pin
JimmyRopes4-May-14 23:02
professionalJimmyRopes4-May-14 23:02 
GeneralRe: performance or accuracy? Pin
Daniel Lieberwirth (BrainInBlack)5-May-14 0:11
professionalDaniel Lieberwirth (BrainInBlack)5-May-14 0:11 
GeneralRe: performance or accuracy? Pin
Jörgen Andersson5-May-14 0:49
professionalJörgen Andersson5-May-14 0:49 
GeneralRe: performance or accuracy? Pin
Daniel Lieberwirth (BrainInBlack)5-May-14 0:53
professionalDaniel Lieberwirth (BrainInBlack)5-May-14 0:53 
GeneralRe: performance or accuracy? Pin
Jörgen Andersson5-May-14 1:24
professionalJörgen Andersson5-May-14 1:24 
GeneralRe: performance or accuracy? Pin
JimmyRopes5-May-14 2:18
professionalJimmyRopes5-May-14 2:18 
GeneralRe: performance or accuracy? Pin
Daniel Lieberwirth (BrainInBlack)5-May-14 2:25
professionalDaniel Lieberwirth (BrainInBlack)5-May-14 2:25 
GeneralRe: performance or accuracy? Pin
JimmyRopes5-May-14 2:57
professionalJimmyRopes5-May-14 2:57 
GeneralRe: performance or accuracy? Pin
jeffreystacks6-May-14 2:59
jeffreystacks6-May-14 2:59 
GeneralRe: performance or accuracy? Pin
JimmyRopes6-May-14 5:08
professionalJimmyRopes6-May-14 5:08 
GeneralRe: performance or accuracy? Pin
Stefan_Lang7-May-14 4:39
Stefan_Lang7-May-14 4:39 
GeneralRe: performance or accuracy? Pin
JimmyRopes7-May-14 5:24
professionalJimmyRopes7-May-14 5:24 
GeneralRe: performance or accuracy? Pin
Stefan_Lang7-May-14 20:04
Stefan_Lang7-May-14 20:04 
GeneralRe: performance or accuracy? Pin
JimmyRopes7-May-14 23:19
professionalJimmyRopes7-May-14 23:19 

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.