Thread: How to measure efficiency of programs

  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    1

    How to measure efficiency of programs

    To write good program how to decide efficiency.
    How to work with memory can someone give advice?

  2. #2
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by nekorzu View Post
    To write good program how to decide efficiency.
    How to work with memory can someone give advice?
    Err..please be a bit more clear when asking something.
    How To Ask Questions The Smart Way

    Generally the only rule about using memory is that what you allocate, you must deallocate....(and using standard containers avoid most of that)
    Some principles are RAII are widely used....but it seems a little 'wooly' to me !

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    344
    You'll have to first figure out what you mean by efficiency - time efficiency, space efficiency, energy efficiency, development cost efficiency, or any other number of competing measures.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Measure algorithm speed
    By ingenting in forum C++ Programming
    Replies: 4
    Last Post: 01-22-2010, 01:50 PM
  2. measure run time?
    By Tool in forum C Programming
    Replies: 14
    Last Post: 12-19-2009, 07:56 AM
  3. Measure time
    By anirban in forum C Programming
    Replies: 5
    Last Post: 06-12-2008, 03:53 AM
  4. Measure text according to font
    By Eber Kain in forum Windows Programming
    Replies: 3
    Last Post: 11-04-2005, 10:13 PM
  5. So how does your computer measure up?
    By napkin111 in forum A Brief History of Cprogramming.com
    Replies: 27
    Last Post: 12-30-2002, 12:14 AM