# Inverter::StatsController#index

- **Period:** 27 Jun 14:23 UTC – 27 Jun 16:22 UTC
- **Throughput**: 0.01 / min
- **Average:** 85.9 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/inverter/stats/index.turbo_stream.slim | 26.0 | 1.0 | 30.28% |  |
| sql | app/lib/sensor/query/helpers/sql/total.rb:173 | 18.0 | 1.0 | 20.96% | `WITH daily AS ( SELECT sv.date, SUM(sv.value) FILTER (WHERE sv.aggregation = ? …` |
| redis | app/lib/sensor/definitions/describable.rb:15 | 17.0 | 1.0 | 19.80% | `get` |
| code | app/controllers/inverter/stats_controller.rb:7 | 9.0 | 1.0 | 10.48% | `Inverter::StatsController#index` |
| sql | app/models/summary.rb:67 | 4.0 | 1.0 | 4.66% | `SELECT gs.date FROM generate_series(?, ?, ?::interval) AS gs(date) LEFT JOIN su…` |
| gc | ruby/gc.c | 3.0 | 1.0 | 3.49% | `GC.start` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 2.0 | 1.0 | 2.33% | `pipeline` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/middleware/static.rb:26 | 2.0 | 1.0 | 2.33% | `ActionDispatch::Static` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 1.0 | 1.0 | 1.16% | `HttpAcceptLanguage::Middleware` |
| rack | /usr/local/bundle/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 1.0 | 1.0 | 1.16% | `Rack::Attack` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/middleware/cookies.rb:706 | 1.0 | 1.0 | 1.16% | `ActionDispatch::Cookies` |

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