Skip to main content

Automating PageSpeed Insights Scores

· 5 min read
Trevor McCormick
Data Product @ Disney+

Because why would I manually go to Page Speed Insights to get my website score?

Hover over the dots to see the date and click on the commit hash to dig into the report.

Loading metrics...

Here is a simple project that:

  • Uses a GitHub webhook to trigger performance analysis on every push to main
  • Calls PageSpeed Insights API to measure both mobile and desktop performance
  • Stores results in DynamoDB with full commit metadata
  • Sends email alerts via SNS when any score drops by 5+ points
  • Generates comprehensive markdown reports and commits them back to the repo
  • Visualizes trends and opportunities on this page

Here's how it works (click on the boxes to read more):

Architecture