mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-01 09:43:55 +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()
|
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…
Reference in a new issue