Reputation: 23327
I have a webpage to optimize. When I enter it, the CPU usage increases drastically. I tried to use Chrome Dev Tools, but profiler 92% of the time is in the (program)
line. What could I do to find the culprit of this behavior?
Upvotes: 4
Views: 16008
Reputation: 14119
Please use Timeline panel. It will show you what the page does. It shows information about javascript calls, gc, layout, paint etc.
https://developers.google.com/chrome-developer-tools/docs/timeline
Upvotes: 6
Reputation: 37
I've had the same issues before. I don't have a lot of experience using Chrome Dev Tools but here are some useful links:
Upvotes: 6