Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

There is no universally faster set of Headless Chrome flags. The reliable way to improve performance is to pin Chrome and the execution environment, measure your real workload, then change one argument at a time while checking output correctness and failure rates. Start with current --headless; test chrome-headless-shell only when its lighter footprint is worth reduced fidelity or browser-feature coverage.

What “Headless Chrome” means now

Headless Chrome runs a browser without displaying a visible user interface. In current Chrome, --headless uses the full Chrome browser in headless mode. Chrome 132 removed the old headless implementation from the Chrome binary; the separate chrome-headless-shell remains available for use cases where its trade-offs fit. See Chrome Headless mode.

That distinction matters when tuning. A lighter process is not automatically the right one: tests that depend on full-browser fidelity or broad feature coverage should begin with full Chrome Headless. Screenshotting or scraping jobs with less demanding fidelity requirements can benchmark the shell as an alternative. The shell is described as lightweight and in some cases more performant, but Chrome does not publish a universal speedup for a particular job.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to make Headless Chrome faster without guessing

Decide what “faster” means for your job before changing flags. A screenshot service, a multi-page scraper, and an end-to-end test have different bottlenecks and different acceptable trade-offs.

#1 Best Overall
Amazon Basics Wired QWERTY Keyboard, Works with Windows, Plug and Play, Easy to Use with Media Control, Full-Sized, Black
  • KEYBOARD: The keyboard works for Windows with hot keys that enable easy access to Media, My Computer, Mute, Volume up/down, and Calculator
  • EASY SETUP: Experience simple installation with the USB wired connection
  • VERSATILE COMPATIBILITY: This keyboard is designed to work with multiple Windows versions, including Vista, 7, 8, 10 offering broad compatibility across devices.
  • SLEEK DESIGN: The elegant black color of the wired keyboard complements your tech and decor, adding a stylish and cohesive look to any setup without sacrificing function.
  • FULL-SIZED CONVENIENCE: The standard QWERTY layout of this keyboard set offers a familiar typing experience, ideal for both professional tasks and personal use.
  1. Pin Chrome. Use a fixed Chrome for Testing build and keep the version constant across comparison runs. Chrome presents Chrome for Testing as a way to control the browser version for more deterministic automation; see ChromeDriver version selection.
  2. Freeze the environment. Keep the operating system or container image, CPU allocation, memory limits, fonts, cache policy, network conditions, and page set unchanged. Record the Chrome version and the exact command with every result.
  3. Define the outcome and baseline. Measure the dimensions that matter to the job: startup time, elapsed time per page, throughput, memory use, failure rate, and output correctness, as applicable. Run the same workload repeatedly before tuning so ordinary variation does not decide the result.
  4. Change one argument at a time. Compare repeated runs with and without that switch. Keep it only if it improves the chosen metric without unacceptable changes to correctness, stability, or security.
  5. Test a different headless implementation only if appropriate. Compare full Chrome Headless against chrome-headless-shell when the loss of fidelity or features is acceptable, using the same pages and environment.

Official Chrome documentation explains flag behavior and mode trade-offs, but does not establish universal benchmark results for these options. Treat performance gains as something to measure on your own workload, not as a promised property of a flag.

Choose the headless mode for the job

Need Starting point What to evaluate
High-fidelity end-to-end testing or broad browser feature coverage Full Chrome Headless with --headless Authenticity and feature parity
Resource-constrained screenshotting or scraping where full-browser fidelity is not required chrome-headless-shell Resource footprint and execution time against fidelity and feature needs
Repeatable automation in CI Version-pinned Chrome for Testing in headless mode Keep version, OS or container, dependencies, workload, and measurement conditions fixed

For compatibility, current Chrome uses --headless for the new implementation. In Chrome 132 and later, --headless=new also selects it, while --headless=old errors in the Chrome binary. Older integrations may still use --headless=new; prefer the current documented form when updating commands. The legacy implementation is separate as chrome-headless-shell. Details are in the Chrome Headless documentation.

Rank #2
Sale
Logitech MK270 Full Size Wireless Keyboard and Mouse Combo - Black
  • Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
  • Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
  • Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
  • Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
  • Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites

Which command-line flags affect performance?

First distinguish output and timing controls from genuine performance optimizations. Chrome’s command-line reference documents capture flags, but their purpose is to choose an output or control when capture happens—not to make every page render faster.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Flag What it changes Performance and correctness implication
--dump-dom Prints the rendered page DOM Use when DOM output is the task; it is not a general acceleration switch.
--screenshot Captures a screenshot Use for image capture. Capture settings and page behavior affect the work performed.
--print-to-pdf Prints the page to PDF Use for PDF output; it does not speed up unrelated browser work.
--timeout=<milliseconds> Sets a maximum wait for DOM dump, screenshot, or PDF capture, even if loading continues A shorter cap can finish a task sooner if an early capture is acceptable, but risks incomplete output. It is not a blanket speed improvement.
--virtual-time-budget=<milliseconds> Lets time-dependent page code run as fast as possible while the page behaves as though the specified time elapsed Useful for deterministic capture of timer-driven pages; it is not a substitute for wall-clock performance measurement.

Use only the output switch your task requires, then tune timing deliberately. A timeout that makes a screenshot arrive earlier may simply have cut off content, and virtual time does not tell you how long a real visitor would wait.

Rank #3
Sale
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
  • All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
  • Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
  • Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
  • Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
  • Plastic parts in K120 include 51% certified post-consumer recycled plastic*

Should you use --disable-gpu?

Not as a default optimization. Chrome’s Headless Shell FAQ describes --disable-gpu as a temporary workaround and says it is needed only on Windows for the referenced issue; other platforms no longer require it. Check the current Chrome release and your actual workload before adding it. A flag that works around a platform-specific problem can be needless or counterproductive elsewhere. See the Headless Shell documentation.

GPU and WebGPU setup is platform-dependent, and adding switches alone does not guarantee hardware acceleration. Chrome’s Linux WebGPU example uses --no-sandbox, --headless=new, --use-angle=vulkan, --enable-features=Vulkan, --disable-vulkan-surface, and --enable-unsafe-webgpu; the documented example still reports hardware acceleration unavailable. This is a specialized WebGPU setup, not a general performance preset. See WebGPU troubleshooting tips.

Rank #4
Redragon K521 Upgrade Rainbow LED Gaming Keyboard, 104 Keys Wired Mechanical Feeling Keyboard with Multimedia Keys, One-Touch Backlit, Anti-Ghosting, Compatible with PC, Mac, PS4/5, Xbox
  • 【Dreamy Rainbow Gaming Keyboard】K521 Gaming Keyboard Adopts a Different LED Backlight Design, Upgraded on the Traditional LED Backlight Effect, Making the Light More Penetrating, Giving You a More Dazzling Visual Effect, Making Your Gaming Process More Enjoyable
  • 【One Touch Opens & Visual Feast】The K521 Red Dragon Keyboard has a One-Touch on/off Lighting Button for Added Convenience. It also has a Three-Position Adjustable Breathing Mode and a Four-Position Adjustable Brightness Lighting Mode
  • 【Mechanical Feeling & Fast Tapping】The PC Keyboard Keys are Designed for Mechanical Feeling, Giving You a Better Feel During Use and the Ability to Trigger Keys Quickly, Allowing You to Win All Your Games
  • 【19 Keys Anti-Ghosting Keyboard】Anti-Ghosting Ensures Every Button Can Be Triggered. This Allows You to Trigger Key Combinations In The Game Accurately, And Each Skill Can Be Accurately Released to Increase Your Winning Rate. Redragon K521 Will Be Your Perfect Partner
  • 【12 Multimedia Combination Keys】The K521 Wired Gaming Keyboard is Equipped with 12 Multimedia Keys That Can Greatly Enhance Your Gaming/Office Efficiency and Make It More Convenient to Use

Keep the sandbox; do not use --no-sandbox as a speed tweak

Do not add --no-sandbox casually to a performance command. Chrome’s Headless Shell documentation says it is not needed when the container is properly set up with a user. Preserve the browser sandbox where possible; address container and user configuration rather than disabling a security boundary merely to try to improve speed. The specialized Linux WebGPU example above is not a reason to copy that flag into an ordinary capture or automation command.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

A repeatable baseline command

For example, capture a screenshot of one representative page with a pinned Chrome binary. Replace the executable path and target URL for your environment; run the exact same command for baseline and each comparison. This example deliberately leaves out speculative speed flags.

Best Value
Sale
Logitech K270 Full Size Wireless Keyboard for Windows - Black
  • All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
  • Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
  • Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
  • Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
  • Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later
/path/to/pinned/chrome --headless --screenshot --timeout=10000 https://example.com

The timeout here is a maximum wait, not a guarantee that the page is complete after ten seconds. Check the resulting image for missing content, and use the same timeout for every run being compared. If the job is a DOM dump or PDF instead, use the corresponding output flag and compare that actual output.

Troubleshooting slow or inconsistent runs

  • Capture finishes quickly, but content is missing: the timeout may be cutting off navigation or rendering. Increase it, or wait for a suitable page condition in the automation layer; validate the output rather than equating early completion with success.
  • Results vary between runs: check for Chrome version drift, changing containers or dependencies, different CPU allocation, fonts, network conditions, cache state, or page content. Pin the build and stabilize the workload before comparing flags.
  • --headless=old fails: Chrome 132 removed the old implementation from the Chrome binary. Use current --headless for full Chrome Headless, or use the separate chrome-headless-shell when its trade-offs suit the job.
  • A copied --disable-gpu switch does not help: it is not a universal speed flag. Remove it unless a current platform-specific issue or measured result justifies it.
  • WebGPU remains software-rendered or unavailable: confirm the platform’s GPU configuration and actual browser GPU status. The documented Linux example does not guarantee hardware acceleration merely because its switches are present.
  • Chrome only launches with --no-sandbox in a container: review how the container is configured and whether Chrome runs with a suitable user. The shell guidance says a correctly set up container does not need this flag; do not trade away sandboxing for an assumed speed gain.

Or skip the browser setup

If your goal is a website screenshot rather than tuning your own Chrome process, ScreenshotNeo is a screenshot API and MCP server for developers. A single request returns an image or PDF; its screenshot-specific cleanup accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture, with each step configurable. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and responses identify the page verdict and billing status. AI agents can use its MCP server tools, including take_screenshot, get_page_info, and capture_pdf.

cURL example (see the ScreenshotNeo API documentation):

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://example.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://example.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Create a free ScreenshotNeo account to try it.

Frequently Asked Questions

How do I make Headless Chrome faster?

Pin Chrome and the environment, measure a representative workload repeatedly, then change one switch at a time and keep only changes that improve the chosen metric without compromising output or stability.

What is the difference between Chrome Headless and headless shell?

Current Chrome Headless runs the full Chrome browser without a visible UI. The separate chrome-headless-shell can be lighter and in some cases more performant, but trades off fidelity and browser features.

Quick Recap

Bestseller No. 1
SaleBestseller No. 3
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
Plastic parts in K120 include 51% certified post-consumer recycled plastic*; Product carbon footprint: 4.02 kg CO2e
$12.34
SaleBestseller No. 5
Logitech K270 Full Size Wireless Keyboard for Windows - Black
Logitech K270 Full Size Wireless Keyboard for Windows - Black
Plastic parts in K270 include 38% certified post-consumer recycled plastic; Eight hot keys: For instant access to the Internet, e-mail, music volume and more
$23.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.