Zach’s ugly mug (his face) Zach Leat­herman

Use speedlify’s AvatarSpeedlify to Continuously Measure Site Performance

#1126k10625 June 29, 2020

When launching a brand new web site, it’s fairly common to run testing tools to ensure that the site is fast and follows best practices. One popular tool to accomplish these goals is Google’s Lighthouse. It works great and is pretty comprehensive.

Here are some of the ways I’ve used Lighthouse to help test my sites:

Instantaneous measurement is a good first step. But how do we ensure that the site maintains good performance and best practices when deploys are happening every day? How do we keep the web site fast? The second step is continuous measurement. This is where Speedlify comes in. It’s an eleven_ty’s AvatarEleventy-generated web site published as an open source repository to help automate continuous performance measurements.

Source Code

  • Speedlify on GitHub

  • DIY: Run it manually, locally on your computer and check in the data to your repo.

  • Automated: If you want to automate it, Speedlify can run entirely self-contained on Netlify. Be aware that there’s a maximum of 15 minutes per build (if you do 3 runs each, I’d guess this will let you test a maximum of around 20 pages). Netlify’s free tier gives you 300 build minutes per month.