web analytics
Being S.M.A.R.T. to achieve the performance optimal code Options
codeling
Posted: Wednesday, October 12, 2016 1:12:50 PM

Rank:Advanced Member
Groups: Member
Joined: 12/11/2015
Posts: 836
Points: 3498

If you ask most developers what it means to have performance optimal code, they'll typically respond by saying "it runs really fast". But, the question that follows that statement should be whether or not the code is "fast enough". How do you, the developer, know how fast is fast enough? This is where a goal-setting acronym will perfect fit in: SMART.

  • S - specific
  • M - measurable
  • A - attainable
  • R - repeatable
  • T - tested to destruction

You know if your code is "fast enough" when it is SMART:

  1. Does your code meet a specific response time goal?
  2. Can you measure the response time and resource consumption easily and reliably?
  3. Is the response time goal really attainable (trying to get back 10 billion rows from database in 1 second just may not ever be physically possible)?
  4. Can you repeatedly meet the response time objective as data volumes, number of users, etc. increases?
  5. Have you tested your code to cover all reasonable scenarios under which it may execute?

To answer all these questions and to determine if your code is SMART requires a disciplined and well-designed approach. If you have successfully achieved SMART code, you can be reasonably assured that you'll have performance optimal code.  

Sponsor
Posted: Wednesday, October 12, 2016 1:12:50 PM
 
Users browsing this topic
Guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.


© 2017 Digcode.com. All rights reserved.