# Heatpump::StatsController#index

- **Period:** 12 May 19:08 UTC – 13 May 19:08 UTC
- **Throughput**: 0.03 / min
- **Average:** 76.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/heatpump/stats_controller.rb:7 | 16.38 | 1.0 | 21.33% | `Heatpump::StatsController#index` |
| view | app/views/heatpump/stats/index.turbo_stream.slim | 14.26 | 1.0 | 18.56% |  |
| http | app/lib/sensor/query/helpers/influx/base.rb:95 | 21.95 | 0.49 | 13.92% | `POST influxdb` |
| gc | ruby/gc.c | 5.45 | 0.97 | 6.91% | `GC.start` |
| sql | app/lib/sensor/query/helpers/sql/total.rb:173 | 9.2 | 0.51 | 6.14% | `WITH price_ranges AS ( SELECT name, starts_at, LEAD(starts_at, ?, ?::date) OVER…` |
| sql | app/models/summary.rb:59 | 7.6 | 0.51 | 5.07% | `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.41 | 1.0 | 4.44% | `pipeline` |
| redis | app/lib/sensor/definitions/base.rb:39 | 3.15 | 1.0 | 4.11% | `get` |
| redis | app/lib/influx/poll_interval.rb:45 | 5.95 | 0.49 | 3.77% | `set` |
| rack | /usr/local/bundle/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:7 | 2.28 | 1.0 | 2.97% | `HttpAcceptLanguage::Middleware` |
| rack | /usr/local/bundle/gems/actionpack-8.1.3/lib/action_dispatch/middleware/static.rb:26 | 1.67 | 1.0 | 2.17% | `ActionDispatch::Static` |
| redis | app/lib/influx/poll_interval.rb:76 | 1.58 | 0.49 | 1.00% | `get` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/136101/requests/Heatpump::StatsController%23index?range=1d)