# Api::V1::AscentGymRoutesController#add_bulk

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/ascent_gym_routes_controller.rb:167 | 145.5 | 1.0 | 50.43% | `Api::V1::AscentGymRoutesController#add_bulk` |
| sql | app/controllers/api/v1/ascent_gym_routes_controller.rb:199 | 1.19 | 31.5 | 13.00% | `BEGIN INSERT INTO `ascents` (`type`, `ascent_status`, `user_id`, `gym_route_id`…` |
| sql | app/models/gym_route.rb:176 | 0.84 | 31.5 | 9.19% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/ascent.rb:56 | 1.24 | 10.5 | 4.51% | `SELECT `climbing_sessions`.* FROM `climbing_sessions` WHERE `climbing_sessions`…` |
| sql | app/models/ascent.rb:60 | 1.05 | 10.5 | 3.81% | `UPDATE `ascents` SET `ascents`.`climbing_session_id` = ? WHERE `ascents`.`id` =…` |
| sql | app/models/ascent.rb:58 | 0.95 | 11.0 | 3.64% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/ascent_gym_route.rb:131 | 1.0 | 10.5 | 3.64% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:426 | 0.95 | 10.5 | 3.47% | `SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`gym_rou…` |
| sql | app/models/ascent_gym_route.rb:129 | 0.9 | 10.5 | 3.29% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/models/gym_route.rb:150 | 0.71 | 10.5 | 2.60% | `SELECT `ascents`.`hardness_status`, `ascents`.`ascent_status`, `ascents`.`user_…` |

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