[flexcoders] Re: DataGrid performance
The grid has 19 rows (all of which are visible) and 22 columns of which 5 are visible. Yes I have to horizontally scroll to see them. --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: How many of the 30 columns can be seen at any one time? I'm assuming you have to horizontally scroll to see them all. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Sunday, April 24, 2005 7:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGrid performance David, The rendering of this grid takes over 20 seconds on a 20 (rows) and 30 columns. Yes we have a custom cell renderer which has two images and 3 labels. We have disabled live scrolling, however as indicated it takes approx 20 seconds to render this grid. I suspect that it will take considerably longer on a client machine. Any guidance would be appreciated. Thanks. - viraf --- In flexcoders@yahoogroups.com, David George [EMAIL PROTECTED] wrote: Viraf - When you say each cell in the grid contains 4 other objects that are displayed, it sounds like you are using a custom cell renderer. Is that right? Unfortunately, large DataGrids with custom cell renderers are a known performance issue. I'm afraid I can't completely solve your problem on Flex v1.5. You might want to turn off live scrolling, so that the DataGrid doesn't attempt to constantly update while the user is dragging the slider thumb. We've already spoken publicly about the performance improvements coming in Flash Player 8, so it should be no surprise that performance is a major focus of Flex v2.0. Viraf - would you be willing to send us a copy of your app, so that we can use it as a performance test case for the next release? Or ... even better ... could you create a simple version of your app that just contains the poorly-performing DataGrid? If so, please send it directly to me at my work address - [EMAIL PROTECTED] Other folks on the list - this is an open invitation to send along your performance test cases too! We ordinarily discourage people from contacting employees off-list, but I'll make an exception in this case. Thanks, Dave On 4/13/05, viraf_bankwalla [EMAIL PROTECTED] wrote: I have a DataGrid with approximately 20 rows and 10 columns. Each cell in the grid contains 4 other objects that are displayed. When scrolling vertically the performance is poor at best. What can I do to improve the performance? I am reading the articly on Macromedia's site - however my effectStart and effectEnd eventHandlers are not being invoked. I set them on a HBox that contains the grids. Thanks. - viraf Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: DataGrid performance
David, The rendering of this grid takes over 20 seconds on a 20 (rows) and 30 columns. Yes we have a custom cell renderer which has two images and 3 labels. We have disabled live scrolling, however as indicated it takes approx 20 seconds to render this grid. I suspect that it will take considerably longer on a client machine. Any guidance would be appreciated. Thanks. - viraf --- In flexcoders@yahoogroups.com, David George [EMAIL PROTECTED] wrote: Viraf - When you say each cell in the grid contains 4 other objects that are displayed, it sounds like you are using a custom cell renderer. Is that right? Unfortunately, large DataGrids with custom cell renderers are a known performance issue. I'm afraid I can't completely solve your problem on Flex v1.5. You might want to turn off live scrolling, so that the DataGrid doesn't attempt to constantly update while the user is dragging the slider thumb. We've already spoken publicly about the performance improvements coming in Flash Player 8, so it should be no surprise that performance is a major focus of Flex v2.0. Viraf - would you be willing to send us a copy of your app, so that we can use it as a performance test case for the next release? Or ... even better ... could you create a simple version of your app that just contains the poorly-performing DataGrid? If so, please send it directly to me at my work address - [EMAIL PROTECTED] Other folks on the list - this is an open invitation to send along your performance test cases too! We ordinarily discourage people from contacting employees off-list, but I'll make an exception in this case. Thanks, Dave On 4/13/05, viraf_bankwalla [EMAIL PROTECTED] wrote: I have a DataGrid with approximately 20 rows and 10 columns. Each cell in the grid contains 4 other objects that are displayed. When scrolling vertically the performance is poor at best. What can I do to improve the performance? I am reading the articly on Macromedia's site - however my effectStart and effectEnd eventHandlers are not being invoked. I set them on a HBox that contains the grids. Thanks. - viraf Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Re: DataGrid performance
Hello, I used a custom cell renderer in my datagrid. Try to trace the behaviour of the setValue method. I saw that it is called a lot of time when the mouse moves above the datagrid. Also if you use the label functions try to trace the behaviour. I used the datagrid to display thousands of records, using label functions and custom cell renderers. I hoped the datagrid will be improved in Flex 2.0. Someone has an idea about the date of the next release ? On 4/24/05, viraf_bankwalla [EMAIL PROTECTED] wrote: David, The rendering of this grid takes over 20 seconds on a 20 (rows) and 30 columns. Yes we have a custom cell renderer which has two images and 3 labels. We have disabled live scrolling, however as indicated it takes approx 20 seconds to render this grid. I suspect that it will take considerably longer on a client machine. Any guidance would be appreciated. Thanks. - viraf --- In flexcoders@yahoogroups.com, David George [EMAIL PROTECTED] wrote: Viraf - When you say each cell in the grid contains 4 other objects that are displayed, it sounds like you are using a custom cell renderer. Is that right? Unfortunately, large DataGrids with custom cell renderers are a known performance issue. I'm afraid I can't completely solve your problem on Flex v1.5. You might want to turn off live scrolling, so that the DataGrid doesn't attempt to constantly update while the user is dragging the slider thumb. We've already spoken publicly about the performance improvements coming in Flash Player 8, so it should be no surprise that performance is a major focus of Flex v2.0. Viraf - would you be willing to send us a copy of your app, so that we can use it as a performance test case for the next release? Or ... even better ... could you create a simple version of your app that just contains the poorly-performing DataGrid? If so, please send it directly to me at my work address - [EMAIL PROTECTED] Other folks on the list - this is an open invitation to send along your performance test cases too! We ordinarily discourage people from contacting employees off-list, but I'll make an exception in this case. Thanks, Dave On 4/13/05, viraf_bankwalla [EMAIL PROTECTED] wrote: I have a DataGrid with approximately 20 rows and 10 columns. Each cell in the grid contains 4 other objects that are displayed. When scrolling vertically the performance is poor at best. What can I do to improve the performance? I am reading the articly on Macromedia's site - however my effectStart and effectEnd eventHandlers are not being invoked. I set them on a HBox that contains the grids. Thanks. - viraf Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: DataGrid performance
setValue is called whenever the mouse moves over the cell in case you have different logic for selected or highlighted. You may want to compare the value being passed into setValue with the value you already have if the rendering of the value is complex. You can return quickly if the value hasnt changed. The DataGrid will be improved in 2.0, we havent announced any timing. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Sunday, April 24, 2005 12:30 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: DataGrid performance Hello, I used a custom cell renderer in my datagrid. Try to trace the behaviour of the setValue method. I saw that it is called a lot of time when the mouse moves above the datagrid. Also if you use the label functions try to trace the behaviour. I used the datagrid to display thousands of records, using label functions and custom cell renderers. I hoped the datagrid will be improved in Flex 2.0. Someone has an idea about the date of the next release ? On 4/24/05, viraf_bankwalla [EMAIL PROTECTED] wrote: David, The rendering of this grid takes over 20 seconds on a 20 (rows) and 30 columns. Yes we have a custom cell renderer which has two images and 3 labels. We have disabled live scrolling, however as indicated it takes approx 20 seconds to render this grid. I suspect that it will take considerably longer on a client machine. Any guidance would be appreciated. Thanks. - viraf --- In flexcoders@yahoogroups.com, David George [EMAIL PROTECTED] wrote: Viraf - When you say each cell in the grid contains 4 other objects that are displayed, it sounds like you are using a custom cell renderer. Is that right? Unfortunately, large DataGrids with custom cell renderers are a known performance issue. I'm afraid I can't completely solve your problem on Flex v1.5. You might want to turn off live scrolling, so that the DataGrid doesn't attempt to constantly update while the user is dragging the slider thumb. We've already spoken publicly about the performance improvements coming in Flash Player 8, so it should be no surprise that performance is a major focus of Flex v2.0. Viraf - would you be willing to send us a copy of your app, so that we can use it as a performance test case for the next release? Or ... even better ... could you create a simple version of your app that just contains the poorly-performing DataGrid? If so, please send it directly to me at my work address - [EMAIL PROTECTED] Other folks on the list - this is an open invitation to send along your performance test cases too! We ordinarily discourage people from contacting employees off-list, but I'll make an exception in this case. Thanks, Dave On 4/13/05, viraf_bankwalla [EMAIL PROTECTED] wrote: I have a DataGrid with approximately 20 rows and 10 columns. Each cell in the grid contains 4 other objects that are displayed. When scrolling vertically the performance is poor at best. What can I do to improve the performance? I am reading the articly on Macromedia's site - however my effectStart and effectEnd eventHandlers are not being invoked. I set them on a HBox that contains the grids. Thanks. - viraf Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Re: DataGrid performance
Thanks - I'll find out what code I can share, or try to put together a sample application to illustrate the fact. Thanks. Could you please point me to the presentation on flex 2.0 and flash 8.0. Were release dates specifed ? I know that Flash Player 8 has been presented at some conferences (e.g.: http://www.moock.org/blog/archives/000146.html) As far as I know, that's it so far. Finally, how does one quantify large ? I consider my current datagrid as small ( 20 rows and 20 columns). For the purposes of scrolling performance, we're interested in the number of rows and columns that are visible on the screen at one time. Scrolling performance is fine with large datasets (many thousands of records), so long as only a few rows are visible at a time (and so long as each row contains only a few columns). Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/