An open API service indexing awesome lists of open source software.

https://github.com/masonm/puppeteer_cpu_throttle

Example of CPU throttling with Puppeteer
https://github.com/masonm/puppeteer_cpu_throttle

Last synced: 4 months ago
JSON representation

Example of CPU throttling with Puppeteer

Awesome Lists containing this project

README

          

# Overview

This is a simple example of using Puppeteer with CPU throttling. The `longtask.js` script loads
https://nytimes.com in a headless Chromium instance and throttles based on the `THROTTLE`
environment variable, then dumps out all long tasks.

Example usage: `THROTTLE=4 node longtask.js`