(factor)
| 168 | |
| 169 | |
| 170 | def run_with_time(factor): |
| 171 | import time |
| 172 | |
| 173 | now = time.time() |
| 174 | |
| 175 | def status(msg): |
| 176 | print("%d - %s" % (time.time() - now, msg)) |
| 177 | |
| 178 | runit_persist(status, factor) |
| 179 | |
| 180 | print("Total time: %d" % (time.time() - now)) |
| 181 | |
| 182 | runit_query_runs(status, factor) |
| 183 | |
| 184 | print("Total time: %d" % (time.time() - now)) |
| 185 | |
| 186 | |
| 187 | if __name__ == "__main__": |
no test coverage detected