# Heatpump::StatsController#index

- **Period:** 27 Jun 01:39 UTC – 27 Jun 04:40 UTC
- **Throughput**: 0.08 / min
- **Average:** 102.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/heatpump/stats/index.turbo_stream.slim | 31.14 | 1.0 | 30.50% |  |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 25.38 | 0.57 | 14.20% | `POST influxdb` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 9.93 | 1.0 | 9.72% | `HttpAcceptLanguage::Middleware` |
| redis | app/lib/sensor/definitions/describable.rb:15 | 7.79 | 1.0 | 7.63% | `get` |
| code | app/controllers/heatpump/stats_controller.rb:7 | 6.71 | 1.0 | 6.58% | `Heatpump::StatsController#index` |
| sql | app/lib/sensor/query/helpers/sql/total.rb:173 | 13.17 | 0.43 | 5.53% | `WITH price_ranges AS ( SELECT name, starts_at, LEAD(starts_at, ?, ?::date) OVER…` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 2.71 | 1.0 | 2.66% | `pipeline` |
| redis | app/lib/influx/poll_interval.rb:76 | 5.14 | 0.5 | 2.52% | `get` |
| sql | app/models/summary.rb:67 | 5.33 | 0.43 | 2.24% | `SELECT gs.date FROM generate_series(?, ?, ?::interval) AS gs(date) LEFT JOIN su…` |
| gc | ruby/gc.c | 2.73 | 0.79 | 2.10% | `GC.start` |
| cache | app/lib/sensor/definitions/describable.rb:15 | 1.71 | 1.0 | 1.68% | `read` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/middleware/static.rb:26 | 1.43 | 1.0 | 1.40% | `ActionDispatch::Static` |
| rack | /usr/local/bundle/gems/railties-8.1.3/lib/rails/rack/logger.rb:20 | 1.43 | 1.0 | 1.40% | `Rails::Rack::Logger` |
| rack | /usr/local/bundle/gems/rack-session-2.1.2/lib/rack/session/abstract/id.rb:267 | 1.29 | 1.0 | 1.26% | `ActionDispatch::Session::CookieStore` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/middleware/executor.rb:13 | 1.07 | 1.0 | 1.05% | `ActionDispatch::Executor` |
| rack | /usr/local/bundle/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 1.07 | 1.0 | 1.05% | `Rack::Attack` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/136101/requests/Heatpump::StatsController%23index?range=2026-06-27+01%3A39%3A59+UTC..2026-06-27+04%3A40%3A34+UTC)