# Api::V1::CommentsController#destroy

- **Period:** 12 May 11:52 UTC – 13 May 11:52 UTC
- **Throughput**: 0.0 / min
- **Average:** 52.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/comments_controller.rb:69 | 25.0 | 1.0 | 48.08% | `Api::V1::CommentsController#destroy` |
| sql | app/controllers/api/v1/comments_controller.rb:70 | 1.5 | 8.0 | 23.08% | `BEGIN SELECT `reports`.* FROM `reports` WHERE `reports`.`reportable_id` = ? AND…` |
| sql | app/models/gym_route.rb:314 | 1.67 | 3.0 | 9.62% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 2.0 | 1.0 | 3.85% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/gym_route.rb:313 | 2.0 | 1.0 | 3.85% | `SELECT SUM(`ascents`.`comments_count`) FROM `ascents` WHERE `ascents`.`type` = …` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.0 | 1.0 | 3.85% | `Rails::Engine#call` |
| sql | app/models/gym_route.rb:437 | 1.0 | 1.0 | 1.92% | `SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`gym_rou…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.0 | 1.0 | 1.92% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/controllers/api/v1/comments_controller.rb:115 | 1.0 | 1.0 | 1.92% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`id` = ? LIMIT ?` |
| sql | app/models/comment.rb:89 | 1.0 | 1.0 | 1.92% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |

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