MySQL.
time.time() for _ in range(num_threads): t = Writer(num_rows) threads.append(t) t.start() for t in threads: t.join() end = time.time() elapsed = end - start total_rows = num_threads * num_rows rows_per_second = total_rows/elapsed logger.info("Elapsed %.2f seconds" % (end-start)) logger.info("Rows