# mrdoob/stats.js

JavaScript Performance Monitor

Repository: https://github.com/mrdoob/stats.js
Canonical: https://ross.abutalabs.com/products/statsjs
Homepage: http://mrdoob.github.io/stats.js/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-10-11T03:59:02+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5991, "days_push": 691, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9148, forks 1189 (observed 2026-08-28T04:10:28.604293+00:00)

## What it is
A tiny JavaScript library that displays an on-page info box monitoring rendering performance, showing FPS, frame time in milliseconds, and allocated memory, with support for custom user-defined panels. It is commonly used alongside WebGL/Three.js applications and can also be injected into any page via a bookmarklet.

## Use cases
- monitor fps in a browser game or WebGL app
- measure frame render time in milliseconds
- track javascript memory usage during animation loops
- overlay a performance stats panel on any web page
- debug rendering performance in three.js projects

## When to choose
- you need a lightweight, zero-dependency FPS/frame-time overlay for canvas or WebGL rendering
- you want a quick bookmarklet to profile any web page's render loop
- you need custom performance panels with a minimal API

## When to avoid
- you need full application performance monitoring with network, CPU, and user timing metrics
- you want server-side or Node.js performance profiling
- you need historical performance data, charts, or remote reporting

## Facets
- artifact type: library
- maturity: maintenance
- function: monitoring, benchmarking, developer-tools
- domain: web-development, frontend, performance, graphics
- platform: browser
- tags: fps-counter, performance-monitor, debug-overlay, threejs-ecosystem, bookmarklet, javascript, nodejs

## Member repositories
- mrdoob/stats.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:28.604293+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:23:24.436537+00:00, confidence not recorded.
  - readme: https://github.com/mrdoob/stats.js (fetched 2026-08-28T04:10:28.604293+00:00, sha 1cfdd0b19c5e)
  - homepage: http://mrdoob.github.io/stats.js/ (fetched 2026-08-29T08:23:49.155569+00:00, sha ed836a6381c2)
  - registry_npm: https://registry.npmjs.org/stats.js (fetched 2026-08-29T08:23:49.164710+00:00, sha ee177967d35d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
