# Api::V1::GymRoutesController#similar_sectors

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:211 | 18.82 | 1.0 | 58.47% | `Api::V1::GymRoutesController#similar_sectors` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:212 | 1.59 | 2.0 | 9.89% | `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.64 | 1.0 | 8.19% | `Rails::Engine#call` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.91 | 1.0 | 5.93% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.55 | 1.0 | 4.80% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:213 | 1.55 | 1.0 | 4.80% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:421 | 1.27 | 1.0 | 3.95% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/controllers/concerns/gym_roles_verification.rb:13 | 1.27 | 1.0 | 3.95% | `SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` =…` |

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