Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--enable-gpu-benchmarking

What does --enable-gpu-benchmarking do?

Enables the GPU benchmarking extension

Usage

CLILaunch Chrome with --enable-gpu-benchmarking using CLI

chrome --enable-gpu-benchmarking

PuppeteerLaunch Chrome with --enable-gpu-benchmarking using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enable-gpu-benchmarking']
});

PlaywrightLaunch Chrome with --enable-gpu-benchmarking using Playwright

const browser = await chromium.launch({
  args: ['--enable-gpu-benchmarking']
});

SeleniumLaunch Chrome with --enable-gpu-benchmarking using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-gpu-benchmarking')

driver = webdriver.Chrome(options=options)