# Inverter::StatsController#index

- **Period:** 27 Jun 09:45 UTC – 27 Jun 14:23 UTC
- **Throughput**: 0.03 / min
- **Average:** 65.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 20.0 | 0.71 | 21.76% | `POST influxdb` |
| gc | ruby/gc.c | 15.67 | 0.86 | 20.45% | `GC.start` |
| view | app/views/inverter/stats/index.turbo_stream.slim | 12.71 | 1.0 | 19.36% |  |
| redis | app/lib/sensor/definitions/describable.rb:15 | 5.29 | 1.0 | 8.05% | `get` |
| sql | app/lib/sensor/query/helpers/sql/total.rb:173 | 11.0 | 0.29 | 4.79% | `WITH daily AS ( SELECT sv.date, SUM(sv.value) FILTER (WHERE sv.aggregation = ? …` |
| code | app/controllers/inverter/stats_controller.rb:7 | 2.71 | 1.0 | 4.13% | `Inverter::StatsController#index` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 2.14 | 1.0 | 3.26% | `pipeline` |
| redis | app/lib/influx/poll_interval.rb:76 | 3.0 | 0.71 | 3.26% | `get` |
| sql | app/models/summary.rb:67 | 5.5 | 0.29 | 2.39% | `SELECT gs.date FROM generate_series(?, ?, ?::interval) AS gs(date) LEFT JOIN su…` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/middleware/static.rb:26 | 1.43 | 1.0 | 2.18% | `ActionDispatch::Static` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 1.29 | 1.0 | 1.96% | `HttpAcceptLanguage::Middleware` |

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