# MiniProfiler/rack-mini-profiler

Profiler for your development and production Ruby rack apps.

Repository: https://github.com/MiniProfiler/rack-mini-profiler
Canonical: https://ross.abutalabs.com/products/rack-mini-profiler
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-21T06:05:15+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 28, longevity 100
- inputs: {"age_days": 4744, "days_push": 12, "days_rel": 449, "gap_med": 58, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3905, forks 423 (observed 2026-08-28T04:08:28.678465+00:00)

## What it is
Rack middleware that displays a speed badge on every HTML page with detailed performance profiling for Ruby web apps. It provides database query profiling, flamegraphs, and memory profiling, and works in both development and production.

## Use cases
- profile SQL queries in a Rails app
- generate flamegraphs to find slow code paths
- measure per-request memory usage and GC stats
- monitor page load performance in production
- find slow database queries in a Ruby rack app

## When to choose
- you run a Ruby or Rails rack-based web app and need in-app performance profiling
- you want database, call-stack, and memory profiling with minimal setup
- you need profiling that works in production as well as development

## When to avoid
- your app is not Ruby or not rack-based
- you need distributed tracing across services rather than per-request profiling
- you only need external uptime or APM monitoring without code-level detail

## Facets
- artifact type: library
- maturity: active
- function: monitoring, tracing, benchmarking, middleware
- domain: developer-tools, web-development, performance, backend
- platform: ruby
- tags: profiling, rack-middleware, flamegraphs, memory-profiling, database-profiling, rails, web-server

## Member repositories
- MiniProfiler/rack-mini-profiler (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:28.678465+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-29T18:25:07.080480+00:00, confidence not recorded.
  - readme: https://github.com/MiniProfiler/rack-mini-profiler (fetched 2026-08-28T04:08:28.678465+00:00, sha 3c967ac4780b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
