run the attached example tree-model-replace-performance_zk4803.zul
click the button to replace the tree model
The initial rendering is as fast as expected:
Increasing the number of items leads to browser warning about unresponsive scripts.
Similar times to initial and updated tree item rendering.
call tree.invalidate() after replacing the model