ID 548777 - Nuke can freeze when performing actions in the Node Graph if the file contains many large Group nodes

Follow

Problem summary:

Nuke can freeze when performing actions in the Node Graph if the file contains many large Group nodes.
 
This issue also appears to affect Nuke scripts that use large LiveGroups, or scripts that generally contain a great number of nodes.
 
Customer reported version:
Nuke 11.3v1
 
Customer reported platform:
Windows 10
 
Steps to reproduce:
1) Launch Nuke and open the Script Editor window.
2) Run the following code to create a Group node that contains 500 NoOp nodes.
g = nuke.createNode('Group')g.begin()nuke.createNode('Input')for i in range(500):    nuke.createNode("NoOp")nuke.createNode('Output')g.end()
3) Copy and Paste the Group three times. There should now be four connected Group nodes.
4) Add another node, like Transform, to the main Node Graph. 
5) Copy any Paste this node continuously by holding down Ctrl+V
6) While holding Ctrl+V, use the Middle Mouse Button to pan the Node Graph, and observe the freezes that occur at regular intervals:

 
Expected behavior:
Nuke's performance and responsiveness when performing an action should not be influenced by unconnected parts of the Node Graph. 
 
Actual behavior:
Files that contain large Groups and many nodes can become unresponsive while interacting with unrelated sections of the Node Graph. This behavior worsens the more nodes there are inside the script/Group nodes. At a certain point, the freezes can become noticeable when creating a single node, or while just making a node connection in the Node Graph. The length of time that Nuke is frozen also seems to increase with the number of nodes. 
 
Disconnecting the Groups from each other can lessen the issue to a degree, but the problem will occur again if enough large Groups or additional nodes are present in the Nuke script.
 
Workaround:
No known workaround at this time.
 
Reproduced by Support in:
Nuke 14.0v5 - Windows 10, CentOS 7
Nuke 14.0v1 - Windows 10
Nuke 13.0v1 - Windows 10
Nuke 12.0v1 - Windows 10
Nuke 11.0v1 - Windows 10
Nuke 10.0v1 - Windows 10, CentOS 7
 
Earliest version tested:
Nuke 10.0v1 - This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why