Chrome render speed issue

Chrome render speed issue

nicholas_randalnicholas_randal Posts: 2Questions: 0Answers: 0
edited May 2013 in DataTables 1.9
v.1.9.4 We are experiencing extreme slowdowns and sometimes chrome crashing even with a small table. 1000 rows x 5 columns. Even a table with 50 rows is slow. The oddity is that on the very first page the rendering of our table is fast (< 1 second) but whenever we navigate away and come back it is slow from then on, even if we do a page reload. I have been profiling this in chrome's timeline and noticed a difference in how the table is being rendered.

No data for the table is changing.

When it's fast:
_fnCreateTr is called fewer times and the timeline shows multiple calls as nearly instantaneous.

When it's slow:
_fnCreateTr is called more times than the fast scenario and the timeline shows a stagger because of the slowness.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I'm afraid I don't know off the top of my head why this is occurring. Can you link me to a test case showing the issue so I can debug it please?

    Allan
  • nicholas_randalnicholas_randal Posts: 2Questions: 0Answers: 0
    Our app is in a closed network, I have been trying to create a sample that replicates the problem but I have been unsuccessful. I am seeing "Forced synchronous layout is a possible performance bottleneck" in Chrome's timeline and that is exactly what it looks like its doing when its slow, the timeline looks very synchronous. I just can't figure out why that would be happening on a subsequent page load only and not the first time.
This discussion has been closed.