fix bug 1040576 - use time.clock() for benchmarking