Test ghpythonlib.parallel

Test ghpythonlib.parallel

CA_compare_226

Execution time (milliseconds) for a simple CA implementation in python within rhino grasshopper using ghpython parallel (red line) and without (blue line)

Execution time is recorded every time step for both with and without parallel. Both verified to give same results for each step on the left.

Number of on cells (yellow line) and  empty neighbouring cells (green line) are shown as reference.

In general, the multiprocessing version yields lower execution time as expected. Although occasionally it performs less well as the one without.

Leave a Reply

Your email address will not be published. Required fields are marked *