Rails Profiler 作者: Sébastien Duplessy
Inspect Rails request profiles in DevTools and in an in-page bar for SPAs. Requires the rails-profiler gem in your Railas app.
扩展元数据
屏幕截图
关于此扩展
Rails Profiler lets you inspect Rails request profiles directly in the Firefox Developer Tools. It connects to the rails-profiler gem installed in your Rails application to retrieve and display detailed profiling data for each request.
For front ends and single page apps that call a Rails API, where the gem has no HTML page to put its own toolbar into, the extension shows an in-page bar at the bottom of the page instead, with the same colors and fonts as the gem's toolbar. It appears only on the sites you grant in the settings, never next to the gem's own toolbar, and can be turned off in the settings.
Features
Important: this extension only works with the rails-profiler gem installed and configured in your Rails application. It does nothing without it. It is not affiliated with Ruby on Rails or the Rails team.
For front ends and single page apps that call a Rails API, where the gem has no HTML page to put its own toolbar into, the extension shows an in-page bar at the bottom of the page instead, with the same colors and fonts as the gem's toolbar. It appears only on the sites you grant in the settings, never next to the gem's own toolbar, and can be turned off in the settings.
Features
- DevTools panel: the profiled requests of the inspected tab, with filters, and each profile in the gem's dashboard.
- In-page bar for front ends and SPAs: the page's API calls live, as one line: counters, an alert dot (red for 4xx and 5xx, orange for slow requests or slow queries), the last request, and the SQL and outgoing HTTP totals.
- API calls list: click the bar to see the latest requests, filter them (All, Errors, Slow), search by path, and open a request in place: status, duration, SQL, slow queries, outgoing calls, and a link to the full profile.
- Outbound HTTP tab: the calls your Rails app made to third parties while serving those requests, with their status, errors and timeouts, duration and the request that made them.
- Jobs tab: the jobs your Rails app ran or queued for those requests, with their queue, status, duration and the request that started them.
- Live updates: the bar follows recent requests and their jobs as they change.
- Keyboard friendly: Alt+P shows and hides the bar, Escape collapses it.
- Least privilege: nothing is granted at install. You grant access to the site of your own profiler in the settings, and the extension talks only to your own profiler.
Important: this extension only works with the rails-profiler gem installed and configured in your Rails application. It does nothing without it. It is not affiliated with Ruby on Rails or the Rails team.
评分 0(1 位用户)
权限与数据
更多信息