Thread: Tool for testing exactly the performance of program / algorithm

  1. #1
    Registered User
    Join Date
    Jun 2016
    Posts
    14

    Tool for testing exactly the performance of program / algorithm

    With today's modern computers, for novice programmers who write mostly small programs, it's not possible to tell which program / algorithm performs better. Is there a tool that measures CPU load and memory load and other performance metrics of a particular program in Windows (an .exe file, an application)? Since my small programs don't eat up much power relative to Windows' own processes or any of my computer's programs, I can't use Task Manager for this.

    Essentially, in the short term, this will be useful only for my algorithms as I typically write ones that are a bit unusual and may have different performance (time and memory) than the standard algorithm of that type. In the long term, a program like this would be immensely useful, one that specifies exactly how many bytes of RAM were used by the program, how many commands the CPU ran, how much time it took, etc.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. testing a bubble sort algorithm
    By rushhour in forum C++ Programming
    Replies: 4
    Last Post: 02-27-2009, 01:00 AM
  2. Bug of performance counter API or perfmon tool
    By George2 in forum Tech Board
    Replies: 2
    Last Post: 01-25-2008, 03:49 AM
  3. Program to characterize performance of C functions?
    By stevespai in forum C Programming
    Replies: 5
    Last Post: 08-15-2006, 03:05 PM
  4. Program Performance
    By Hypercase in forum C++ Programming
    Replies: 2
    Last Post: 09-28-2004, 05:33 PM
  5. Software performance and benchmark testing
    By cjschw in forum C++ Programming
    Replies: 1
    Last Post: 03-17-2004, 02:24 PM

Tags for this Thread