# Api::V1::SearchesController#search_all

- **Period:** 12 May 11:14 UTC – 13 May 11:14 UTC
- **Throughput**: 0.08 / min
- **Average:** 172.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/searches_controller.rb:23 | 70.49 | 1.0 | 40.95% | `Api::V1::SearchesController#search_all` |
| sql | app/models/search.rb:54 | 68.81 | 0.99 | 39.62% | `SELECT DISTINCT `searches`.`index_id`, `searches`.`index_name`, `searches`.`col…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.46 | 5.29 | 4.47% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.27 | 5.29 | 3.90% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/controllers/api/v1/searches_controller.rb:43 | 2.23 | 2.62 | 3.38% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/searches_controller.rb:41 | 1.9 | 2.82 | 3.12% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.68 | 1.0 | 1.56% | `Rails::Engine#call` |

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