# rails/bootsnap

Boot large Ruby/Rails apps faster

Repository: https://github.com/rails/bootsnap
Canonical: https://ross.abutalabs.com/products/bootsnap
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, performance, gem, computers
Last push: 2026-08-14T10:28:25+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 96, longevity 100
- inputs: {"age_days": 3495, "days_push": 19, "days_rel": 25, "gap_med": 3.0, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2740, forks 208 (observed 2026-08-28T04:07:16.496405+00:00)

## What it is
Bootsnap is a Ruby gem that optimizes and caches expensive boot-time computations such as LOAD_PATH resolution and Ruby/YAML/JSON compilation. It plugs into Ruby applications, especially Rails apps, to significantly reduce startup time.

## Use cases
- speed up rails app boot time
- reduce ruby application startup time
- cache ruby iseq compilation
- optimize bundler load path lookups
- cache yaml parsing in ruby apps
- make large monolith boot faster

## When to choose
- you run a large Ruby or Rails application with slow boot times
- you deploy to macOS or Linux and can write to a cache directory
- you want a drop-in performance win with minimal code changes

## When to avoid
- you run on Windows or other unsupported platforms
- your deployment environment is read-only and cannot mount a writable cache dir
- you rely on code coverage reporting that breaks with iseq caching
- you cannot manage periodic cache purging and deploys would degrade

## Facets
- artifact type: library
- maturity: stable
- function: caching, developer-tools
- domain: performance, web-development, developer-tools
- platform: ruby
- tags: ruby-gem, boot-time, rails, load-path-cache, compile-cache, macos, linux

## Member repositories
- rails/bootsnap (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.496405+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-30T08:19:09.762072+00:00, confidence not recorded.
  - readme: https://github.com/rails/bootsnap (fetched 2026-08-28T04:07:16.496405+00:00, sha ee9946c2db5a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
