MySQL.
mimics num_thread concurrent connections to the database. Also, each connection would insert `num_rows` rows. :return: """ threads = [] start = 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() logger.info("Elapsed