Performance drop on partial cells selection between 1.10.16 and 1.10.17

Performance drop on partial cells selection between 1.10.16 and 1.10.17

TalaganTalagan Posts: 12Questions: 3Answers: 0

Hi all!

Today after upgrading DataTables on a project, I've realized that I had a huge performance drop on the following selector (all rows, but partial column selection) :

  datatable.cells(null,[0,1,2,3,4,5,6,7,8])

On a DataTable with 3000 entries and 10 columns, it would take only 8 ms to select the cells with 1.10.16, but 800 ms with 1.10.17 .

In the meantime, a full selection with

   datatable.cells() 

would perform equally (10-15ms) with both versions.

Feels like a regression to me (IMHO).

Regards!

Ben

Replies

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin

    Hi Ben,

    It is. It was caused by a bug fix, which requires a lot more overhead. There is some discussion about it here. Its something I've not had a chance to look into yet, but plan to soon (before 1.10.20).

    Allan

  • TalaganTalagan Posts: 12Questions: 3Answers: 0

    Hi Allan,

    Thanks a lot for your answer. I had made a search on the forums to look for something about this issue, without success. Sorry for the noise and the duplicate!

    Hope you'll find a way to perfectly deal with all types of selection with best performance (a really important matter imho!).

    Best,

    Ben

This discussion has been closed.