Results 1 to 5 of 5

Thread: What is the best timer program for measuring executable program speed

  1. #1
    Member
    Join Date
    Feb 2018
    Location
    indonesia
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What is the best timer program for measuring executable program speed

    What is the smallest, lightest and best timer program for measuring executable running time accurately ? I need to compare different compression executables.. Thanks much in advance
    Last edited by abd; 15th February 2018 at 18:38.

  2. #2
    Member
    Join Date
    Mar 2016
    Location
    Croatia
    Posts
    193
    Thanks
    82
    Thanked 13 Times in 12 Posts

  3. #3
    Member
    Join Date
    Feb 2015
    Location
    Australia
    Posts
    75
    Thanks
    13
    Thanked 67 Times in 25 Posts
    There are 32 and 64 bit versions of Igor Pavlov's timer program in: https://sourceforge.net/projects/sev...00.7z/download

  4. Thanks:

    Gotty (10th March 2018)

  5. #4
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,572
    Thanks
    783
    Thanked 687 Times in 372 Posts

  6. Thanks:

    Simorq (17th February 2018)

  7. #5
    Member
    Join Date
    Apr 2012
    Location
    Stuttgart
    Posts
    448
    Thanks
    1
    Thanked 101 Times in 61 Posts
    Quote Originally Posted by abd View Post
    What is the smallest, lightest and best timer program for measuring executable running time accurately ? I need to compare different compression executables.. Thanks much in advance
    You will find that most "off the shelve" tool you find today are I/O bound, so you do not get a very meaningful result unless you care about the speed of your harddisk. If you write your own compression tools, I suggest to time yourself for memory to memory operation. A good practice is to let the code run on the same data a couple of times to get everything in cache, and then run again multiple times and measure the total execution time over all cycles. Then take the average. For timing, multiple sources for taking the time stamp are available. I would usually recommend the CPU performance counters if you get access to them. If not, there are a couple of operating system functions available such as gettimeofday(), which is quite "o.k.".

Similar Threads

  1. A C++ Skeleton Program For Data Compression
    By greatalazar in forum The Off-Topic Lounge
    Replies: 1
    Last Post: 4th January 2018, 10:54
  2. Interesting untested compression Program
    By Gonzalo in forum Data Compression
    Replies: 5
    Last Post: 26th November 2014, 08:15
  3. BCIF image compression program
    By m^2 in forum Data Compression
    Replies: 35
    Last Post: 26th April 2013, 16:02
  4. RTIME - New freeware program
    By LovePimple in forum The Off-Topic Lounge
    Replies: 3
    Last Post: 4th July 2008, 10:47
  5. XTIME - New freeware program
    By LovePimple in forum The Off-Topic Lounge
    Replies: 4
    Last Post: 4th July 2008, 03:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •