4 Replies Latest reply on Sep 3, 2009 6:45 AM by Peter Irmstadt

    How to speed-up ExtendedDataTable

    Peter Irmstadt Newbie

      Hi!

      I am working on a webshop application that is currently in a kind of beta phase. The application is created using JBoss Seam. The AS is JBoss 5.1.

      There are currently about 200 items inside the shop that should be displayed in a single extendedDataTable. If any action is performed (like sorting or filtering) but as well just when the page is initially rendered the loading phase is about 5 seconds using Firefox 3 and even slower using the MS Internet Explorer.

      Is there any way to speed up the initial render and loading phase on one hand and the AJAX speed when e.g. filtered or sorted on the other?

      The shop is mainly used on older computers using IE 6 and Windows XP and the loading time is untenable for them.

      I can reproduce the long loading time even on my local computer running the AS. If I render the items on a regular HTML table it doesn't need that long.

      Thank you in advance!

        • 1. Re: How to speed-up ExtendedDataTable
          Ilya Shaikovsky Master

          could you please check if the things will looks better with 3.3.2 CR1 ? We working continously on such performance improvements.

          • 2. Re: How to speed-up ExtendedDataTable
            Ryan Yoder Newbie

            Set enableContextMenu="false" on the table for a huge perf gain.
            Also the Neko parser can make it faster.
            The datatable emits tons of markup and thats why its so slow.
            Consider only displaying 50 rows at a time and using a pager as this will also speed things up.
            Make sure you don't use heavy components in the cells or you will pay the price with performance.

            • 3. Re: How to speed-up ExtendedDataTable
              Peter Irmstadt Newbie

              Thank you two for your answers!

              "ryanyoder" wrote:
              Set enableContextMenu="false" on the table for a huge perf gain.
              Also the Neko parser can make it faster.
              The datatable emits tons of markup and thats why its so slow.
              Consider only displaying 50 rows at a time and using a pager as this will also speed things up.
              Make sure you don't use heavy components in the cells or you will pay the price with performance.



              Thank you for the information regarding the context menu. I'm gonna try to reduce the row count.

              I found the Neko project on sf but am not sure how that can help me. Could you please explain that to me?

              "ilya_shaikovsky" wrote:
              could you please check if the things will looks better with 3.3.2 CR1 ? We working continously on such performance improvements.


              I got some errors while trying to use this version. I will play around with it and give some feedback when it works ;)



              • 4. Re: How to speed-up ExtendedDataTable
                Peter Irmstadt Newbie

                 

                "ilya_shaikovsky" wrote:
                could you please check if the things will looks better with 3.3.2 CR1 ? We working continously on such performance improvements.


                I just got this to work but unfortunately 3.3.2 CR1 didn't change anything regarding performance :(