Web Performance Budget¶
Techniques to ensure certain performance metrics for a website.
Source
65 resources imported from pajaydev/awesome-web-performance-budget, dedicated to the public domain (CC0 / Unlicense). Thanks to its maintainers and contributors. Part of the KEEBOX Library · Category: Front-End Development.
Learn¶
Articles¶
- Performance budgets 101 - What a budget is and how to start setting one.
- Your first performance budget - Define your first performance budget in a few simple steps.
- Incorporate performance budgets into your build process - Enforce budgets with webpack, bundlesize and Lighthouse.
- Start Performance Budgeting - Addy Osmani's guide to choosing metrics and setting budgets.
- JavaScript Start-up Performance - Why JavaScript parse and compile cost matters, by Addy Osmani.
- Can You Afford It?: Real-world Web Performance Budgets - Alex Russell on deriving budgets from real devices and networks.
- How to Make a Performance Budget - Dan Mall's step-by-step approach to building a budget (archived).
- Setting a Web Performance Budget - InVision's Inside Design guide to setting a budget (archived).
- Web Performance Budget: How to Set Up, Calculate, and Apply - End-to-end guide from choosing metrics to applying the budget.
- Performance as Design - Brad Frost on treating performance as an essential design feature.
- Front-end Performance for Web Designers and Front-end Developers - Harry Roberts' primer on front-end performance fundamentals.
- How Angular CLI Budgets Saved My Day - Implementing performance budgets in Angular projects.
- Impact of Page Weight on Load Time - Paul Calvano's HTTP Archive analysis of how page weight affects load time.
Videos¶
- Concept of Performance Budget - Performance budgets explained by Tim Kadlec.
- Implementing Performance Budgets - #AskChrome Live session on using budgets to prevent regressions.
- Design Decisions Through the Lens of a Performance Budget - Making smarter design decisions from the start of a project so the site performs well.
- Revisiting Performance Budgets - Tammy Everts at performance.now() 2022 on what makes budgets work in practice.
Books¶
- Designing for Performance - Lara Hogan's book on weighing aesthetics and speed, free to read online.
- Web Performance Warrior - Andy Still on building performance into your development process.
Case Studies¶
- WPO Stats - Case studies and experiments showing the impact of web performance on user experience and business metrics.
- Zillow's Performance Budget - How Zillow uses performance budgeting.
- Netflix: Shipping Less JavaScript - A Netflix web performance case study.
- Pinterest PWA - A Pinterest Progressive Web App performance case study.
- Tinder PWA - A Tinder Progressive Web App performance case study.
- Twitter Lite - Building a high-performance React PWA at scale.
- Treebo PWA - A React and Preact PWA performance case study.
- The Telegraph: Creating a Web Performance Culture - Improving third-party performance at The Telegraph.
- Casper.com: Self-hosting Optimizely - How Casper shaved 1.7 seconds off load time.
- Smashing Magazine - Improving Smashing Magazine's web performance.
- BBC: Cutting the Mustard - How BBC News served a lean core experience to every browser.
Blogs¶
- Web Performance Calendar - Yearly advent calendar of web performance articles, a favorite of speed geeks.
Podcasts¶
- Chasing Waterfalls - Conversations with people making the web faster, hosted by Tim Kadlec (archived).
- ShopTalk Show - A podcast about building websites that often covers performance.
Tools¶
Build and CI Tools¶
- Lighthouse Budgets - Set a performance budget with Lighthouse and automate it with Lighthouse Bot.
- webpack Performance Hints - Built-in webpack warnings or errors when assets exceed size limits.
- Size Limit - Calculate the real cost to run your JS app or library and fail the pull request if it exceeds the limit.
- bundlesize - Keep your bundle size in check.
- size-plugin - Track compressed webpack asset sizes over time.
- pr-bot - Compare your base branch with a pull request and report size differences.
- rollup-plugin-size-snapshot - Track Rollup bundle sizes and treeshakability.
- grunt-perfbudget - Grunt task for performance budgeting with WebPageTest.
- pwmetrics - CLI for collecting Lighthouse metrics and asserting budgets (no longer maintained).
- Import Cost - VS Code extension that shows the size of imported packages inline.
Measurement Tools¶
- Performance Budget Calculator - Calculate a performance budget for your site.
- WebPageTest - Run lab tests from real browsers, devices and locations.
- SpeedCurve - Synthetic and real-user monitoring with budget alerts.
- sitespeed.io - Open source toolset to monitor and measure your site's performance.
- Yellow Lab Tools - Online test to help speed up heavy web pages.
- lightest - Visualize your web performance against competitors.
- Perf Track - Track framework performance at scale.
Monitoring¶
- Perfume.js - Tiny web performance monitoring library that reports field data to your analytics tool.
- Falco - Open source dashboard to monitor, analyze and optimize your websites.
Bundle Analyzers¶
- Bundlephobia - Find the cost of adding an npm package to your bundle.
- webpack-bundle-analyzer - Visualize webpack bundle contents as an interactive, zoomable treemap.
- Rollup Visualizer - Visualize and analyze your Rollup bundle to see which modules take up space.
- bundle-buddy - Find source code duplication across your JavaScript chunks.
- Parcel Bundle Visualiser - Parcel plugin to visualise bundle contents.
- Disc - Visualise the module tree of Browserify bundles and track down bloat.
- lasso-analyzer - Analyze and visualise bundles created by Lasso.
- analyze-css - CSS selector complexity and performance analyzer.
Website Analyzers¶
- Lighthouse Metrics - Run Lighthouse tests from multiple locations at once.
- dxsrc Site Check - Test your website in more than 90 tools (web-based and free).
- PageGuard - Free website health scanner that measures Core Web Vitals and suggests action plans. No signup required.
- Screpy - Track Core Web Vitals and page-speed changes across monitored pages.
- Betterloop - Free website checker that ranks fixes and shows mobile and desktop PageSpeed Insights results. No signup required.