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

grid loading animation performance impact

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: Freshly, 8.6.0
    • Fix Version/s: 8.6.0
    • Component/s: Browser Issue, CSS
    • Security Level: Jimmy
    • Labels:

      Description

      <zk>
      	<zscript><![CDATA[
      		ListModelList model = new ListModelList(Collections.nCopies(1000, "dummy"));
      	]]></zscript>
      	<grid model="${model}" height="700px" style="background:#ddd">
      		<custom-attributes org.zkoss.zul.grid.rod="true"/>
      		<template name="model">
      			<row>
      				<cell>Cell</cell>
      				<cell>Cell</cell>
      				<cell>Cell</cell>
      			</row>
      		</template>
      	</grid>
      </zk>
      

      When ROD is enabled, the data loading indicator animation ZK-3138 causes constant CPU load and should only be displayed if necessary
      (even if off screen animations may cause CPU load especially in IE)

      The effect is worse when using iceblue theme, since the gif animation has a higher frequency.

      Having multiple grids on a page accumulates the effect as well.

      When disabling ROD the CPU usages is 0%. as expected

        Attachments

        1. ie.png
          ie.png
          109 kB
        2. ie-keep-paint.png
          ie-keep-paint.png
          109 kB
        3. screenshot-1.png
          screenshot-1.png
          12 kB

          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 - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified