# Heatpump::StatsController#index

- **Period:** 27 Jun 04:40 UTC – 27 Jun 09:45 UTC
- **Throughput**: 0.16 / min
- **Average:** 70.5 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/heatpump/stats/index.turbo_stream.slim | 17.12 | 1.0 | 24.28% |  |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 14.95 | 0.78 | 16.53% | `POST influxdb` |
| cache | app/lib/sensor/definitions/describable.rb:15 | 8.3 | 1.0 | 11.77% | `read` |
| gc | ruby/gc.c | 9.81 | 0.62 | 8.62% | `GC.start` |
| code | app/controllers/heatpump/stats_controller.rb:7 | 5.34 | 1.0 | 7.57% | `Heatpump::StatsController#index` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 3.18 | 1.0 | 4.51% | `HttpAcceptLanguage::Middleware` |
| sql | app/lib/sensor/query/helpers/sql/total.rb:173 | 13.91 | 0.22 | 4.34% | `WITH price_ranges AS ( SELECT name, starts_at, LEAD(starts_at, ?, ?::date) OVER…` |
| redis | app/lib/sensor/definitions/describable.rb:15 | 2.94 | 1.0 | 4.17% | `get` |
| redis | /usr/local/bundle/gems/activesupport-8.1.3/lib/active_support/cache/redis_cache_store.rb:464 | 1.72 | 1.0 | 2.44% | `pipeline` |
| cache | app/lib/influx/poll_interval.rb:76 | 0.23 | 4.68 | 1.53% | `read` |
| sql | app/models/summary.rb:67 | 4.27 | 0.22 | 1.33% | `SELECT gs.date FROM generate_series(?, ?, ?::interval) AS gs(date) LEFT JOIN su…` |
| rack | /usr/local/bundle/gems/railties-8.1.3/lib/rails/rack/logger.rb:20 | 0.82 | 1.0 | 1.16% | `Rails::Rack::Logger` |
| rack | /usr/local/bundle/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 0.8 | 1.0 | 1.13% | `Rack::Attack` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/http/content_security_policy.rb:37 | 0.8 | 1.0 | 1.13% | `ActionDispatch::ContentSecurityPolicy::Middleware` |
| redis | app/lib/influx/poll_interval.rb:76 | 0.97 | 0.78 | 1.08% | `get` |
| redis | app/lib/influx/poll_interval.rb:45 | 0.92 | 0.78 | 1.02% | `set` |

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