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
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 19:38.
There are 32 and 64 bit versions of Igor Pavlov's timer program in: https://sourceforge.net/projects/sev...00.7z/download
Gotty (10th March 2018)
Simorq (17th February 2018)
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.".