replace time.clock() with time.time(), misread language reference on time.clock(), got unexpected results on Linux.