Esempio n. 1
0
def report_exec_time(function, time):
    return "Total time spent executing '{}' function: {}".format(function, best_duration(time))
Esempio n. 2
0
def report_line_exec(line, count, total):
    return "Line {} executed {} times, total time spent executing: {}".format(line, count, best_duration(total))
Esempio n. 3
0
def live_line(line, count, total):
    return "Line {} executed {} times, total time spent on line: {}, average time: {}".format(line, count, best_duration(total), best_duration(total / count))