# Api::V1::LogBooks::IndoorsController#simple_stats_by_gyms

- **Period:** 26 Jun 20:16 UTC – 27 Jun 09:48 UTC
- **Throughput**: 0.06 / min
- **Average:** 50.9 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/log_books/indoors_controller.rb:34 | 34.63 | 1.0 | 68.02% | `Api::V1::LogBooks::IndoorsController#simple_stats_by_gyms` |
| sql | app/controllers/api/v1/log_books/indoors_controller.rb:36 | 3.48 | 2.15 | 14.73% | `SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`use…` |
| sql | app/controllers/api/v1/log_books/indoors_controller.rb:56 | 3.12 | 1.28 | 7.86% | `SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`use…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 1.76 | 1.0 | 3.46% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.17 | 1.0 | 2.31% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/log_books/indoors_controller.rb:43 | 1.24 | 0.46 | 1.11% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |

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