You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import pyperf
t = []
code='''
for i in range(10):
t.append(i)
'''
import pyperf
runner = pyperf.Runner()
runner.timeit(code,globals=globals())
print(t)
It occurs errors: ValueError: newline characters are not allowed in metadata values: 'for i in range(10):\n t.append(i)'
Someone knows how to record time for multiple statements?
The text was updated successfully, but these errors were encountered:
It occurs errors:
ValueError: newline characters are not allowed in metadata values: 'for i in range(10):\n t.append(i)'
Someone knows how to record time for multiple statements?
The text was updated successfully, but these errors were encountered: