paulirish / devtools-timeline-model

Unsupported
Other
172 stars 35 forks source link

Difference in scripting time in devtools and Chrome #29

Open soulgalore opened 6 years ago

soulgalore commented 6 years ago

Hi Paul, I've been trying out the devtools timeline (great work, it so nice to not parse the log) and it seems like scripting time is always low.

If I drag and drop the tracelog into Chrome 64 I get this:

screen shot 2018-01-25 at 5 24 30 pm

And from devtools-timeline-model (model.bottomUpGroupBy('Category').children):

{ rendering: 1851.997999727726,
        scripting: 303.46600019931793,
        loading: 120.90799987316132,
        painting: 51.13799995183945 }

Here's the trace I used: https://gist.github.com/soulgalore/1946f6d3ed8da35c904e14c08985e172

Seen the same thing on other pages too. Could the reason be that it depends on an old chrome-devtools-frontend?

Best Peter

usama6naseer commented 5 years ago

Hi. Can you share the code for getting the timings info from model.bottomUpGroupBy('Category').children?