:: Forum >>

performance with multiple objects on page

First i like to thanks Alex for this amazing lib. I have performance problems with my application:
on one page i have app. 10grids (12columns,5rows), 6groups, 20labels, 1tabs meni and render time is more than 8sec. on p4 box.
In the second case i have app. 1200 items in CheckedList and page opening about 10secs.
I using test version 2.0rc1 and plan buying 2.0 when project will be finished, but this slow performance times confusing me. Can someone tell me is this performance times normal for aw or i make some mistakes in the code?

example grid from my code:
var indexVolumeTable1_columns = [...data];
var indexVolumeTable1_data = [...data];
var indexVolumeTable1 = new AW.UI.Grid;
indexVolumeTable1.setCellText(function(i, j){return indexVolumeTable1_data[j][i]});
indexVolumeTable1.setHeaderText(function(i){return indexVolumeTable1_columns[i]});
indexVolumeTable1.onRowDoubleClicked = function(text){
    var id = indexVolumeTable1.getCellValue(0,indexVolumeTable1.getSelectedRows());

example checked list from my code:
var portfolioComparsionList_data = [..data]
var portfolioComparsionList = new AW.UI.CheckedList;
Friday, March 3, 2006
I think it's cause you have RC1
Friday, March 3, 2006
I tested script with 2.0-firefox free trial too and times are similar.
Saturday, March 4, 2006
I would say 'normal' AW performance is 0.5-2 sec per 1000 cells (or list items or simple controls) on average PC. So in my view 8 sec per 10 grids is normal. You can gain 20-30% using more simple cell template (AW.Templates.Cell). Alternatively you can render empty grids on page load, then load data and refresh the grids one by one.

10 sec per 1200 items list is not normal. On an empty page I am getting 2.5 sec per 1200 items list, which is still too much, so probably there is something wrong with list CSS, I'll try to check this.
Alex (ActiveWidgets)
Monday, March 6, 2006
Yes, the page is not empty, there is more objects on it... Thank you for answer, i will try with loading empty grids. For end user is better to see the page and than wait a little for data, than if he must wait for all page some time.
Tuesday, March 7, 2006

This topic is archived.

Back to support forum

Forum search