DEV Community

Julien Verkest
Julien Verkest

Posted on

1

Automating Web Performance testing with Puppeteer

Alt Text

This Github repository has recipes for automating Web Performance measurement with Puppeteer.

  • Get a DevTools performance trace for a page load
  • Get a DevTools trace with screenshots
  • Get a DevTools trace and extract filmstrip screenshots
  • Get a DevTools trace for a user interaction
  • Get Runtime performance metrics
  • Generate a Lighthouse report
  • Extract Lighthouse performance metrics
  • Emulate a slow network
  • Emulate a slow network and CPU
  • Test your site renders with JavaScript disabled
  • Get Navigation Timing API metrics
  • Measure First Paint and First Contentful Paint
  • Measure Largest Contentful Paint w/PerformanceObserver
  • Measure Cumulative Layout Shift w/PerformanceObserver
  • Measure SPA metrics with Next.js
  • Get DevTools-specific metrics: Frames Per Second
  • Measure memory leaks
  • Override requests with Request Interception
  • Block third-party domains
  • Code Coverage for JavaScript and CSS
  • Save network requests to a HAR file

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post →

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay