Show More
@@ -69,10 +69,11 b' class TimeitResult(object):' | |||
|
69 | 69 | |
|
70 | 70 | """ |
|
71 | 71 | |
|
72 | def __init__(self, loops, repeat, best, all_runs, compile_time, precision): | |
|
72 | def __init__(self, loops, repeat, best, worst, all_runs, compile_time, precision): | |
|
73 | 73 | self.loops = loops |
|
74 | 74 | self.repeat = repeat |
|
75 | 75 | self.best = best |
|
76 | self.worst = worst | |
|
76 | 77 | self.all_runs = all_runs |
|
77 | 78 | self.compile_time = compile_time |
|
78 | 79 | self._precision = precision |
@@ -1058,7 +1059,7 b' python-profiler package from non-free.""")' | |||
|
1058 | 1059 | if tc > tc_min: |
|
1059 | 1060 | print("Compiler time: %.2f s" % tc) |
|
1060 | 1061 | if return_result: |
|
1061 | return TimeitResult(number, repeat, best, all_runs, tc, precision) | |
|
1062 | return TimeitResult(number, repeat, best, worst, all_runs, tc, precision) | |
|
1062 | 1063 | |
|
1063 | 1064 | @skip_doctest |
|
1064 | 1065 | @needs_local_scope |
General Comments 0
You need to be logged in to leave comments.
Login now