Performance Python Windows vs. Ubuntu -
Performance Python Windows vs. Ubuntu -
the next script takes 20 sec. on notebook windows 7 (32-bit) , intel i5 processor mean value each qr 2.3 sec.
but on new pc amd fx-8320 8x 3.5ghz , ubuntu 14.04 (64-bit) takes 27 seconds , 3.0 seconds each qr. utilize python 2.7.6.
i'm little bit confused that.
arr = np.random.rand(2000,2000) duration = [] in range(1,10): start = time.time() x = linalg.qr(arr) stop = time.time() duration += [stop-start] print "mean: %f" %np.mean(duration) print "total: %f" %np.sum(duration)
performance python-2.7
Comments
Post a Comment