Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4803

tree update model performance

    XMLWordPrintable

    Details

      Description

      Steps to Reproduce

      run the attached example tree-model-replace-performance_zk4803.zul
      click the button to replace the tree model

      Current Result

      The initial rendering is as fast as expected:

      Updating the model with the same number of nodes takes significantly longer

      Increasing the number of items leads to browser warning about unresponsive scripts.

      Expected Result

      Similar times to initial and updated tree item rendering.

      Debug Information

      Workaround

      call tree.invalidate() after replacing the model

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rudyhuang rudyhuang
              Reporter:
              cor3000 cor3000
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Time Spent - 4 hours Remaining Estimate - 1 day, 4 hours
                  1d 4h
                  Logged:
                  Time Spent - 4 hours Remaining Estimate - 1 day, 4 hours
                  4h