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

 
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? PinPopular
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 
GeneralRe: performance or accuracy? PinPopular
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 
Increasing performance is never a lost exercise even if you shouldn't implement it right away. When the product matures and new functionality is added you can optimize (or often by then, it is needed).

Although the first thought should always be to optimize algorithms or indexes, other tricks do exist which make applications perform better.

eg. We used to have an application that showed a form with many comboboxes loaded with thousands and thousands of records from the database. They ALL had to be in there. To increase the performance of that winforms application we did the following:
* first used suspendlayout-resumelayout functions to avoid reloading of the comboboxes.
* replaced the comboboxes with a textbox and a button. the button opened a small dialog with the records (which were loaded only then). Since nothing had to be loaded on form load the user had the feeling the application behaved better.

others:
* When using grids you can also use paging. In listboxes there's a way to load only the visible part (+ a small extra part above and below). When scrolling the rest is loaded.
* You can use seperate threads
* you can perform calculations on the server and notify the application when done...
* ...

Point is, there are many different ways to improve performance. You don't need to implement it right away, but it's a good exercise to start thinking about options that might be acceptable for the client.

hope this helps.
V.

(MQOTD rules and previous solutions)

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 
GeneralRe: performance or accuracy? Pin
Stefan_Lang8-May-14 1:35
Stefan_Lang8-May-14 1:35 
GeneralRe: performance or accuracy? Pin
JimmyRopes8-May-14 2:07
professionalJimmyRopes8-May-14 2:07 
GeneralRe: performance or accuracy? Pin
Mycroft Holmes5-May-14 0:33
professionalMycroft Holmes5-May-14 0: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.