import util @util.measure_performance def compute_task(): for _ in range(5): util.compute_task() @util.measure_performance def io_task(): for url in util.urls: util.fetch_url(url) def main(): compute_task() io_task() if __name__ == "__main__": main()