# Balance::StatsController#index

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/balance/stats/index.turbo_stream.slim | 42.13 | 1.0 | 37.11% |  |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 44.8 | 0.63 | 24.66% | `POST influxdb` |
| code | app/controllers/balance/stats_controller.rb:7 | 11.38 | 1.0 | 10.02% | `Balance::StatsController#index` |
| redis | app/lib/sensor/query/power_peak.rb:35 | 7.8 | 0.63 | 4.29% | `get` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/middleware/static.rb:26 | 3.88 | 1.0 | 3.41% | `ActionDispatch::Static` |
| gc | ruby/gc.c | 4.5 | 0.75 | 2.97% | `GC.start` |
| redis | app/lib/influx/poll_interval.rb:45 | 4.6 | 0.63 | 2.53% | `set` |
| sql | app/lib/sensor/query/helpers/sql/total.rb:173 | 7.33 | 0.38 | 2.42% | `WITH price_ranges AS ( SELECT name, starts_at, LEAD(starts_at, ?, ?::date) OVER…` |
| redis | app/controllers/balance/stats_controller.rb:52 | 3.8 | 0.63 | 2.09% | `get` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 1.38 | 1.0 | 1.21% | `HttpAcceptLanguage::Middleware` |

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