# Api::V1::LogBooks::OutdoorsController#daily_ascents

- **Period:** 12 May 11:15 UTC – 13 May 11:15 UTC
- **Throughput**: 0.43 / min
- **Average:** 21.9 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/log_books/outdoors_controller.rb:30 | 12.12 | 1.0 | 55.36% | `Api::V1::LogBooks::OutdoorsController#daily_ascents` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.39 | 1.0 | 10.92% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/log_books/outdoors_controller.rb:34 | 1.7 | 1.0 | 7.73% | `SELECT MIN(`ascents`.`released_at`) FROM `ascents` WHERE `ascents`.`type` = ? A…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.62 | 1.0 | 7.41% | `SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SES…` |
| sql | app/controllers/api/v1/log_books/outdoors_controller.rb:35 | 1.46 | 1.0 | 6.64% | `SELECT MAX(`ascents`.`released_at`) FROM `ascents` WHERE `ascents`.`type` = ? A…` |
| sql | app/controllers/api/v1/log_books/outdoors_controller.rb:50 | 2.05 | 0.51 | 4.82% | `SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`use…` |
| sql | app/controllers/api/v1/log_books/outdoors_controller.rb:52 | 1.72 | 0.27 | 2.13% | `SELECT `crags`.* FROM `crags` INNER JOIN `crag_routes` ON `crags`.`id` = `crag_…` |
| sql | app/models/ascent_crag_route.rb:50 | 1.44 | 0.27 | 1.79% | `SELECT `crag_routes`.* FROM `crag_routes` WHERE (`crag_routes`.`deleted_at` IS …` |
| sql | app/models/ascent_crag_route.rb:52 | 1.21 | 0.28 | 1.54% | `SELECT `ascent_users`.* FROM `ascent_users` WHERE `ascent_users`.`ascent_id` = ?` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::LogBooks::OutdoorsController%23daily_ascents?range=1d)