# Api::V1::DepartmentsController#geo_json

- **Period:** 13 May 09:33 UTC – 13 May 10:33 UTC
- **Throughput**: 0.33 / min
- **Average:** 51.4 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/departments_controller.rb:33 | 37.3 | 1.0 | 72.64% | `Api::V1::DepartmentsController#geo_json` |
| sql | app/controllers/api/v1/departments_controller.rb:77 | 5.55 | 1.0 | 10.81% | `SELECT `departments`.* FROM `departments` WHERE `departments`.`country_id` = ? …` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.65 | 1.0 | 5.16% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/departments_controller.rb:51 | 1.28 | 2.0 | 4.97% | `SELECT `gyms`.`id`, `gyms`.`name`, `gyms`.`longitude`, `gyms`.`latitude`, `gyms…` |
| sql | app/controllers/api/v1/departments_controller.rb:43 | 2.0 | 1.0 | 3.89% | `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.53% | `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=1h)