# Api::V1::DepartmentsController#geo_json

- **Period:** 13 May 08:08 UTC – 13 May 11:08 UTC
- **Throughput**: 0.29 / min
- **Average:** 67.6 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/departments_controller.rb:33 | 51.88 | 1.0 | 76.76% | `Api::V1::DepartmentsController#geo_json` |
| sql | app/controllers/api/v1/departments_controller.rb:77 | 5.52 | 1.0 | 8.17% | `SELECT `departments`.* FROM `departments` WHERE `departments`.`country_id` = ? …` |
| sql | app/controllers/api/v1/departments_controller.rb:51 | 1.51 | 2.38 | 5.32% | `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.69 | 1.0 | 3.98% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/departments_controller.rb:43 | 2.56 | 1.0 | 3.78% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |
| sql | app/controllers/api/v1/departments_controller.rb:73 | 1.29 | 1.0 | 1.91% | `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=3h)