mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
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
2 changed files with 4 additions and 2 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue