canjs / devtools

Chrome DevTools for CanJS.
https://chrome.google.com/webstore/detail/canjs-devtools/hhdfadlgplkpapjfehnjhcebebgmibcb
MIT License
5 stars 0 forks source link

Don't use resources if user is not looking at the page #58

Open phillipskevin opened 5 years ago

phillipskevin commented 5 years ago

CanJS devtools is polling for changes to ViewModel Data, Component Tree Data, and Queues Stack data every so often. Most of these aren't very resource intensive, but they are still unnecessary if the user is not looking at the page. We should try to reduce the CPU / memory used by devtools if the user is not actively debugging their app.