PDA

View Full Version : Viewport performance problem



rwankar
6 Jan 2011, 1:46 AM
I am rendering a large div element into the "center" of the viewport using contentEL. It takes a very long time in Firefox. Using Ext 3.3.1

I've created a sample using portal from the examples directory. The "center" is replaced with a table of 1000 rows and 10 columns. This takes anywhere from 1-2 sec sec in IE8/Chrome8 but 6-6.5 sec in Firefox 3.6. Rendering the table without the viewport is very fast in Firefox (< 1 sec)

I've attached a zip containing 2 files, portal-table.html and portal-table.js. Unzip in the "portal" examples directory. Open portal-table.html in browser. Rendering time is displayed at the top. To see render speed without the viewport simply comment the line that includes portal-table.js.

Any way to speed this up?
Thanks in advance.

6 Jan 2011, 3:16 PM
To be honest, is 1000 rows *really* usable?!

rwankar
6 Jan 2011, 7:19 PM
We develop a commercial program. The output is a report and even though we provide pagination many users always select "ALL". Unfortunately that is the demand!