---
title: "detect-gpu"
description: "Classifies a visitor's GPU from a benchmark database so you can pick shader quality tiers before rendering anything."
canonical: "https://vibing.inc/library/detect-gpu-vg-1168"
category: "Games, Juice & Interactive"
subcategory: "PixiJS ecosystem"
license: "MIT"
author: "Poimandres (@pmndrs)"
source: "https://github.com/pmndrs/detect-gpu"
---

# detect-gpu
Classifies a visitor's GPU from a benchmark database so you can pick shader quality tiers before rendering anything.
## Facts
- Source: https://github.com/pmndrs/detect-gpu
- Category: Games, Juice & Interactive / PixiJS ecosystem
- Author: Poimandres (@pmndrs)
- Licence: MIT
- Tags: gpu, performance, webgl, feature-detection
## Why it's a gem
Lets you ship heavy effects safely by degrading before the first dropped frame
---
Listed in The Vibeary: https://vibing.inc/library/detect-gpu-vg-1168 · JSON: https://vibing.inc/api/public/library/gems/detect-gpu-vg-1168