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

listbox rod performance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.6.1
    • 8.6.0.1
    • Components
    • Security Level: Jimmy
    • None
    • ZK 8.6.1 S1

      Steps to Reproduce

      run the attachment rod-performance.zul
      scroll down to trigger rod

      compare different ZK versions
      http://zkfiddle.org/sample/3pd1e2a/1-rod-performance-8-6

      Current Result

      Degrading render times since 8.0.5
      8.6.0.1 ~2.6s
      8.5.2.1 ~2.1s
      8.5.0. ~1.2s
      8.0.5 ~1.1s

      Expected Result

      non degrading render time

      Debug Info

      Especially in this simple case columns/components in cells have FIXED widths.
      Some how combobox/bandbox components have a bad effect on performance

      try replacing a combobox in each cell ... (=> ~10s render time)
      replacing the combobox in the first column, reduces the render time a lot.

      In any case it is unexpected to see so many calls to fireSized -> and more surprising each of them seems to change some css resulting in forced reflows (all widths are fixed there's -> nothing to calculate)

      Root Cause

      Workaround

        1. performance-8.0.5.png
          performance-8.0.5.png
          160 kB
        2. performance-8.5.0.png
          performance-8.5.0.png
          163 kB
        3. performance-8.5.2.1.png
          performance-8.5.2.1.png
          144 kB
        4. profile-8.6.0.1.png
          profile-8.6.0.1.png
          181 kB
        5. rod-performance.zul
          0.8 kB

            DevChu DevChu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: