# Api::V1::GymRoutesController#create

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:221 | 26.71 | 1.0 | 55.00% | `Api::V1::GymRoutesController#create` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:224 | 1.36 | 4.0 | 11.18% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/gym_route.rb:386 | 0.95 | 3.0 | 5.88% | `BEGIN SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.29 | 1.0 | 4.71% | `Rails::Engine#call` |
| sql | app/controllers/concerns/gym_roles_verification.rb:17 | 1.29 | 1.0 | 2.65% | `SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrato…` |
| sql | app/controllers/concerns/gym_roles_verification.rb:13 | 1.14 | 1.0 | 2.35% | `SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` =…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.14 | 1.0 | 2.35% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:413 | 1.0 | 1.0 | 2.06% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/gym_route.rb:102 | 1.0 | 1.0 | 2.06% | `SELECT `gym_levels`.* FROM `gym_levels` WHERE `gym_levels`.`gym_id` = ?` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:222 | 1.0 | 1.0 | 2.06% | `SELECT `gym_openers`.* FROM `gym_openers` WHERE `gym_openers`.`id` = ?` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.0 | 1.0 | 2.06% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/gym_route.rb:132 | 1.0 | 1.0 | 2.06% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.0 | 1.0 | 2.06% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/gym_route.rb:268 | 0.86 | 1.0 | 1.76% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:417 | 0.86 | 1.0 | 1.76% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |

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