The latest WIP includes a new behavior in Grasshopper that we are experimenting with to improve performance; multithreaded component solving.
The following four components have been modified to perform calculations using multiple threads.
- Dash Pattern
- Divide Curve
- Boundary Surface
We are decorating these components with small dots in the upper left corner to help you understand the component’s capabilities and current ‘mode’ of operation.
No dots : the component does not currently support multi-threaded calculations
One dot: the component does support multi-threaded calculations, but is currently calculating with a single thread (i.e. legacy mode)
Two dots: the component does support multi-threaded calculations and is using the feature
For components that do support multi-threaded calculations, the feature can be enabled/disabled using the right click context menu on the component itself.
What to test:
I am not interested in timing results at the moment. What I want to make certain is that the output from these components produce the exact same results and same data structure (for trees) when run in both single threaded and multi-threaded modes. Of course, I’m also interested to know if any other unusual behavior appears by using these components.
These initial four components are our prototypes to ensure things are running correctly before converting other components over to be able to using multiple threads.