{"id":29586651,"url":"https://github.com/basecamp/action_profiler","last_synced_at":"2025-07-20T03:31:16.639Z","repository":{"id":491277,"uuid":"117623","full_name":"basecamp/action_profiler","owner":"basecamp","description":"Profile Rails requests on a live app","archived":false,"fork":false,"pushed_at":"2022-04-15T07:36:44.000Z","size":243,"stargazers_count":76,"open_issues_count":0,"forks_count":4,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-07-18T05:34:42.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://37signals.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basecamp.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-01-29T22:02:17.000Z","updated_at":"2025-05-31T03:19:31.000Z","dependencies_parsed_at":"2022-07-18T04:16:57.068Z","dependency_job_id":null,"html_url":"https://github.com/basecamp/action_profiler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basecamp/action_profiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Faction_profiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Faction_profiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Faction_profiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Faction_profiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basecamp","download_url":"https://codeload.github.com/basecamp/action_profiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Faction_profiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266063099,"owners_count":23870716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-20T03:30:58.114Z","updated_at":"2025-07-20T03:31:16.632Z","avatar_url":"https://github.com/basecamp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Action Profiler\n\n`gem install ruby-prof` then add ?profile=process_time to any URL to profile\nthe page load and download a calltree file. Open it with kcachegrind.\n\nAdd an around_filter :action_profiler to ApplicationController:\n\n  around_filter :action_profiler unless Rails.env.production?\n\nEnable live profiling in production accessible to specific IP addresses:\n\n  ALLOWED_IPS = ['127.0.0.1', '1.2.3.4']\n  around_filter :action_profiler, :if =\u003e\n    lambda { |c| ALLOWED_IPS.include?(c.request.remote_ip) }\n\nIf you're using Ruby Enterprise Edition or a patched Ruby 1.8, you can profile\nmemory and object allocation also: ?profile=memory or allocations.\n\nThis plugin uses an around_filter to profile the controller action only.\nRack::Profiler, part of rack-contrib, can profile the entire Rails request.\n\n== License\n\nReleased under the MIT license, copyright (c) 2007-2009 37signals, LLC.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasecamp%2Faction_profiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasecamp%2Faction_profiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasecamp%2Faction_profiler/lists"}