Console Violations - Chrome DevTools - Dev Tips
A benefit of using this feature is: there's no need to run a Performance Profile, or to run an Audit, since violations are shown as the offending code executes (e.g. on page load).
To view Console Violations:
- Click the 'Default levels' dropdown in the Console Panel and select 'Verbose'
- Type in
violation
in the Console Panel filter box
Violations can provide valuable performance insight into your code, such as:
- JavaScript which forced a reflow
- JavaScript which used
document.write
- Slow executing
setTimeout
handlers - Inefficient event listeners
- And many other violations
Read full article from Console Violations - Chrome DevTools - Dev Tips
No comments:
Post a Comment