# Api::V1::CragSectorsController#photos

- **Period:** 26 Jun 20:16 UTC – 27 Jun 09:48 UTC
- **Throughput**: 0.02 / min
- **Average:** 21.9 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/controllers/api/v1/crag_sectors_controller.rb:67 | 10.64 | 0.93 | 45.29% | `SELECT `photos`.* FROM `photos` WHERE ((illustrable_type = "CragSector" AND ill…` |
| code | app/controllers/api/v1/crag_sectors_controller.rb:58 | 6.53 | 1.0 | 29.79% | `Api::V1::CragSectorsController#photos` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.27 | 1.0 | 10.33% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/crag_sectors_controller.rb:109 | 1.04 | 1.87 | 8.81% | `SELECT `crag_sectors`.* FROM `crag_sectors` WHERE (`crag_sectors`.`deleted_at` …` |
| sql | app/models/photo.rb:30 | 0.75 | 0.53 | 1.82% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/photo.rb:62 | 1.0 | 0.27 | 1.22% | `SELECT `crag_routes`.* FROM `crag_routes` WHERE (`crag_routes`.`deleted_at` IS …` |
| sql | app/models/photo.rb:93 | 1.0 | 0.27 | 1.22% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::CragSectorsController%23photos?range=2026-06-26+20%3A16%3A09+UTC..2026-06-27+09%3A48%3A53+UTC)