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

- **Period:** 27 Jun 09:48 UTC – 27 Jun 17:12 UTC
- **Throughput**: 0.7 / min
- **Average:** 20.2 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/log_books/outdoors_controller.rb:30 | 11.12 | 1.0 | 54.97% | `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 | 1.75 | 0.99 | 8.60% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/log_books/outdoors_controller.rb:34 | 1.28 | 1.0 | 6.31% | `SELECT MIN(`ascents`.`released_at`) FROM `ascents` WHERE `ascents`.`type` = ? A…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.19 | 1.0 | 5.88% | `SET NAMES utf8mb4, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ?), ?), @@SES…` |
| sql | app/controllers/api/v1/log_books/outdoors_controller.rb:35 | 1.02 | 1.0 | 5.02% | `SELECT MAX(`ascents`.`released_at`) FROM `ascents` WHERE `ascents`.`type` = ? A…` |
| sql | app/controllers/api/v1/log_books/outdoors_controller.rb:50 | 1.48 | 0.54 | 3.98% | `SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`use…` |
| sql | app/controllers/api/v1/log_books/outdoors_controller.rb:52 | 1.16 | 0.66 | 3.77% | `SELECT `crags`.* FROM `crags` INNER JOIN `crag_routes` ON `crags`.`id` = `crag_…` |
| sql | app/models/ascent_crag_route.rb:50 | 0.98 | 0.66 | 3.20% | `SELECT `crag_routes`.* FROM `crag_routes` WHERE (`crag_routes`.`deleted_at` IS …` |
| sql | app/models/ascent_crag_route.rb:52 | 0.8 | 0.66 | 2.62% | `SELECT `ascent_users`.* FROM `ascent_users` WHERE `ascent_users`.`ascent_id` = ?` |
| cache | app/controllers/api/v1/api_controller.rb:49 | 25.75 | 0.01 | 1.64% | `read write` |
| sql | app/models/crag_route.rb:199 | 0.95 | 0.26 | 1.22% | `SELECT `crag_sectors`.* FROM `crag_sectors` WHERE (`crag_sectors`.`deleted_at` …` |
| sql | app/models/crag_route.rb:200 | 0.93 | 0.26 | 1.19% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::LogBooks::OutdoorsController%23daily_ascents?range=2026-06-27+09%3A48%3A53+UTC..2026-06-28+09%3A48%3A53+UTC)