Sigma Php Ajax framework, Ajax Components, GUI Builder
February 11, 2012, 06:46:12 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: CPU Usage under IE & Chrome  (Read 523 times)
amadesa
Newbie
*
Posts: 2


View Profile
« on: January 12, 2010, 02:14:12 AM »

Hi ,
while evaluating SigmaGrid i've ran into a problem : there is a significant difference between IE/Chrome performace and FF , here is the report with YUI profiling for IE for all method with calls > 10:
Quote
grid.getUniqueField calls: 837 avg:0.01911589008363201
grid.getRecordByRow calls: 58 avg:0.2758620689655171
grid.eX0 calls: 837 avg:0.20788530465949817
grid.isInsertRow calls: 58 avg:0.2758620689655171
grid.isNextGroup calls: 837 avg:0.01911589008363201
grid.getEventTargets calls: 56 avg:0.2857142857142856
grid.Do9 calls: 56 avg:1.125
grid.customRowAttribute calls: 837 avg:0

same for FF :
Quote
grid.customRowAttribute calls: 837 avg:0.008363201911589017
grid.Do9 calls: 243 avg:0.020576131687242805
grid.getEventTargets calls: 243 avg:0.012345679012345673
grid.isNextGroup calls: 837 avg:0.0071684587813619985
grid.isInsertRow calls: 233 avg:0
grid.eX0 calls: 837 avg:0.052568697729988054
grid.getRecordByRow calls: 233 avg:0.00429184549356223
grid.getUniqueField calls: 837 avg:0.014336917562724013

Do9 seems to just about kill IE , what can be done about this as this problem is a showstopper for us ?
thanks in advance .
i'm loading all the data at once no paging is done trough json
This are the gridOptions :

Quote
var doNothingOnClick  = function(value, record , cell, row, colNO, rowNO,columnObj,grid){return false;};

var gridOption = {
            id : "report_grid",
            container : 'innerReportTableDiv',
            dataset : ds ,
            width : '100%',
            columns : cols,
            toolbarPosition : null,
            pageSize : rowsLen,
            lightOverRow:false,
            onClickCell:doNothingOnClick,
            onDblClickCell:doNothingOnClick
        };

There is nothing special about the cols it's the same like the frozencolumns example on your site and the ds is allso simple json , the grid contains +-5 columns and between 600-900 rows , only one grid per page .
Logged
amadesa
Newbie
*
Posts: 2


View Profile
« Reply #1 on: January 12, 2010, 10:32:11 AM »

This is reproducible in frozen_column example if u just set pagesize to something like 500 and make the TEST_DATA size to 500
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!