Poor performance on fnAddData
Poor performance on fnAddData
I have an application which receive data updates via push websocket/comet.
Most of the time, it is not of big rate of updates, but sometimes (mostly at initialization) it can receives 100-200 updates per second.
Since I am receiving these updates via javascript, I use fnAddData to add each rows to the table. I've noticed that, when data push is bursting, the performance is really poor: ~10sec freeze on my machine, with Chrome 14
I've made a quick & dirty test on jsfiddle to confirm this: http://jsfiddle.net/DJGoA/PqtFK/7/
I'd like to know if you have any solutions for this.
Is it possible to add multiple rows in one call to boost performance ?
Are there any alternatives ?
Most of the time, it is not of big rate of updates, but sometimes (mostly at initialization) it can receives 100-200 updates per second.
Since I am receiving these updates via javascript, I use fnAddData to add each rows to the table. I've noticed that, when data push is bursting, the performance is really poor: ~10sec freeze on my machine, with Chrome 14
I've made a quick & dirty test on jsfiddle to confirm this: http://jsfiddle.net/DJGoA/PqtFK/7/
I'd like to know if you have any solutions for this.
Is it possible to add multiple rows in one call to boost performance ?
Are there any alternatives ?
This discussion has been closed.