Hi, I thought the tool "scantime" could be useful for other developers so I committed it to the experimental CVS. I use it to compare the speed of scanners and to check optimizations in the backend.
>From the source code: scantime uses SANE to test how fast a scanner can transmit scanned data. It only measures the time it takes to get data by sane_read(), any delays in sane_open() or sane_start() are ignored. It uses the first scanner it finds and tries to scan for one minute in every combination of mode, depth and resolution it finds. It asserts that depth and resolution have a word list constraint and that mode is a string option with string list constraint. If resolution doesn't have a word list, it tries some values from it's own list. All other options are left untouched, so the default values as set by the backend are used. Bye, Henning
