mcbeav
mcbeav

Reputation: 12275

Help With Developer Menu In Web Browsers

I mostly use safari for web browsing, and testing for web development, but I have noticed that on a few pages "Paint" is constantly being fired under the rendering timeline in the timeline pane under the debug menu. I was wondering if anyone could explain what that possibly could be or mean. I have tried searching the internet, but can not find any information on it. It looks like this:

Upvotes: 0

Views: 144

Answers (4)

TRIVER
TRIVER

Reputation: 11

I think if the loaded page contains different elements (like images, flash,..); The browser requests each element separately. 'Paint' is constantly fired as soon as the requested element is received by the browser.

Upvotes: 0

Dennis Kreminsky
Dennis Kreminsky

Reputation: 2089

This behavior may be an indication of time-based execution of javascript, as done with setTimeout() or setInterval(). Most browsers will do repaint that's hard to predict even on small changes to the dom tree. If you have a URL for the page in question, we could sort out your browser issues from problems on the page itself.

Upvotes: 2

mcbeav
mcbeav

Reputation: 12275

It is due, to some plugins I am using. specifically jScrollPane, could be so high, due to other plugins.

Upvotes: 1

Kyle
Kyle

Reputation: 2872

It might be due to HTML5 with canvas elements constantly being repainted.

Upvotes: 0

Related Questions