The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> C Programming
|
Factors which effect our application performance
Discuss Factors which effect our application performance in the C Programming forum on Dev Shed. Factors which effect our application performance C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

November 10th, 2012, 06:15 AM
|
|
Registered User
|
|
Join Date: Nov 2012
Posts: 1
Time spent in forums: 26 m 21 sec
Reputation Power: 0
|
|
|
Factors which effect our application performance
Hi all friends
I want to know, what are the major factors which effect our application performance, like hardware, software, or programming language we choose, or the coding done by a programmer, or the component we use to program? I know i may be a silly question but I wan to know what the real fact is?
|

November 10th, 2012, 06:34 AM
|
|
Contributing User
|
|
Join Date: Oct 2012
Posts: 71
Time spent in forums: 1 Day 7 h 39 m 39 sec
Reputation Power: 1
|
|
Quote: | Originally Posted by rulda Hi all friends
I want to know, what are the major factors which effect our application performance, like hardware, software, or programming language we choose, or the coding done by a programmer, or the component we use to program? I know i may be a silly question but I wan to know what the real fact is? |
Well, for me its generally my atrocious/lazy coding practices and because of that I generally look for functionality in free professionally written libraries. You would be surprised at what is out there for free.
|

November 10th, 2012, 07:25 AM
|
|
|
Quote: | Originally Posted by rulda I want to know, what are the major factors which effect our application performance...? |
The biggie is choice of algorithm. All others are (mostly) irrelevant.
A badly implemented merge sort on a "slow language" running in "slow hardware" will be much more performant than a very well implemented bubble sort on a "fast language" on "fast hardware" (for large enough data).
Last edited by bdb : November 10th, 2012 at 07:50 AM.
|

November 11th, 2012, 11:25 PM
|
|
Registered User
|
|
Join Date: Nov 2012
Posts: 1
Time spent in forums: 2 m 15 sec
Reputation Power: 0
|
|
|
net grid
Avoid using INotifyPropertyChanged interface, unless it is required. If the object doesn’t change at run-time, it is better not to use this interface to save memory and CPU resources.
Add data to the end of collection (List<T>, BindingList<T>, ThreadSafeBindingList<T> etc). Otherwise, internal implementation of indexed collections will move and re-index all data starting from the newly added index.
Avoid adding data to a binding list with more than 10 000 items when the grid is sorted. Stop sorting to improve performance dapfor. com
|

November 13th, 2012, 04:52 AM
|
 |
I'm Baaaaaaack!
|
|
Join Date: Jul 2003
Location: Maryland
|
|
|
My sig has a writeup on performance programming if you are interested.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|