Fixing Performance Regressions
Rules, tools, or a combination of rules and tools can be used to fix performance problems
Tools
Most modern web browsers have awesome tools that help developers understand how it works under the hood. It provides information about the time spent on various activilites like painting, calculating layouts or styles, etc.
Rules
When investigating performance problems with browser tools, we can often observe interesting patterns emerge. These patterns can be convereted to rules or "best-practices" that web developers follow when writing code for their pages. Many experts have formulated rules, some such rules are as follow
Tools + Rules
Remembering to follow all the rules when developing web pages is hard. Automated tools come to the rescue here, these are based on well established rules and can help identify problems during the development cycle. Some great tools that are based on well defined rules include the following.