# Api::V1::DepartmentsController#geo_json

- **Period:** 13 May 10:38 UTC – 13 May 11:08 UTC
- **Throughput**: 0.33 / min
- **Average:** 49.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/departments_controller.rb:33 | 34.5 | 1.0 | 69.28% | `Api::V1::DepartmentsController#geo_json` |
| sql | app/controllers/api/v1/departments_controller.rb:77 | 5.8 | 1.0 | 11.65% | `SELECT `departments`.* FROM `departments` WHERE `departments`.`country_id` = ? …` |
| sql | app/controllers/api/v1/departments_controller.rb:51 | 1.5 | 2.0 | 6.02% | `SELECT `gyms`.`id`, `gyms`.`name`, `gyms`.`longitude`, `gyms`.`latitude`, `gyms…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.8 | 1.0 | 5.62% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/departments_controller.rb:43 | 2.1 | 1.0 | 4.22% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |
| sql | app/controllers/api/v1/departments_controller.rb:73 | 1.3 | 1.0 | 2.61% | `SELECT `countries`.* FROM `countries` WHERE `countries`.`code_country` = ? LIMI…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::DepartmentsController%23geo_json?range=30m)