Multiprocessing Testbed Overview
In this lesson, you’re going to look at a little testbed program that you’re going to build and use to measure execution time with the
time.time() function, so that you can compare the single-threaded and multithreaded implementations of the same algorithm.
In the next lesson, you’ll see why you’d want to do all this. Because you wrote your code in a functional programming style, you can parallelize it fairly easily. There’s a parallel
map construct that you can use. That way, you can run your processing steps in parellel.
Comments & Discussion
Become a Member to join the conversation.