# Api::V1::GymRoutesController#similar_sectors

- **Period:** 13 May 05:09 UTC – 13 May 11:09 UTC
- **Throughput**: 0.06 / min
- **Average:** 52.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:211 | 37.09 | 1.0 | 70.22% | `Api::V1::GymRoutesController#similar_sectors` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:212 | 1.61 | 2.0 | 6.11% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.68 | 1.0 | 5.08% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:213 | 2.5 | 1.0 | 4.73% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.77 | 1.0 | 3.36% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/concerns/gym_roles_verification.rb:13 | 1.59 | 1.0 | 3.01% | `SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` =…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.59 | 1.0 | 3.01% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:421 | 1.45 | 1.0 | 2.75% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/models/gym_sector.rb:60 | 1.42 | 0.55 | 1.46% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::GymRoutesController%23similar_sectors?range=6h)