SamSaffron/memory_profiler
memory_profiler for ruby observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 73
- 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: 4746
- days_rel: n/a
- days_push: 164
- n_releases_24m: 0
Adoption not part of the score
1766 stars · 90 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
memory_profiler is a Ruby gem that reports memory usage and object allocations (allocated vs retained) by gem, file, location, and class. It can be used via a command-line wrapper or an in-code API.
Use cases
- profile memory allocations in a ruby script
- find which gems allocate the most memory
- detect retained objects causing memory bloat
- profile a command-line tool without modifying its code
- track object allocations by file or class
When to choose
- you need detailed allocation and retention reports for MRI Ruby 3.1+
- you want zero-code-change profiling via the CLI wrapper
- you need per-gem or per-file memory attribution
When to avoid
- you use JRuby or another non-MRI Ruby implementation
- you need sampling-based production profiling rather than full tracing
- you need CPU or wall-time profiling instead of memory
Facets
library · maturity active
monitoring benchmarking developer-tools developer-tools performance testing ruby cli memory-profiling object-allocations ruby-gem profiling
1 source
- readme: https://github.com/SamSaffron/memory_profiler · fetched 2026-08-28 · 9a06a9903f7a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SamSaffron/memory_profiler | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="SamSaffron/memory_profiler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem