# Inverter::StatsController#index

- **Period:** 27 Jun 16:22 UTC – 27 Jun 18:11 UTC
- **Throughput**: 0.01 / min
- **Average:** 54.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/inverter/stats/index.turbo_stream.slim | 30.0 | 1.0 | 55.42% |  |
| code | app/controllers/inverter/stats_controller.rb:7 | 6.0 | 1.0 | 11.08% | `Inverter::StatsController#index` |
| sql | app/lib/sensor/query/helpers/sql/total.rb:173 | 5.0 | 1.0 | 9.24% | `WITH daily AS ( SELECT sv.date, SUM(sv.value) FILTER (WHERE sv.aggregation = ? …` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 3.0 | 1.0 | 5.54% | `HttpAcceptLanguage::Middleware` |
| sql | app/models/summary.rb:67 | 2.0 | 1.0 | 3.69% | `SELECT gs.date FROM generate_series(?, ?, ?::interval) AS gs(date) LEFT JOIN su…` |
| rack | /usr/local/bundle/gems/request_store-1.7.0/lib/request_store/middleware.rb:16 | 1.0 | 1.0 | 1.85% | `RequestStore::Middleware` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 1.0 | 1.0 | 1.85% | `pipeline` |
| rack | Rack::Brotli | 1.0 | 1.0 | 1.85% |  |
| rack | ActionDispatch::Flash | 1.0 | 1.0 | 1.85% |  |
| rack | /usr/local/bundle/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 1.0 | 1.0 | 1.85% | `Rack::Attack` |
| cache | app/lib/sensor/definitions/describable.rb:15 | 1.0 | 1.0 | 1.85% | `read` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/136101/requests/Inverter::StatsController%23index?range=2026-06-27+16%3A22%3A59+UTC..2026-06-27+18%3A11%3A09+UTC)