Profile methods without touching their code. List them in config/profile_tools.yml, restart, and every request logs how many times each was called, how long it took, exactly how many objects it allocated and how many garbage collections ran inside it. Remove the file and restart to turn it off, so it can be switched on for a production box and off again. Rails apps need no setup beyond the Gemfile; other apps can load the file or profile methods by name. Built for finding the code that creates the most objects and causes the most garbage collection.

Required Ruby Version

>= 3.4

Authors

Doug Youch

Versions

  1. 0.2.0
    1. source

      1. 0.2.0 source October 05, 2026 (16.5 KB)
  2. 0.1.0
    1. source

      1. 0.1.0 source August 30, 2019 (9 KB)

Pushed by

GitHub

SHA 256 checksum