use `time.clock` instead of `time.time` for performance measuring