pmndrs/detect-gpu
Classifies GPUs based on their 3D rendering benchmark score allowing the developer to provide sensible default settings for graphically intensive applications. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2962
- days_rel: n/a
- days_push: 11
- n_releases_24m: 0
Adoption not part of the score
1210 stars · 70 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript library that classifies a user's GPU into performance tiers (0-3) based on 3D rendering benchmark scores, using WebGL renderer info and framerate data. It lets developers of graphically intensive web applications pick sensible default quality settings per device.
Use cases
- detect gpu tier in browser
- adjust 3d scene quality based on device gpu
- fallback for devices without webgl support
- progressive enhancement for webgl apps
- detect mobile gpu capabilities
- choose default resolution or effects based on hardware
When to choose
- You're building a WebGL/Three.js/Babylon.js/Pixi.js app and want to scale graphics quality to the user's hardware
- You need a lightweight browser-side GPU capability check with benchmark-backed tiers
- You want a graceful non-WebGL fallback path
When to avoid
- You need exact GPU model identification or detailed specs rather than a performance tier
- You're doing server-side or native (non-browser) GPU detection
- You need up-to-the-minute data for brand-new GPUs, since the benchmark source stopped updating in December 2025
Facets
library · maturity active
graphics developer-tools web-development frontend graphics browser gpu-detection webgl benchmarking progressive-enhancement threejs adaptive-quality hardware-detection javascript typescript nodejs
1 source
- readme: https://github.com/pmndrs/detect-gpu · fetched 2026-08-28 · 1b85aa87e0e1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pmndrs/detect-gpu | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="pmndrs/detect-gpu")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem