Show More
@@ -1025,7 +1025,7 b' python-profiler package from non-free.""")' | |||||
1025 | worst = max(all_runs) / number |
|
1025 | worst = max(all_runs) / number | |
1026 | if worst_tuning: |
|
1026 | if worst_tuning: | |
1027 | worst = max(worst, worst_tuning) |
|
1027 | worst = max(worst, worst_tuning) | |
1028 | if worst > 4 * best: |
|
1028 | if worst > 4 * best and best: | |
1029 | warn("Worst time is %0.2f times that of the best. Timings may " |
|
1029 | warn("Worst time is %0.2f times that of the best. Timings may " | |
1030 | "be biased." % (worst / best)) |
|
1030 | "be biased." % (worst / best)) | |
1031 | print(u"%d loops, best of %d: %s per loop" % (number, repeat, |
|
1031 | print(u"%d loops, best of %d: %s per loop" % (number, repeat, |
General Comments 0
You need to be logged in to leave comments.
Login now