# Balance::StatsController#index

- **Period:** 13 May 09:28 UTC – 13 May 19:23 UTC
- **Throughput**: 0.3 / min
- **Average:** 125.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/balance/stats/index.turbo_stream.slim | 33.61 | 0.99 | 26.42% |  |
| code | app/controllers/balance/stats_controller.rb:7 | 27.04 | 1.0 | 21.50% | `Balance::StatsController#index` |
| sql | app/lib/sensor/query/helpers/sql/total.rb:173 | 17.1 | 0.69 | 9.36% | `WITH price_ranges AS ( SELECT name, starts_at, LEAD(starts_at, ?, ?::date) OVER…` |
| gc | ruby/gc.c | 11.92 | 0.98 | 9.31% | `GC.start` |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 36.13 | 0.3 | 8.62% | `POST influxdb` |
| sql | app/models/summary.rb:59 | 9.97 | 0.69 | 5.50% | `SELECT gs.date FROM generate_series(?, ?, ?::interval) AS gs(date) LEFT JOIN su…` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 3.82 | 1.0 | 3.04% | `pipeline` |
| redis | app/controllers/balance/stats_controller.rb:95 | 3.64 | 0.69 | 2.01% | `get` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 1.82 | 1.0 | 1.44% | `HttpAcceptLanguage::Middleware` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/136101/requests/Balance::StatsController%23index?range=2026-05-13+09%3A28%3A00+UTC..2026-05-14+09%3A28%3A00+UTC)