Performance drop with 1.10 ?
Performance drop with 1.10 ?
Hello everyone,
First of all congrats on the amazing job on DataTables, it's really amazing!
I just upgraded to 1.10, and with the exact same page & code, I encounter a significant performance drop on actions such as sorting & filtering.
On a table of around 1000 rows, while those actions happened instantly before, they now take more than a second, which is kind of a critical difference.
Two questions :
- Did anyone else notice the same thing ?
- Can it be due to the fact that I haven't adapted my code to the new version yet (I don't use the API stuff for now), and it will be better when I do ?
Thanks !!
Answers
Alright so after some digging, I just found out it is due to this : http://www.datatables.net/examples/api/counter_column.html.
For some reason, using this slows much more table drawing with 1.10 than it did with 1.9.4.
It's a problem because it's a useful feature ; though I'm guessing there must be a new, improved way to do this with the new API. If someone knows how please share, if not I'll try to find out in the documentation :)