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

Improve client rendering performance when opening nodes

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: 8.0.2
    • Fix Version/s: 8.5.2
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.5.2 S1

      Description

      steps to reproduce

      1. run the attached zul
      2. click "open All Without Notify" button
      3. click "open All With Notify"
      4. comparing the performance

      actual result

      • client-side rendering takes a long time. in openWithoutNotification.cpuprofile, open() gets longer and longer.
      • Using "notify change" takes less time than "open All Without Notify" case.

      debug info

      • please try to optimize it to avoid taking longer and longer time when the number of open node increases.
      • At client side, opening nodes one by one requires much time to calculate width. is it possible to reduce width calculating time?
      • please check attached screenshots

        Attachments

        1. largetree.zul
          1 kB
        2. openWithNotification.cpuprofile
          750 kB
        3. openWithoutNotification.cpuprofile
          1.46 MB
        4. CustNodeData.java
          0.3 kB
        5. LargeTreeViewModel.java
          3 kB
        6. calcWidth.png
          calcWidth.png
          28 kB
        7. openNode.png
          openNode.png
          93 kB

          Activity

            People

            • Assignee:
              CharlesQiu CharlesQiu
              Reporter:
              hawk hawk
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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