# Api::V1::GymLabelTemplatesController#print

- **Period:** 12 May 11:57 UTC – 13 May 11:57 UTC
- **Throughput**: 0.03 / min
- **Average:** 147.9 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_label_templates_controller.rb:63 | 109.61 | 1.0 | 74.09% | `Api::V1::GymLabelTemplatesController#print` |
| sql | app/models/gym.rb:333 | 9.63 | 0.83 | 5.43% | `SELECT SUM(coalesce(level_index, ?)) AS ?, SUM(COALESCE(min_grade_value, ?)) AS…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 3.03 | 1.0 | 2.05% | `Rails::Engine#call` |
| sql | app/controllers/concerns/gymable.rb:16 | 2.22 | 1.0 | 1.50% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/gym.rb:204 | 2.13 | 0.83 | 1.20% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/gym.rb:201 | 1.93 | 0.83 | 1.09% | `SELECT COUNT(*) FROM `follows` WHERE `follows`.`followable_id` = ? AND `follows…` |
| sql | app/controllers/concerns/gym_roles_verification.rb:13 | 1.61 | 1.0 | 1.09% | `SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` =…` |
| sql | app/controllers/api/v1/gym_label_templates_controller.rb:244 | 1.58 | 1.0 | 1.07% | `SELECT `gym_label_templates`.* FROM `gym_label_templates` WHERE `gym_label_temp…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.58 | 1.0 | 1.07% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::GymLabelTemplatesController%23print?range=1d)