Monday, April 11, 2011

Spark DataGrid VS MX DataGrid

I was so excited about Spark DataGrid coming in Flex 4.5.
I was expecting to have a better performance and to be less memory consuming. I know that Spark DataGrid is in early stage of development etc, but I will still use MX DataGrid until I really see those improvements.
I did a test with data set of 100.000 objects.
It turns out that MX DataGrid has a much better performance (especially when sorting dataProvider, where Spark DataGrid completely freezes). All i did in this test is scrolling, editing and sorting the same amount of data in same intervals in both DataGrids.

Spark DataGrid:



MX DataGrid:



It seams that (good ?) old  MX DataGrid will be around for some more time...

3 comments:

  1. Could you publish your code and methodology (in a new post) so we can verify and fix this ?

    ReplyDelete
  2. I agree, I think he just ran a memory profiler

    ReplyDelete
  3. We're also looking at the advantages of both Datagrids. Have you got any source-code / methodology to that you can post?

    ReplyDelete