Posted: Wed Jul 06, 2005 10:18 am Post subject: No. of Subflows Vs Performance
Disciple
Joined: 15 Jun 2005 Posts: 163 Location: Massachusetts
I have a subflow which needs to be connected at multiple points in my main flow. Currently I have connections originating from all these points to connect to single instance of Subflow added to main flow. The downside of this is my main flow looks like a maze of connections. (I have decided not to use the RouteToLabel option here for performance reasons)
My question is will there be a performance impact if I connect the same subflow at each individual point by adding a new instance of the subflow. I noticed the .CMF file size has increased when I added the same subflow again at a different point.
This definitely points to more memory needs for the Execution Group to run this flow with more instances of same subflow as compared to having only one instance of it in the main flow.
You could use RouteToLabel nodes instead of hard links or additional instances.
But I think the performance impact, no matter how you do it, will be useless to measure unless you need to squeeze every tiny cpu cycle out. And in that case, readability should be sacrificed for performance. _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum