palkan

Profiler for Ruby #require/etc calls

10
0
100% credibility
Found Apr 23, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Ruby
AI Summary

Require Profiler is a tool for Ruby developers to measure and visualize how long it takes for files to load when starting an application.

How It Works

1
💡 Notice slow startup

Your app takes too long to get going when you run it, and you want to figure out why.

2
🔍 Discover the profiler

You learn about Require Profiler, a handy tool that tracks exactly how long each part takes to load.

3
📦 Add it to your project

Simply include the tool in your project's list of helpers so it's ready to use.

4
▶️ Turn on tracking

Tell the tool to start watching as your app loads up, capturing every step along the way.

5
Run your app

Launch your app normally, and the tool quietly measures the time for each piece to load.

6
⏹️ Stop and save results

Turn off the tracking and save a clear report showing the loading times in a file.

7
📊 Review the report

Open the report to see a tree of what loaded when and how long it took, spotting the slow spots.

🚀 Speed things up

Use the insights to fix slow-loading parts, making your app start lightning-fast every time.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is require-profiler?

Require-profiler is a Ruby gem that profiles #require, require_relative, and load calls, building a call tree of your code loading with timings for each file. Drop it into any Ruby 3.1+ app (MRI, JRuby, TruffleRuby) to capture boot-time bottlenecks, then export as text trees, collapsed stacks for flamegraphs, or Speedscope JSON for interactive viewing. It solves the mystery of slow startups in large Ruby apps where gem loads and dependency chains eat seconds.

Why is it gaining traction?

Unlike general tools like memory profiler ruby gems, datadog profiler ruby agents, or rubymine profiler, this zeros in on require/etc calls—revealing exact chains without runtime overhead. Developers love the Speedscope export (like firefox profiler github) for drag-and-drop flamegraphs, plus collapsed stacks pipeable to inferno or flamegraph.pl. It's a lightweight ruby profiler gem that hooks early in boot.rb for full visibility, standing out from mini profiler ruby or heap profiler ruby options.

Who should use this?

Rails maintainers debugging monorepo boot slowness, gem authors auditing load orders, or ops teams chasing startup perf in production deploys. Ideal for Ruby devs hitting walls with bundler-heavy apps, not everyday runtime profiling like symfony profiler github or python profiler github setups.

Verdict

Grab it for quick require audits—solid docs and formats make it instantly useful despite 10 stars and 1.0% credibility score signaling early maturity (v0.0.1, no broad tests yet). Test in non-prod first; it'll shine as adoption grows.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.