I have a CanoScan lide 25 scanner . How can i measure the time to scan a document (trying different dpi) . Any command line tools ? Either Windows or Linux ...
On Linux systems, use the
This also works in the Cygwin unix environment for Windows if you can locate a commandline tool for grabbing a scan.
This sure works for your scans, whether in Windows or Linux:
If you want a software solution:
TimeLeft is a versatile desktop utility - it can be used as a countdown clock, reminder, clock, alarm clock, tray clock, stopwatch, timer, sticker, auction watch, work days/hours countdown clock and time synchronization utility.
TimeLeft is freeware (Windows only).
... from the command line, you can use this:
STOPWATCH can be used to calculate the elapsed time, (in seconds), in a batch file. It does this by redirecting the current time out to a file when the "start" command is given, and then reading that time back in when a "stop" command is given. For example:
Note that the output from the stop command can be piped or redirected to a program or file if required, and multiple "stop" commands can be executed to get intermediate timestamps. If you want to save the output of the "stopwatch stop" command to a variable, DOS/Windows doesn't make things easy for you. Here's an example that includes an ugly workaround to get the elapsed time into a variable called "elapsed_time":