Commit 5dc00dc5 authored by David I. Lehn's avatar David I. Lehn

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...
parent c2cb0810
......@@ -90,7 +90,8 @@ def check(f, n, b):
start = time.time()
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
def main():
......
......@@ -90,7 +90,8 @@ def check(f, n, b):
start = time.time()
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
def main():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment