# Api::V1::PublicationsController#index

- **Period:** 13 May 09:28 UTC – 13 May 10:28 UTC
- **Throughput**: 0.27 / min
- **Average:** 183.6 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/publications_controller.rb:15 | 90.38 | 1.0 | 49.23% | `Api::V1::PublicationsController#index` |
| sql | app/controllers/api/v1/api_controller.rb:17 | 2.1 | 15.44 | 17.64% | `SELECT `publications`.* FROM `publications` WHERE `publications`.`publishable_t…` |
| sql | app/models/video.rb:110 | 1.44 | 16.0 | 12.56% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/publication_views_mapper.rb:25 | 2.9 | 4.31 | 6.81% | `SELECT `publications`.* FROM `publications` WHERE `publications`.`author_id` = …` |
| sql | app/models/video.rb:107 | 1.17 | 8.0 | 5.11% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/publication_views_mapper.rb:57 | 1.81 | 2.0 | 1.97% | `BEGIN SELECT `publications`.* FROM `publications` WHERE `publications`.`id` = ?…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.47 | 1.88 | 1.50% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.33 | 1.88 | 1.36% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.25 | 1.0 | 1.23% | `Rails::Engine#call` |

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