CSHTML5 dataGrid huge performance issues
Posted: Thu Oct 06, 2016 1:25 am
Dear JS-Support,
We have made some performance test with your CSHTML5 dataGrid and found huge performance issues/bottleneck related of CSHTML5 dataGrid.
(Server data sent by WCF basic http bindig to CSHTML5 clients, normal XML serialization).
Test enviroment / conditions:
-only 18 columns (some DataGridTextColumn, some DataGridTemplateColumn with custom simple DataTemplate -nothing special !)
-only 4 rows of data sent by Server, (serialized xml size: appx. 16 000 bytes only),
-Browser: Chrome v53.0.2785.143 m (latest)
-good ping and internet conditions between Server and Client.
Test results:
(all values are average of multiple measurements)
(stopWatch.Start() - Stop ())
1.) Server time needed to produce and send xml data to Client: 80 milliseconds.
2.) Total Client round up time from initiate and got data WITHOUT filling ItemsSource of CSHTML5 datagrid: 200 milliseconds
(note: ok, as expected)
3.) Total Client round up time from initiate and got data WITH filling ItemsSource of CSHTML5 datagrid:
First time: appx. 4000 milliseconds (huge performance issue!!)
Second, 3rd, etc. time: apprx. 2000 milliseconds (huge performance issue!!)
So, our questions:
Q1: Is it and expected performance of CSHTML5 datagrid or a kind of bug ?
Q2: Can you recommend any other open source datagrid with similar functionality as present CSHTML5 datagrid ?
(e.g. no row virtualization needed as we handle it at server side, no row reordering needed, the only requirement to put some text- and checkboxes and stackPanels, and get reference to certain cell)
Thanks for your kind reply,
Best Regards,
Péter
We have made some performance test with your CSHTML5 dataGrid and found huge performance issues/bottleneck related of CSHTML5 dataGrid.
(Server data sent by WCF basic http bindig to CSHTML5 clients, normal XML serialization).
Test enviroment / conditions:
-only 18 columns (some DataGridTextColumn, some DataGridTemplateColumn with custom simple DataTemplate -nothing special !)
-only 4 rows of data sent by Server, (serialized xml size: appx. 16 000 bytes only),
-Browser: Chrome v53.0.2785.143 m (latest)
-good ping and internet conditions between Server and Client.
Test results:
(all values are average of multiple measurements)
(stopWatch.Start() - Stop ())
1.) Server time needed to produce and send xml data to Client: 80 milliseconds.
2.) Total Client round up time from initiate and got data WITHOUT filling ItemsSource of CSHTML5 datagrid: 200 milliseconds
(note: ok, as expected)
3.) Total Client round up time from initiate and got data WITH filling ItemsSource of CSHTML5 datagrid:
First time: appx. 4000 milliseconds (huge performance issue!!)
Second, 3rd, etc. time: apprx. 2000 milliseconds (huge performance issue!!)
So, our questions:
Q1: Is it and expected performance of CSHTML5 datagrid or a kind of bug ?
Q2: Can you recommend any other open source datagrid with similar functionality as present CSHTML5 datagrid ?
(e.g. no row virtualization needed as we handle it at server side, no row reordering needed, the only requirement to put some text- and checkboxes and stackPanels, and get reference to certain cell)
Thanks for your kind reply,
Best Regards,
Péter