trying to improve timing accuracy to figure out why python identity is 3x faster than the C one...
Original commit message from CVS: trying to improve timing accuracy to figure out why python identity is 3x faster than the C one...
This commit is contained in:
parent
c2cb0810d9
commit
5dc00dc590
@ -90,7 +90,8 @@ def check(f, n, b):
|
|||||||
|
|
||||||
start = time.time()
|
start = time.time()
|
||||||
ret = filter(pipe)
|
ret = filter(pipe)
|
||||||
print '%s b:%d i:%d t:%f' % (f, b, n, time.time() - start)
|
end = time.time()
|
||||||
|
print '%s b:%d i:%d t:%f' % (f, b, n, end - start)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
@ -90,7 +90,8 @@ def check(f, n, b):
|
|||||||
|
|
||||||
start = time.time()
|
start = time.time()
|
||||||
ret = filter(pipe)
|
ret = filter(pipe)
|
||||||
print '%s b:%d i:%d t:%f' % (f, b, n, time.time() - start)
|
end = time.time()
|
||||||
|
print '%s b:%d i:%d t:%f' % (f, b, n, end - start)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user